summaryrefslogtreecommitdiff
path: root/src/umount.c
AgeCommit message (Collapse)Author
2012-04-12shutdown: move shutdown to core since it replaces PID 1Lennart Poettering
2012-04-12umount: fix buildLennart Poettering
2012-04-12umount: don't try to umount /dev/console, since we are using itLennart Poettering
2012-04-12build-sys: move a few things into more appropriate placesLennart Poettering
2012-04-12move more common files to shared/ and add them to shared.laKay Sievers
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-03-06umount: don't try to umount /usr, if we are running from itLennart Poettering
2011-09-23llvm-analyze: change a few things to make llvm-analyze show fewer false ↵Lennart Poettering
positives
2011-07-04umount: log failed umounts only once at the endHarald Hoyer
2011-07-04umount: umount, until all umounts failedHarald Hoyer
2011-07-04umount: log_info about what we unmountedHarald Hoyer
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*.