1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 01:27:11 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Lennart Poettering
12aad1d075 shutdown: loop only as long as we manage to unmount/detach devices, give up immediately when we are stuck 2010-10-14 18:55:04 +02:00
Lennart Poettering
d48141ba0b umount: try to get rid of DM devices 2010-10-14 02:33:09 +02:00
Fabiano Fidencio
e347837975 umount: Adding unmount functions to be used in shutdown
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*.
2010-10-07 19:23:26 +02:00