#! /usr/bin/perl # # $Id$ # perlpod(1) source for captive(7) man page # Copyright (C) 2003 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; exactly version 2 of June 1991 is required # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use vars qw($VERSION); $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; }; use strict; use warnings; print <<'POD_EOF'; =head1 NAME mount.@PACKAGE@ - B(8) interface for NTFS disk access =head1 SYNOPSIS B {B|B} B [B<-n>] [B<-v>] [B<-o> B] B B<-t> B<@PACKAGE@-ntfs> [B<-n>] [B<-v>] [B<-o> B] {B|B} B =head1 DESCRIPTION B(8) provides B(8) interface to B(7) by calling B(1) with appropriate arguments. You should never call this command directly - use B(8) instead. B(8) (B<@PACKAGE@> filesystem type) is never used - this command is provided just as a base mount(8) interface to B<@PACKAGE@>(7). You must always use @PACKAGE@-B filesystem type such as B<@PACKAGE@-ntfs>. Other supported filesystem types are: POD_EOF print join ", ",map("B<$_>",(split /:/,'@enable_sbin_mount_fs@')); print <<'POD_EOF'; =head1 OPTIONS =over =item {B|B} Pathname such as B or B. You should refer to the partition name, not the whole device (B is forbidden). B may correspond to B on your system. =item B Existing empty target directory where {B|B} will be mounted. =item B<-n> Do not modify B. This option is currently not supported (ignored), B is modified notwithstanding. =item B<-v> Enable verbose mode. Command B(1) being called is shown. =item B<-o> B Custom options passed to B<@PACKAGE@>(7) separated by comma (B<,>). See the B<@PACKAGE@>(7) manpage for details on options prefixed by double-dashes (B<-->) will be used for B(7) / B(8). Options without double-dashes (B<-->) will be used for B(1). You may be interested in these unprefixed options: =over =item B Force the mount of {B|B} despite it appears to be already mounted according to B(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 B itself; it is not B(7) nor B(1) option. =item B B(8) defaults to filesystem files B<644> - read-write for system root (or the regular user owner) and read-only for others. You can force the mode B<600> by this option (read-write for the owner, inaccessible for others). Mode B<755> or <700> applies to directories. Options B/B will be OR-ed to the private/public permissions set by this option. =item B=B<666> Octal mask to be OR-ed on file permissions (minimum file permissions). =item B=B<777> Octal mask to be OR-ed on directory permissions (minimum directory permissions). =item B=B<500> Supply the B to be the user identification number owning all the files. =item B=B<500> Supply the B to be the group identification number owning all the files. =back =back =head1 SEE ALSO B(7), B(1) =head1 AUTHOR Jan Kratochvil >, I POD_EOF 1;