is used to control the filesystem and the files and directories stored. It is the tool to create a new snapshot for the filesystem.
.SHOPTIONS
.TP
\fB\-d\fR\fIfile|directory\fR
Defragment a file or a directory. If the argument is a directory, the entire b-tree under the directory is defragged.
.TP
\fB\-s\fR\fIsnapshot-name directory\fR
Creates a new \fIsnapshot\fP of the \fIdirectory\fP specified.
.TP
\fB\-S\fR\fIsubvolume-name directory\fR
Creates a new subvolume.
.TP
\fB\-r\fR\fI[+|-]size\fR
Resizes the filesystem with the \fIsize\fP specified. If the value is preceded with a signed symbol, the filesystem is resized with respect to the current filesystem size. \fIsize\fP can be suffixed by k,m or g to represent kilobytes, megabytes, or gigabytes respectively.
.TP
\fB\-A\fR\fIdevice\fR
Scans the \fIdevice\fR for btrfs filesystem.
.TP
\fB\-a\fR
Scans all devices present in the system for btrfs filesystem.
.TP
\fB\-c\fR
Forces a filesystem sync.
.SHAVAILABILITY
.Bbtrfsctl
is part of btrfs-progs. Btrfs is currently under heavy development,