NAME

mount.captive - mount(8) interface for NTFS disk access


SYNOPSIS

mount.captive-ntfs {image-file|device} mountdir [-n] [-v] [-o options]

mount -t captive-ntfs [-n] [-v] [-o options] {image-file|device} dir


DESCRIPTION

mount.captive(8) provides mount(8) interface to lufs-captivefs(7) by calling lufsd(1) with appropriate arguments. You should never call this command directly - use mount(8) instead.

mount.captive(8) (captive filesystem type) is never used - this command is provided just as a base mount(8) interface to captive(7). You must always use captive-fstype filesystem type such as captive-ntfs. Other supported filesystem types are: ntfs, fastfat, cdfs, ext2fsd


OPTIONS

{image-file|device}
Pathname such as /dev/hda1 or /tmp/ntfs.bin. You should refer to the partition name, not the whole device (/dev/hda is forbidden). /dev/hda1 may correspond to /dev/ide/host0/bus0/target0/lun0/part1 on your system.

mountdir
Existing empty target directory where {image-file|device} will be mounted.

-n
Do not modify /etc/mtab. This option is currently not supported (ignored), /etc/mtab is modified notwithstanding.

-v
Enable verbose mode. Command lufsd(1) being called is shown.

-o options
Custom options passed to captive(7) separated by comma (,). See the captive(7) manpage for details on options prefixed by double-dashes (--) will be used for lufs-captivefs(7) / mount.captive(8). Options without double-dashes (--) will be used for lufsd(1). You may be interested in these unprefixed options:
force
Force the mount of {image-file|device} despite it appears to be already mounted according to mtab(5). You should never mount a device multiple times in read-write mode. It is safe to mount it multiple times in read-only mode. It is safe to mount it once in read-write mode and multiple times in read-only mode although you may encounter filesystem errors by the read-only filesystems in such case.

This is the only option is interpreted by mount.captive itself; it is not lufs-captivefs(7) nor lufsd(1) option.

private
mount.captive(8) defaults to filesystem files 644 - read-write for system root (or the regular user owner) and read-only for others. You can force the mode 600 by this option (read-write for the owner, inaccessible for others). Mode 755 or <700> applies to directories. Options fmask/dmask will be OR-ed to the private/public permissions set by this option.

fmask=666
Octal mask to be OR-ed on file permissions (minimum file permissions).

dmask=777
Octal mask to be OR-ed on directory permissions (minimum directory permissions).

uid=500
Supply the UID to be the user identification number owning all the files.

gid=500
Supply the GID to be the group identification number owning all the files.


SEE ALSO

lufs-captivefs(7), lufsd(1)


AUTHOR

Jan Kratochvil <project-captive@jankratochvil.net>,
http://www.jankratochvil.net/