drowsymike/afdu
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
afdu is a simple format disk utility to fast formatting your HDD or SSD
Supported file system types: ntfs
How to use:
1. clone the repo:
$ git clone https://github.com/drowsymike/afdu
$ cd afdu
2. install the dependencies:
$ sudo apt update
$ sudo apt install e2fslibs-dev
3. execute make:
$ make all -s
4. use:
$ ./AFDU -d <disk> -f <fs_type>
How to test:
$ dd if=/dev/zero of=test_disk.img bs=1M count=100
$ sudo losetup -fP test_disk.img
then:
$ losetup -a
remember what number of loop device the os gave to ya. and then:
# sudo mkfs.ext4 /dev/your-loop-device-name-what-you-saw-by-the-losetup-call
# mkdir /tmp/test_loop
# mount /dev/your-loop-device-name-what-you-saw-by-the-losetup-call /tmp/test_loop
# sudo ./afdu -f ext4 -d /dev/your-loop-device-name-what-you-saw-by-the-losetup-call