diff options
author | Fabiano Fidencio <fidencio@profusion.mobi> | 2010-10-07 05:43:57 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-07 19:23:26 +0200 |
commit | e3478379751fda30316204c68112b5a2b9ffd5a7 (patch) | |
tree | abd2d0a3241c31a2cddb4b82d88f315673f2688b /src/shutdown.c | |
parent | 3846aeeba29a31628ec7a8b34884916073585e06 (diff) |
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*.
Diffstat (limited to 'src/shutdown.c')
0 files changed, 0 insertions, 0 deletions