summaryrefslogtreecommitdiff
path: root/src/umount.c
AgeCommit message (Collapse)Author
2011-07-02umount: ignore missing /proc/swapsMichael Olbrich
/proc/swaps does not exist when swap is disabled in the kernel. Just report an empty list of mountpoints to unmount in this case.
2011-03-16umount: make sure skip_ro is always correctly initializedLennart Poettering
2011-03-15umount: don't try to remount bind mounts ro during shutdownLennart Poettering
2011-03-14umount: assume that a non-existing /dev/loop device means it is already detachedLennart Poettering
2011-01-06umount: don't try to detach the dm device the root dir is on, to minimize ↵Lennart Poettering
warning messages
2010-11-11split mount_point_is_api() and mount_point_ignore()Kay Sievers
We should not handle the ignore list as API mounts, as systemd itself never touches them. On Thu, Nov 11, 2010 at 10:34, Andreas Jaeger <aj@novell.com> wrote: > > I noticed for some time that systemd-remount-api-vfs is in the > failed state and found now the following in the log files > > systemd-remount-api-vfs[467]: /bin/mount for /proc/bus/usb exited with exit status 32. > systemd-remount-api-vfs[467]: mount: /proc/bus/usb not mounted already, or bad option > systemd[1]: systemd-remount-api-vfs.service: main process exited, code=exited, status=1 > systemd[1]: Unit systemd-remount-api-vfs.service entered failed state.
2010-10-25umount: Make sure / is remounted ro on shutdownMichael Biebl
Increment n_failed in mount_points_list_umount() if we skip /. Otherwise it can happen that mount_points_list_remount_read_only() is not called in umount_all().
2010-10-19fsck: add initial version of fsck and quotacheck wrappersLennart Poettering
2010-10-14shutdown: loop only as long as we manage to unmount/detach devices, give up ↵Lennart Poettering
immediately when we are stuck
2010-10-14umount: disable dm devices by devnode, not by path nameLennart Poettering
2010-10-14umount: try to get rid of DM devicesLennart Poettering
2010-10-14umount: be a bit more verbose when unable to umount/unswap/delete loopbacksLennart Poettering
2010-10-14umount: simplify code for deactivating loop devicesLennart Poettering
2010-10-14umount: properly enumerate loopback devicesLennart Poettering
2010-10-14umount: unescape path from /proc/self/mountinfo first, then check against ↵Lennart Poettering
api mount list
2010-10-07shutdown: drop last referral to mp->read_onlyLennart Poettering
2010-10-07shutdown: drop redundant read_only bool varLennart Poettering
2010-10-07umount: Adding unmount functions to be used in shutdownFabiano Fidencio
This functions will: - umount all mount points that aren't API - remount read-only all mount points that can't be umounted - umount all swap devices. - detach all loopback devices TODO: - umount dms Mountpoints are being read from /proc/self/mountinfo. Swaps are being read from /proc/swaps. Loop devices from /sys/class/block/loop*.