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

6 Commits

Author SHA1 Message Date
Lennart Poettering
ce726252a9 umount: simplify code for deactivating loop devices 2010-10-14 00:43:13 +02:00
Lennart Poettering
b854a7e728 umount: properly enumerate loopback devices 2010-10-14 00:42:44 +02:00
Lennart Poettering
2054a5b8cb umount: unescape path from /proc/self/mountinfo first, then check against api mount list 2010-10-14 00:41:57 +02:00
Lennart Poettering
83d8b7c179 shutdown: drop last referral to mp->read_only 2010-10-07 20:47:26 +02:00
Lennart Poettering
143b4e9b8d shutdown: drop redundant read_only bool var 2010-10-07 20:46:35 +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