Re: tune2fs

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Brown
Date:  
To: plug-discuss
Subject: Re: tune2fs
Michael Havens wrote:

> What in the world. I can't figure out how to get it to work. What am I doing
> wrong? The man pages seem to say that I am doing it correctly.
> :)~mike~(:
>
> cd '/home/bmike1/Documents/Finances'
> bmike1@2[bmike1]$ cd '/home/bmike1/Documents/Finances'
> bmike1@2[Finances]$ sudo tune2fs -c 50
> tune2fs 1.35-WIP (21-Aug-2003)
> Usage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group]
>         [-i interval[d|m|w]] [-j] [-J journal-options]
>         [-l] [-s sparse-flag] [-m reserved-blocks-percent]
>         [-o [^]mount-options[,...]] [-r reserved-blocks-count]
>         [-u user] [-C mount-count] [-L volume-label] [-M last-mounted-dir]
>         [-O [^]feature[,...]] [-T last-check-time] [-U UUID] device
> bmike1@2[Finances]$ sudo tune2fs -C 50
> tune2fs 1.35-WIP (21-Aug-2003)
> Usage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group]
>         [-i interval[d|m|w]] [-j] [-J journal-options]
>         [-l] [-s sparse-flag] [-m reserved-blocks-percent]
>         [-o [^]mount-options[,...]] [-r reserved-blocks-count]
>         [-u user] [-C mount-count] [-L volume-label] [-M last-mounted-dir]
>         [-O [^]feature[,...]] [-T last-check-time] [-U UUID] device
> bmike1@2[Finances]$ sudo tune2fs -i 1m
> tune2fs 1.35-WIP (21-Aug-2003)
> Usage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group]
>         [-i interval[d|m|w]] [-j] [-J journal-options]
>         [-l] [-s sparse-flag] [-m reserved-blocks-percent]
>         [-o [^]mount-options[,...]] [-r reserved-blocks-count]
>         [-u user] [-C mount-count] [-L volume-label] [-M last-mounted-dir]
>         [-O [^]feature[,...]] [-T last-check-time] [-U UUID] device
> bmike1@2[Finances]$ sudo tune2fs -i m1
> tune2fs 1.35-WIP (21-Aug-2003)
> tune2fs: bad interval - m1
> Usage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group]
>         [-i interval[d|m|w]] [-j] [-J journal-options]
>         [-l] [-s sparse-flag] [-m reserved-blocks-percent]
>         [-o [^]mount-options[,...]] [-r reserved-blocks-count]
>         [-u user] [-C mount-count] [-L volume-label] [-M last-mounted-dir]
>         [-O [^]feature[,...]] [-T last-check-time] [-U UUID] device
> bmike1@2[Finances]$


Hate to point out the obvious, but you aren't passing it the one truly needed
parameter. Namely the device. If you look at the help output you'll notice
that most of the paramters are surrounded by [ ]. Those are optional. Anything
not surrounded by [ ] are needed parameters. It doesn't work on folders, just
drives/partitions.

e.g.
tune2fs -c 50 /dev/hda1
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss