2
votes
1answer
23 views

Forcing compton to free directory

I often have trouble unnounting filesystems because compton is keeping a subdirectory open. Here is one line from lsof I have right now: compton 30043 valmi cwd DIR ...
4
votes
3answers
174 views

Busy Device on Umount

I often experience a problem to umount a directory: umount /mnt/dir umount: /mnt/dir: device is busy There are many reasons why the device is busy. Sometimes there are processes running which have ...
2
votes
3answers
449 views

Ensure that loopback root and host are unmounted on shutdown

I'm trying to setup a Linux system that runs from an LVM-formatted image file. After some tinkering with the initramfs and boot options I managed to make it up and running by mounting the host file ...
5
votes
1answer
847 views

Umount all attached usb disks with a single command

Is there a (safe) way to umount all partitions on all attached usb devices (usb-hdds, usb-sticks) with a single commandline command, including several encrypted luks partitions? Only the partitions ...