Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 22 February 2010, Mike Fedyk wrote:
> On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@xxxxxxxxx> 
wrote:
> >       filesystem resize [+/-]<size>[gkm]|max <filesystem>
> 
> -filesystem resize [+/-]<size>[gkm]|max <filesystem>
> +filesystem resize [+/-]<size>[gkm]|max <dev>
> 
> This command works on devices, not paths.

Are you sure ? To me it results (test and code inspection) to work on path.

> 
> >              Resize a filesystem identified by <path>.  The <size> parame‐
> 
> -Resize a filesystem identified by <path>.  The <size> parame‐
> +Resize a filesystem identified by <dev>.  The <size> parame‐
> 
> >              ter  specifies the new size of the filesystem.  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 the units
> >              designators: 'K', 'M', or 'G', kilobytes, megabytes, or giga‐
> >              bytes, respectively.
> >
> >              If  'max' is passed, the filesystem will occupy all available
> >              space on the volume(s).
> >
> >              The resize command does not manipulate the size of underlying
> >              partitions.   If you wish to enlarge/reduce a filesystem, you
> 
> -partitions.   If you wish to enlarge/reduce a filesystem, you
> +partition.   If you wish to enlarge/reduce a filesystem, you
ok

> >              must make sure you can expand/reduce the size of  the  parti‐
> >              tion also.
> 
> -must make sure you can expand/reduce the size of  the  parti‐
> -tion also.
> +must make sure you can expand the partition before enlarging
> +the filesystem and shrink the partition after reducing the size
> +of the filesystem.
ok

> >
> >
> >       filesystem show [<uuid>|<label>]
> >              Show  the  btrfs  filesystem with some additional info. If no
> >              UUID or label is passed, btrfs show info  of  all  the  btrfs
> >              filesystem.
> >
> >
> >       device balance|-b <path>
> 
> -device balance|-b <path>
> +device balance <path>

ok

> Mike
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

I will update my repo

BR
Goffredo
-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@xxxxxxxxx>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux