Message ID | 1419232973-4623-1-git-send-email-guihc.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On Mon, Dec 22, 2014 at 03:22:53PM +0800, Gui Hecheng wrote: > Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> > Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> > --- > changelog > v1->v2: s/\'E\'(EiB)/or \'E\'(EiB)/ as suggested by Satoru, thanks. > --- > Documentation/btrfs-filesystem.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/btrfs-filesystem.txt b/Documentation/btrfs-filesystem.txt > index a8f2972..138ba6c 100644 > --- a/Documentation/btrfs-filesystem.txt > +++ b/Documentation/btrfs-filesystem.txt > @@ -102,8 +102,8 @@ If the prefix + or - is present the size is increased or decreased > by the quantity <size>. > If no units are specified, the unit of the <size> parameter defaults to > bytes. Optionally, the size parameter may be suffixed by one of the following > -units designators: \'K\', \'M', or \'G', kilobytes, megabytes, or gigabytes, > -respectively. > +units designators: \'K\'(KiB), \'M\'(MiB), \'G\'(GiB), \'T\'(TiB), \'P\'(PiB) > +or \'E\'(EiB). I find this a bit confusing as this would suggest that eg. $ btrfs fi resize -1GiB is valid. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 2014-12-29 at 17:07 +0100, David Sterba wrote: > On Mon, Dec 22, 2014 at 03:22:53PM +0800, Gui Hecheng wrote: > > Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> > > Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> > > --- > > changelog > > v1->v2: s/\'E\'(EiB)/or \'E\'(EiB)/ as suggested by Satoru, thanks. > > --- > > Documentation/btrfs-filesystem.txt | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/btrfs-filesystem.txt b/Documentation/btrfs-filesystem.txt > > index a8f2972..138ba6c 100644 > > --- a/Documentation/btrfs-filesystem.txt > > +++ b/Documentation/btrfs-filesystem.txt > > @@ -102,8 +102,8 @@ If the prefix + or - is present the size is increased or decreased > > by the quantity <size>. > > If no units are specified, the unit of the <size> parameter defaults to > > bytes. Optionally, the size parameter may be suffixed by one of the following > > -units designators: \'K\', \'M', or \'G', kilobytes, megabytes, or gigabytes, > > -respectively. > > +units designators: \'K\'(KiB), \'M\'(MiB), \'G\'(GiB), \'T\'(TiB), \'P\'(PiB) > > +or \'E\'(EiB). > > I find this a bit confusing as this would suggest that eg. > > $ btrfs fi resize -1GiB > > is valid. Oh, you're right, thanks for pointing it out, then I'll just follow the old way and send a new one. -Gui > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/btrfs-filesystem.txt b/Documentation/btrfs-filesystem.txt index a8f2972..138ba6c 100644 --- a/Documentation/btrfs-filesystem.txt +++ b/Documentation/btrfs-filesystem.txt @@ -102,8 +102,8 @@ If the prefix + or - is present the size is increased or decreased by the quantity <size>. If no units are specified, the unit of the <size> parameter defaults to bytes. Optionally, the size parameter may be suffixed by one of the following -units designators: \'K\', \'M', or \'G', kilobytes, megabytes, or gigabytes, -respectively. +units designators: \'K\'(KiB), \'M\'(MiB), \'G\'(GiB), \'T\'(TiB), \'P\'(PiB) +or \'E\'(EiB). + If \'max' is passed, the filesystem will occupy all available space on the device devid.