4 # perlpod(1) source for captive(7) man page
5 # Copyright (C) 2003 Jan Kratochvil <project-captive@jankratochvil.net>
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; exactly version 2 of June 1991 is required
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 use vars qw($VERSION);
22 $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
30 mount.@PACKAGE@ - B<mount>(8) interface for NTFS disk access
35 B<mount.@PACKAGE@-ntfs> {B<image-file>|B<device>} B<mountdir>
36 [B<-n>] [B<-v>] [B<-o> B<options>]
38 B<mount> B<-t> B<@PACKAGE@-ntfs>
39 [B<-n>] [B<-v>] [B<-o> B<options>]
40 {B<image-file>|B<device>} B<dir>
45 B<mount.@PACKAGE@>(8) provides B<mount>(8) interface to B<lufs-@PACKAGE@fs>(7)
46 by calling B<lufsd>(1) with appropriate arguments. You should never call
47 this command directly - use B<mount>(8) instead.
49 B<mount.@PACKAGE@>(8) (B<@PACKAGE@> filesystem type) is never used - this command
50 is provided just as a base mount(8) interface to B<@PACKAGE@>(7). You must always
51 use @PACKAGE@-B<fstype> filesystem type such as B<@PACKAGE@-ntfs>. Other supported
54 print join ", ",map("B<$_>",(split /:/,'@enable_sbin_mount_fs@'));
62 =item {B<image-file>|B<device>}
64 Pathname such as B</dev/hda1> or B</tmp/ntfs.bin>. You should refer to the
65 partition name, not the whole device (B</dev/hda> is forbidden).
66 B</dev/hda1> may correspond to B</dev/ide/host0/bus0/target0/lun0/part1>
72 Existing empty target directory where {B<image-file>|B<device>} will be
78 Do not modify B</etc/mtab>. This option is currently not supported (ignored),
79 B</etc/mtab> is modified notwithstanding.
84 Enable verbose mode. Command B<lufsd>(1) being called is shown.
87 =item B<-o> B<options>
89 Custom options passed to B<@PACKAGE@>(7) separated by comma (B<,>).
90 See the B<@PACKAGE@>(7) manpage for details on options prefixed by
91 double-dashes (B<-->) will be used for B<lufs-@PACKAGE@fs>(7) /
92 B<mount.captive>(8). Options without double-dashes (B<-->) will be used for
93 B<lufsd>(1). You may be interested in these unprefixed options:
99 Force the mount of {B<image-file>|B<device>} despite it appears to be already
100 mounted according to B<mtab>(5). You should never mount a device multiple
101 times in read-write mode. It is safe to mount it multiple times in read-only
102 mode. It is safe to mount it once in read-write mode and multiple times
103 in read-only mode although you may encounter filesystem errors by the read-only
104 filesystems in such case.
106 This is the only option is interpreted by B<mount.@PACKAGE@> itself; it is not
107 B<lufs-@PACKAGE@fs>(7) nor B<lufsd>(1) option.
111 B<mount.captive>(8) defaults to filesystem files B<644> - read-write for system
112 root (or the regular user owner) and read-only for others. You can force the
113 mode B<600> by this option (read-write for the owner, inaccessible for others).
114 Mode B<755> or <700> applies to directories. Options B<fmask>/B<dmask> will
115 be OR-ed to the private/public permissions set by this option.
117 =item B<fmask>=B<666>
119 Octal mask to be OR-ed on file permissions (minimum file permissions).
121 =item B<dmask>=B<777>
123 Octal mask to be OR-ed on directory permissions (minimum directory
128 Supply the B<UID> to be the user identification number owning all the files.
132 Supply the B<GID> to be the group identification number owning all the files.
141 B<lufs-@PACKAGE@fs>(7), B<lufsd>(1)
146 Jan Kratochvil <B<project-@PACKAGE@@jankratochvil.net>>,
147 I<http://www.jankratochvil.net/>