summaryrefslogtreecommitdiff
path: root/term/Makefile
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-07-05 17:13:27 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-08-28 23:15:26 +0200
commitbcca1a329595eb98e12d83f32fc7f5f0fc0bd379 (patch)
tree26b93169eeba12444791242a58b5cf2a48ebc1b5 /term/Makefile
parentcc96e7a24e8d6ab074ee9023c99cc6ff88fe9d06 (diff)
sutils: fix the semantic of -t, --types in fstab.c
The mount utility on both Linux and FreeBSD allows one to either specify a whitelist or a blacklist of filesystem types to consider for --all. Prefixing the list with "no" indicates that the list is a blacklist. Furthermore, Linux' mount utility ignores a "no" prefix on any entry in the given list. Previously the Hurd variant first applied whitelist containing all positive values given and then filtered the resulting list using all negative values. But this makes little sense because each entry only has one value for the filesystem type (mnt_type) and all values are mutually exclusive. This patch adjusts the fstab handling code so that our mount utility behaves like the Linux mount utility. This code is used by both mount and fsck. The same argumentation applies to fsck as well. Like implemented in Linux mount, any "no" prefix is ignored to retain compatibility with the old behavior. * sutils/fstab.c (fstab_argp_create): Fix semantic of --types.
Diffstat (limited to 'term/Makefile')
0 files changed, 0 insertions, 0 deletions