Bug 3901

Summary: tune2fs MOUNT_COUNT and MAX_MOUNT_COUNT parameters
Product: Busybox Reporter: Tanguy Pruvot <tanguy.pruvot>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.18.x   
Target Milestone: ---   
Hardware: All   
OS: All   
Host: Target:
Build:
Attachments: [PATCH] implement tune2fs -C option (current mount count)

Description Tanguy Pruvot 2011-06-19 06:21:56 UTC
Actually, tune2fs applet implements the "-c" option for Max count, but usage show  MOUNT_COUNT which is the "-C" parameter

So i think it could be a good thing to implement both options (which are similar).

Here is the patch for busybox 1.19 master git.
Comment 1 Tanguy Pruvot 2011-06-19 06:23:41 UTC
Created attachment 3451 [details]
[PATCH] implement tune2fs -C option (current mount count)
Comment 2 Denys Vlasenko 2011-09-11 18:09:58 UTC
The patch is buggy.

Fixed it and committed as 46aa5e0859646a1e8f96282b0ab2c362c7565a85.

Will be in 1.20.x