commit | 1fcc8d56b4c832880ecf385d7436a1b68267b50f | [log] [tgz] |
---|---|---|
author | Nicolas Boos <nicolas.boos@wanadoo.fr> | Mon Apr 27 12:31:33 2020 +0900 |
committer | Namjae Jeon <namjae.jeon@samsung.com> | Mon Apr 27 12:33:02 2020 +0900 |
tree | 323b80af80eb3d44a88d763c782ab0b8fa13fcc4 | |
parent | 839f64050088375794a6ff0684ed67b596a9e716 [diff] |
fix incomplete 'make dist' generated tarball Signed-off-by: Nicolas Boos <nicolas.boos@wanadoo.fr> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
exfatprogs is userspace utilities for exfat filesystem under GNU GPL 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 - 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) - label.exfat: Get or set volume label from a given device that formatted by exfat filesystem. Usage example: 1. get volume label. label.exfat -g /dev/sda1 2. set new volume label. label.exfat -s "new label" /dev/sda1