diff options
| -rw-r--r-- | Documentation/filesystems/btrfs.txt | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/Documentation/filesystems/btrfs.txt b/Documentation/filesystems/btrfs.txt index 4ced8be43c88..5dd282dda55c 100644 --- a/Documentation/filesystems/btrfs.txt +++ b/Documentation/filesystems/btrfs.txt | |||
| @@ -244,24 +244,14 @@ available from the git repository at the following location: | |||
| 244 | 244 | ||
| 245 | These include the following tools: | 245 | These include the following tools: |
| 246 | 246 | ||
| 247 | mkfs.btrfs: create a filesystem | 247 | * mkfs.btrfs: create a filesystem |
| 248 | 248 | ||
| 249 | btrfsctl: control program to create snapshots and subvolumes: | 249 | * btrfs: a single tool to manage the filesystems, refer to the manpage for more details |
| 250 | 250 | ||
| 251 | mount /dev/sda2 /mnt | 251 | * 'btrfsck' or 'btrfs check': do a consistency check of the filesystem |
| 252 | btrfsctl -s new_subvol_name /mnt | ||
| 253 | btrfsctl -s snapshot_of_default /mnt/default | ||
| 254 | btrfsctl -s snapshot_of_new_subvol /mnt/new_subvol_name | ||
| 255 | btrfsctl -s snapshot_of_a_snapshot /mnt/snapshot_of_new_subvol | ||
| 256 | ls /mnt | ||
| 257 | default snapshot_of_a_snapshot snapshot_of_new_subvol | ||
| 258 | new_subvol_name snapshot_of_default | ||
| 259 | 252 | ||
| 260 | Snapshots and subvolumes cannot be deleted right now, but you can | 253 | Other tools for specific tasks: |
| 261 | rm -rf all the files and directories inside them. | ||
| 262 | 254 | ||
| 263 | btrfsck: do a limited check of the FS extent trees. | 255 | * btrfs-convert: in-place conversion from ext2/3/4 filesystems |
| 264 | 256 | ||
| 265 | btrfs-debug-tree: print all of the FS metadata in text form. Example: | 257 | * btrfs-image: dump filesystem metadata for debugging |
| 266 | |||
| 267 | btrfs-debug-tree /dev/sda2 >& big_output_file | ||
