aboutsummaryrefslogtreecommitdiff
path: root/utils/umount.c
Commit message (Collapse)AuthorAgeFilesLines
* umount: Do not report errors on making the device go awaySamuel Thibault2015-09-091-0/+2
| | | | | | | | This fixes umounting bind mounts or other mounts for which the device can not be made away. * utils/umount.c (do_umount): When the --force option is not passed, ignore errors from file_set_translator call on the device file.
* Always canonicalize fstab entries with realpathSamuel Thibault2014-11-211-3/+1
| | | | | | | | | | | | To avoid spurious ./, /, symlinks, etc. * sutils/fstab.c (fs_set_mntent): Try to call realpath on mnt_fsname and mnt_dir field of `mntent'. (fstab_find_mount): Try to call realpath on `name' parameter. (fstab_find): Do not try to call realpath. (fstab_read): Reset errno to zero before calling getmntent. * utils/umount.c (main): Do not warn about missing fstab entries for active translators.
* utils/umount: clean upGabriele Giacone2014-10-041-3/+2
| | | | | | | | According to f2640263468aced5c91ac5fc1f15bb5691f7eb20, passive translators are no longer removed. * utils/umount.c (do_umount) Remove -p option from verbose message. (passive_flags): Remove.
* utils/umount: do not remove passive translator recordsJustus Winter2014-02-251-2/+2
| | | | | | | | Passive translator records are a Hurd concept. Therefore, the umount compatibility program should not remove them. * utils/umount.c (passive_flags): Unset FS_TRANS_SET. (doc): Adjust accordingly.
* Fix buildSamuel Thibault2013-08-291-1/+0
| | | | * utils/umount.c: Do not include useless <blkid/blkid.h>.
* umount: add a umount utilityJustus Winter2013-08-291-0/+358
This adds a umount utility that implements most of the functions that the Linux umount utility provides, especially that subset that is used by the Debian package initscripts. * utils/umount.c: New file.