1 .\" A man page for fstab-decode(8).
3 .\" Copyright (C) 2006 Red Hat, Inc. All rights reserved.
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.
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
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.
18 .\" Author: Miloslav Trmac <mitr@redhat.com>
19 .TH fstab-decode 8 "May 2006"
22 fstab-decode \- run a command with fstab-encoded arguments
25 \fB fstab-decode\fR \fICOMMAND\fR [\fIARGUMENT\fR]...
29 decodes escapes in the specified \FIARGUMENT\fRs
30 and uses them to run \fICOMMAND\fR.
31 The argument escaping uses the same rules as path escaping in
38 exits with status 127 if
41 Otherwise it exits with the status returned by \fICOMMAND\fR.
45 .B fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)