SYNOPSISntfs-3g.probe <--readonly|--readwrite> volume
DESCRIPTIONThe ntfs-3g.probe utility tests a volume if it's NTFS mountable read-only or read-write, and exits with a status value accordingly. The volume can be a block device or image file.
OPTIONSBelow is a summary of the options that ntfs-3g.probe accepts.
- -r, --readonly
- Test if the volume can be mounted read-only.
- -w, --readwrite
- Test if the volume can be mounted read-write.
- -h, --help
- Display help and exit.
EXAMPLETest if /dev/sda1 can be mounted read-write:
ntfs-3g.probe --readwrite /dev/sda1
EXIT CODESThe exit codes are as follows:
- Volume is mountable.
- Syntax error, command line parsing failed.
- The volume doesn't have a valid NTFS.
- Inconsistent NTFS, hardware or device driver fault, or unsetup SoftRAID/FakeRAID hardware.
- The NTFS partition is hibernated.
- The volume was not cleanly unmounted.
- The volume is already exclusively opened and in use by a kernel driver or software.
- Unsetup SoftRAID/FakeRAID hardware.
- Unknown reason.
- Not enough privilege to mount.
- Out of memory.
- Unclassified FUSE error.