Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.
/ defragall Public archive

A simple utility to defragment all mounted subvolumes of a btrfs system

License

Notifications You must be signed in to change notification settings

beatussum/defragall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About defragall

defragall is a simple utility which allows you to defragment all Btrfs subvolumes mounted on your system, in a single command.

To update the Archlinux submodule

Type git submodule update --init to download the AUR repository.

To build it

Just type make.

To install it

Type sudo make install. But if you want to choose another root, so type sudo make INSTALL_ROOT='my_root' install. If you are on a system based on Archlinux, the package is available on AUR.

To use it

Type defragall -h to get help. The commands are based on btrfs filesystem defragment. The program creates a log file whose absolute path is /var/log/defragall.log.