source: projects/initscripts/tags/initscripts-8.91.3/src/fstab-decode.8 @ 1108

Revision 1108, 1.4 KB checked in by daisuke, 14 years ago (diff)

import initscripts-8.90.6 from internal cvs repository

Line 
1.\" A man page for fstab-decode(8).
2.\"
3.\" Copyright (C) 2006 Red Hat, Inc. All rights reserved.
4.\"
5.\" This copyrighted material is made available to anyone wishing to use,
6.\" modify, copy, or redistribute it subject to the terms and conditions of the
7.\" GNU General Public License v.2.
8.\"
9.\" This program is distributed in the hope that it will be useful, but WITHOUT
10.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12.\" more details.
13.\"
14.\" You should have received a copy of the GNU General Public License along
15.\" with this program; if not, write to the Free Software Foundation, Inc.,
16.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17.\"
18.\" Author: Miloslav Trmac <mitr@redhat.com>
19.TH fstab-decode 8 "May 2006"
20
21.SH NAME
22fstab-decode \- run a command with fstab-encoded arguments
23
24.SH SYNOPSIS
25\fB fstab-decode\fR \fICOMMAND\fR [\fIARGUMENT\fR]...
26
27.SH DESCRIPTION
28.B fstab-decode
29decodes escapes in the specified \FIARGUMENT\fRs
30and uses them to run \fICOMMAND\fR.
31The argument escaping uses the same rules as path escaping in
32\fB/etc/fstab\fR,
33.B /etc/mtab
34and \fB/proc/mtab\fR.
35
36.SH EXIT STATUS
37.B fstab-decode
38exits with status 127 if
39.I COMMAND
40can't be run.
41Otherwise it exits with the status returned by \fICOMMAND\fR.
42
43.SH EXAMPLES
44
45.B fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)
Note: See TracBrowser for help on using the repository browser.