summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-12 15:05:53 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-12 15:59:51 +0100
commit0033d20449b3bb558f2ea470983018db39b572aa (patch)
tree5707a5427fbd97abaa07c0e7eea4641d7d616216 /tasks
parent3b016a709dd4be5a978dbc8f04b49289612b5be9 (diff)
trans/mtab: do not include non-filesystem translators by default
Traditionally, /proc/mounts includes only filesystem mount points. Previously though, the mtab translator included any kind of translator, like all /hurd/storeio translators. This causes problems with umount --all as this would remove the passive translator records from nodes in /dev. Fix this by only listing filesystem-like translators by default. Filesystem-like translators are identified by their response to dir_readdir messages sent to their root node. * trans/mtab.c (all_translators): New variable. (options): Add flag to preserve the old behavior. (parse_opt): Handle the new flag. (is_filesystem_translator): New function. (mtab_populate): Skip non-filesystem translators by default.
Diffstat (limited to 'tasks')
0 files changed, 0 insertions, 0 deletions