24468f395f
- Make requirement on libattr-devel explicit (forwarded request 179218 from jengelh) OBS-URL: https://build.opensuse.org/request/show/179277 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=29
54 lines
2.1 KiB
Diff
54 lines
2.1 KiB
Diff
From a8d78caea3bd1983181806f5110288f23c776005 Mon Sep 17 00:00:00 2001
|
|
From: David Sterba <dsterba@suse.cz>
|
|
Date: Mon, 26 Mar 2012 18:00:58 +0200
|
|
Subject: [PATCH 03/10] btrfs-progs: document devid parameter for resize
|
|
|
|
Based on patch from Goffredo Baroncelli.
|
|
|
|
Signed-off-by: David Sterba <dsterba@suse.cz>
|
|
---
|
|
btrfs_cmds.c | 15 +++++++++------
|
|
1 files changed, 9 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/btrfs_cmds.c b/btrfs_cmds.c
|
|
index 26a0700..0a741f0 100644
|
|
--- a/btrfs_cmds.c
|
|
+++ b/btrfs_cmds.c
|
|
@@ -804,10 +804,9 @@ int do_scan(int argc, char **argv)
|
|
|
|
/**** man: btrfs filesystem resize
|
|
*
|
|
- * \Bbtrfs\b \Bfilesystem resize\b\I [+/\-]<size>[gkm]|max <path>\i
|
|
+ * \Bbtrfs\b \Bfilesystem resize\b\I [<devid>:][+/\-]<size>[gkm]|max <path>\i
|
|
*
|
|
- * Resize the file system. If 'max' is passed, the filesystem
|
|
- * will occupe all available space on the device.
|
|
+ * Resize the file system.
|
|
*
|
|
* Resize a filesystem identified by \I<path>\i.
|
|
* The \I<size>\i parameter specifies the new size of the filesystem.
|
|
@@ -818,13 +817,17 @@ int do_scan(int argc, char **argv)
|
|
* the units designators: 'K', 'M', or 'G', kilobytes, megabytes, or gigabytes,
|
|
* respectively.
|
|
*
|
|
- * If 'max' is passed, the filesystem will occupy all available space on the
|
|
+ * If 'max' is specified, the filesystem will occupy all available space on the
|
|
* volume(s).
|
|
*
|
|
- * The \Bresize\b command \Bdoes not\b manipulate the size of underlying
|
|
- * partition. If you wish to enlarge/reduce a filesystem, you must make sure
|
|
+ * The \Bresize\b command \Bdoes not\b manipulate the size of the underlying
|
|
+ * partition. If you wish to enlarge/reduce a filesystem, you have to make sure
|
|
* you can expand the partition before enlarging the filesystem and shrink the
|
|
* partition after reducing the size of the filesystem.
|
|
+ *
|
|
+ * When the filesystem consists of multiple devices, it is possible to specify
|
|
+ * which one should be resized via the <devid> parameter. To know the <devid>
|
|
+ * of a device use the command \fBbtrfs filesystem show\fR.
|
|
****/
|
|
|
|
int do_resize(int argc, char **argv)
|
|
--
|
|
1.7.6.233.gd79bc
|
|
|