btrfs-progs/Documentation
Misono, Tomohiro 4a5b95abb6 btrfs-progs: subvol: change set-default to also accept path
This patch changes "subvol set-default" to also accept the subvolume path
for convenience.

If there are two args, they are assumed as subvol id and path to the fs
(the same as current behavior), and if there is only one arg, it is assumed
as the path to the subvolume.

subvol id is resolved by test_issubvolume() + lookup_path_rootid().
The empty subvol (ino == 2) will get error on test_issubvolume() which
checks whether inode num is 256 or not.

Issue: #35
Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
[ update documentation, use the new multi-line command scheme ]
Signed-off-by: David Sterba <dsterba@suse.com>
2017-11-14 15:59:00 +01:00
..
asciidoc.conf btrfs-progs: Documentation: fix broken conversion 2015-01-09 18:36:50 +01:00
btrfs-balance.asciidoc btrfs-progs: docs: update btrfs-balance 2017-10-06 13:41:12 +02:00
btrfs-check.asciidoc btrfs-progs: check: add option to skip mount checks 2017-09-08 16:15:05 +02:00
btrfs-convert.asciidoc btrfs-progs: docs: update btrfs-convert regarding reiserfs 2017-09-08 16:15:05 +02:00
btrfs-device.asciidoc btrfs-progs: docs: enhance documentation of 'btrfs device ready' 2017-07-20 17:43:43 +02:00
btrfs-filesystem.asciidoc btrfs-progs: Add zstd support 2017-09-25 15:17:13 +02:00
btrfs-find-root.asciidoc btrfs-progs: docs: replace <dev> with <device> 2017-06-26 17:09:46 +02:00
btrfs-image.asciidoc btrfs-progs: Documentaion: rename to .asciidoc 2015-04-14 17:41:27 +02:00
btrfs-inspect-internal.asciidoc btrfs-progs: docs: fix many typos, plus three edits for clarity 2017-03-08 13:00:48 +01:00
btrfs-ioctl.asciidoc btrfs-progs: docs: start ioctl documentation manual page 2017-09-25 15:18:09 +02:00
btrfs-man5.asciidoc btrfs-progs: Add zstd support 2017-09-25 15:17:13 +02:00
btrfs-map-logical.asciidoc btrfs-progs: Documentaion: rename to .asciidoc 2015-04-14 17:41:27 +02:00
btrfs-property.asciidoc btrfs-progs: Add zstd support 2017-09-25 15:17:13 +02:00
btrfs-qgroup.asciidoc btrfs-progs: qgroup: add sync option to 'qgroup show' 2017-01-25 09:48:33 +01:00
btrfs-quota.asciidoc btrfs-progs: docs: add figure 1 to btrfs quota doc 2017-08-24 19:45:55 +02:00
btrfs-receive.asciidoc btrfs-progs: docs: fix many typos, plus three edits for clarity 2017-03-08 13:00:48 +01:00
btrfs-replace.asciidoc btrfs-progs: docs: btrfs-replace, fix typo 2017-04-07 18:42:05 +02:00
btrfs-rescue.asciidoc btrfs-progs: Doc: Fix asciidoc grammar of btrfs-rescue 2017-08-24 19:06:36 +02:00
btrfs-restore.asciidoc btrfs-progs: docs: fix many typos, plus three edits for clarity 2017-03-08 13:00:48 +01:00
btrfs-scrub.asciidoc btrfs-progs: docs: fix many typos, plus three edits for clarity 2017-03-08 13:00:48 +01:00
btrfs-select-super.asciidoc btrfs-progs: docs: update btrfs-select-super 2016-05-11 16:37:12 +02:00
btrfs-send.asciidoc btrfs-progs: send operates on ro snapshots only 2017-06-26 17:09:29 +02:00
btrfs-subvolume.asciidoc btrfs-progs: subvol: change set-default to also accept path 2017-11-14 15:59:00 +01:00
btrfs.asciidoc btrfs-progs: docs: refer to btrfs(5) from btrfs(8) 2016-08-18 19:50:43 +02:00
btrfstune.asciidoc btrfs-progs: docs: replace <dev> with <device> 2017-06-26 17:09:46 +02:00
CodingConventions btrfs-progs: docs: document conventions 2017-07-03 13:35:10 +02:00
DocConventions btrfs-progs: docs: document conventions 2017-07-03 13:35:10 +02:00
fsck.btrfs.asciidoc btrfs-progs: Documentaion: rename to .asciidoc 2015-04-14 17:41:27 +02:00
Makefile.in btrfs-progs: docs: start ioctl documentation manual page 2017-09-25 15:18:09 +02:00
manpage-base.xsl btrfs-progs: Introduce asciidoc based man page and btrfs man page. 2014-04-22 14:15:19 +02:00
manpage-bold-literal.xsl btrfs-progs: Introduce asciidoc based man page and btrfs man page. 2014-04-22 14:15:19 +02:00
manpage-normal.xsl btrfs-progs: Introduce asciidoc based man page and btrfs man page. 2014-04-22 14:15:19 +02:00
mkfs.btrfs.asciidoc Btrfs-progs: man: nodesize must be power of 2 now 2017-06-30 16:31:02 +02:00
ReleaseChecklist btrfs-progs: Update README and other docs 2016-11-23 11:07:05 +01:00