An open API service indexing awesome lists of open source software.

https://github.com/kusumi/exfat-utils

exFAT: Rust fork of exfat-utils in https://github.com/relan/exfat
https://github.com/kusumi/exfat-utils

exfat filesystem freebsd linux

Last synced: 2 months ago
JSON representation

exFAT: Rust fork of exfat-utils in https://github.com/relan/exfat

Awesome Lists containing this project

README

        

exfat-utils ([v0.4.0](https://github.com/kusumi/exfat-utils/releases/tag/v0.4.0))
========

## About

Rust fork of exfat-utils in [https://github.com/relan/exfat](https://github.com/relan/exfat)

## Supported platforms

Linux / FreeBSD

## Requirements

Rust 1.84.0 or newer

## Build

$ make

## Install

$ make install

## Uninstall

$ make uninstall

## Usage

dumpexfat

$ ./target/release/dumpexfat
Usage: ./target/release/dumpexfat [-s] [-u] [-f file] [-V]

Options:
-s Dump only info from super block. May be useful for
heavily corrupted file systems.
-u Dump ranges of used sectors starting from 0 and
separated with spaces. May be useful for backup tools.
-f Print out a list of fragments that compose the given
file. Each fragment is printed on its own line, as the
start offset (in bytes) into the file system, and the
length (in bytes).
-V, --version Print version and copyright.
-h, --help Print usage.

exfatattrib

$ ./target/release/exfatattrib
Usage: ./target/release/exfatattrib [FLAGS] -d

Options:
-d The path to an unmounted disk partition or disk image
file containing an exFAT file system. This option is
required.
-r Set read-only flag
-R Clear read-only flag
-i Set hidden flag (mnemonic: invisible)
-I Clear hidden flag
-s Set system flag
-S Clear system flag
-a Set archive flag
-A Clear archive flag
-V, --version Print version and copyright.
-h, --help Print usage.

exfatfsck

$ ./target/release/exfatfsck
exfatfsck 1.4.0
Usage: ./target/release/exfatfsck [-a | -n | -p | -y] [-V]

Options:
-a Automatically repair the file system. No user
intervention required.
-n No-operation mode: non-interactively check for errors,
but don't write anything to the file system.
-p Same as -a for compatibility with other *fsck.
-y Same as -a for compatibility with other *fsck.
-V, --version Print version and copyright.
-h, --help Print usage.

exfatlabel

$ ./target/release/exfatlabel
Usage: ./target/release/exfatlabel [-V] [label]

Options:
-V, --version Print version and copyright.
-h, --help Print usage.

mkexfatfs

$ ./target/release/mkexfatfs
mkexfatfs 1.4.0
Usage: ./target/release/mkexfatfs [-i volume-id] [-n label] [-p partition-first-sector] [-s sectors-per-cluster] [-V]

Options:
-i A 32-bit hexadecimal number. By default a value based
on current time is set. It doesn't accept 0x or 0X
prefix.
-n Volume name (label), up to 15 characters. By default
no label is set.
-p
First sector of the partition starting from the
beginning of the whole disk. exFAT super block has a
field for this value but in fact it's optional and
does not affect anything. Default is 0.
-s
Number of physical sectors per cluster (cluster is an
allocation unit in exFAT). Must be a power of 2, i.e.
1, 2, 4, 8, etc. Cluster size can not exceed 32 MB.
Default cluster sizes are: 4 KB if volume size is less
than 256 MB, 32 KB if volume size is from 256 MB to 32
GB, 128 KB if volume size is 32 GB or larger.
-V, --version Print version and copyright.
-h, --help Print usage.

modexfatfs

$ ./target/release/modexfatfs
modexfatfs 1.4.0
Usage: ./target/release/modexfatfs [-c "fail"|"ignore"|"unlink"] [-V] [...]

Options:
-c, --conflict <"fail"|"ignore"|"unlink">
Action to take when a given path already exists within
. "fail" fails with EEXIST unless both paths
are directory. "ignore" ignores a given path and
leaves the existing path as is. "unlink" unlinks the
existing path first and then create. Unlink of
directory (and its child entries) is unsupported.
Defaults to "fail".
-V, --version Print version and copyright.
-h, --help Print usage.

exfatctl

$ ./target/release/exfatctl
exfatctl 1.4.0
Usage: ./target/release/exfatctl [-V] <"nidprune">
nidprune - Free in-memory nodes.

Options:
-V, --version Print version and copyright.
-h, --help Print usage.

## License

[GPLv2](COPYING)

Copyright (C) 2010- Andrew Nayenko

Copyright (C) 2024- Tomohiro Kusumi