fstab-decode (8)
Leading comments
A man page for fstab-decode(8). Copyright (C) 2006 Red Hat, Inc. All rights reserved. This copyrighted material is made available to anyone wishing to use, modify, copy, or redistribute it subject to the terms and conditions of the GNU General Public License v.2. 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 detail...
NAME
fstab-decode - run a command with fstab-encoded argumentsSYNOPSIS
fstab-decode COMMAND [ARGUMENT]...DESCRIPTION
fstab-decode decodes escapes in the specified ARGUMENTs and uses them to run COMMAND. The argument escaping uses the same rules as path escaping in /etc/fstab, /etc/mtab and /proc/mtab.EXIT STATUS
fstab-decode exits with status 127 if COMMAND can't be run. Otherwise it exits with the status returned by COMMAND.EXAMPLES
fstab-decode umount $(awk '$3 == vfat { print $2 }' /etc/fstab)