Bug 3901 - tune2fs MOUNT_COUNT and MAX_MOUNT_COUNT parameters
Summary: tune2fs MOUNT_COUNT and MAX_MOUNT_COUNT parameters
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.18.x
Hardware: All All
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-19 06:21 UTC by Tanguy Pruvot
Modified: 2011-09-11 18:09 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
[PATCH] implement tune2fs -C option (current mount count) (2.92 KB, patch)
2011-06-19 06:23 UTC, Tanguy Pruvot
Details

Note You need to log in before you can comment on or make changes to this bug.
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