* R: Re: [RFC] Move all btrfs command to only one command
@ 2010-01-22 12:47 kreijack
0 siblings, 0 replies; only message in thread
From: kreijack @ 2010-01-22 12:47 UTC (permalink / raw)
To: avbidder; +Cc: linux-btrfs
>----Messaggio originale----
>Da: avbidder@fortytwo.ch
>Data: 22/01/2010 9.23
>A: <linux-btrfs@vger.kernel.org>
>Cc: "Goffredo Baroncelli"<kreijack@gmail.com>
>Ogg: Re: [RFC] Move all btrfs command to only one command
>
>Hi,
>
>I like this very much, I found myself wondering which program did what
again
>and again when I started to use btrfs, too.
>
>On Thursday 21 January 2010 20.29:26 Goffredo Baroncelli wrote:
>> btrfs resize|-r [+/-]<newsize>[gkm]|max <filesystem>
>> Resize the file system. If 'max' is passed, the filesystem
>> will occupe all available space on the device.
>
>Switch the arguments, and if the 2nd is missing do what you propose for
>"max".
I prefer that the switch still be before. But if it is missing, 'max' should
be a reasonable default.
So the syntax becomes:
btrfs resize|-r [[+/-]<newsize>[gkm]|max] <filesystem>
Resize the file system. If '-r' is missing or 'max' is passed,
the filesystem
will occupe all available space on the device.
>
>> btrfs scan|-S [<device> [<device>..]
>> Scan all device for or the passed device for a btrfs
>> filesystem.
>
>This is the only that *migt* be sensible to have as a separate tool, if
>"btrfs" ends up requiring additional runtime dependencies: the scan utility
>should be small since it will need to be included in the initrd.
My command "btrfs" is only a front end which call library functions. It
doesn't implement the scan engine.
But I agree that a "small" tool which performs the scanning only function is
reasonable.
>--
>Protect your privacy - encrypt your email: http://fortytwo.ch/gpg/intro
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-22 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 12:47 R: Re: [RFC] Move all btrfs command to only one command kreijack
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.