commit | 1f1d635ff9e9d5b14e1a93abfbae7abe60804fed | [log] [tgz] |
---|---|---|
author | Matthieu CASTET <castet.matthieu@free.fr> | Wed Jul 15 14:39:10 2020 +0200 |
committer | Matthieu CASTET <castet.matthieu@free.fr> | Thu Jul 16 01:35:13 2020 +0200 |
tree | e662757caa36dcf3951a37c86dafed4b9a5c2ac5 | |
parent | aa13762e3067a419e207156f2508a3ebde388fc4 [diff] |
mkfs : add boundary-align option This allow to align fat and start of cluster on a boundary. This may usefull for some media like sdcard. Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
As new exfat filesystem is merged into linux-5.7 kernel, exfatprogs is created as an official userspace utilities that contain all of the standard utilities for creating and fixing and debugging exfat filesystem in linux system. The goal of exfatprogs is to provide high performance and quality at the level of exfat utilities in windows. And this software is licensed under the GNU General Public License Version 2.
Install prerequisite packages:
For Ubuntu: sudo apt-get install autoconf libtool pkg-config For Fedora, RHEL: sudo yum install autoconf automake libtool
Build steps:
cd into the exfatprogs directory: ./autogen.sh ./configure make make install
- mkfs.exfat: Build a exfat filesystem on a device or partition(e.g. /dev/hda1, dev/sda1). Usage example: 1. No option(default) : cluster size adjustment as per device size, quick format. mkfs.exfat /dev/sda1 2. To change cluster size(KB or MB or Byte) user want mkfs.exfat -c 1048576 /dev/sda1 mkfs.exfat -c 1024K /dev/sda1 mkfs.exfat -c 1M /dev/sda1 3. For full format(zero out) mkfs.exfat -f /dev/sda1 4. For set volume label, use -l option with string user want. mkfs.exfat -L "my usb" /dev/sda1 5. To change boundary alignement(KB or MB or Byte) user want mkfs.exfat -b 16777216 /dev/sda1 mkfs.exfat -b 16384K /dev/sda1 mkfs.exfat -b 16M /dev/sda1 - fsck.exfat: Check the consistency of your exfat filesystem and optionally repair a corrupted device formatted by exfat. Usage example: 1. check the consistency. fsck.exfat /dev/sda1 2. repair and fix.(preparing) - tune.exfat: Adjust tunable filesystem parameters on an exFAT filesystem Usage example: 1. print current volume label. tune.exfat -l /dev/sda1 2. set new volume label. tune.exfat -L "new label" /dev/sda1
If you have any issues, please create issues or contact to Namjae Jeon and Hyunchul Lee. Contributions are also welcome.
exfat-next
branch.git commit --signoff
).