diff options
author | Josef Bacik <josef@redhat.com> | 2009-12-11 21:12:07 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-02-28 19:24:25 -0500 |
commit | 7b14bc0f4ffaf64be53b2ee531bb1774502d6a8f (patch) | |
tree | 1fb2c7e27b7aa3131e2af698318b6abab6b4a3af /btrfs.c | |
parent | 4ff9e2af1721559ec6a8026f5d52a6c9dea805bf (diff) |
Btrfs-progs: add command to set default subvol
This introduces a new btrfsctl option, -m, to allow you to set the default'ly
mounted subvolume. You can do
btrfsctl -m /your/subvolume
and that will make that subvolume the subvolume that is mounted by default, or
you can do
btrfsctl -m <treeid> /any/subvolume
and this will make the subvolume with tree id <treeid> the default'ly mounted
subvolume. You can get the treeid by using the listing option. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'btrfs.c')
0 files changed, 0 insertions, 0 deletions