Manpages - ntfs-3g.probe.8

Table of Contents

NAME

ntfs-3g.probe - Probe an NTFS volume mountability

SYNOPSIS

ntfs-3g.probe <–readonly|–readwrite> volume

DESCRIPTION

The 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.

OPTIONS

Below 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.

EXAMPLE

Test if /dev/sda1 can be mounted read-write:

ntfs-3g.probe –readwrite /dev/sda1

EXIT CODES

The exit codes are as follows:

  1. Volume is mountable.
  2. Syntax error, command line parsing failed.
  3. The volume doesn’t have a valid NTFS.
  4. Inconsistent NTFS, hardware or device driver fault, or unsetup SoftRAID/FakeRAID hardware.
  5. The NTFS partition is hibernated.
  6. The volume was not cleanly unmounted.
  7. The volume is already exclusively opened and in use by a kernel driver or software.
  8. Unsetup SoftRAID/FakeRAID hardware.
  9. Unknown reason.
  10. Not enough privilege to mount.
  11. Out of memory.
  12. Unclassified FUSE error.

KNOWN ISSUES

Please see

http://tuxera.com/community/ntfs-3g-faq/

for common questions and known issues. If you think you have found an undocumented problem in the latest release of the software then please send an email describing it in detail. You can contact the development team on the ntfs-3g-devel@lists.sf.net address.

AUTHORS

ntfs-3g.probe was written by Szabolcs Szakacsits.

THANKS

Alon Bar-Lev has integrated the utility into the NTFS-3G build process and tested it with Erik Larsson before the public release.

SEE ALSO

*ntfs-3g*(8)

Author: dt

Created: 2022-02-20 Sun 09:49