[Pkg-sysvinit-devel] Bug#288016: Please consider adding a shutdown script that releases loop devices

Stefanos Harhalakis v13 at it.teithe.gr
Fri Dec 22 18:38:55 CET 2006


I'm also having this problem because I use loopback devices. On each 
shutdown/reboot a partition stays mounted because of:

/mnt/cdtemp/debian-testing-1.iso on /mnt/deb1 type iso9660 
(ro,noexec,nosuid,nodev,loop=/dev/loop/0)

I'm having this dvd image on disk and I'm using it as an apt source. I'm sure 
there are other uses of loopback devices out there too...

Please consider reopening this bug...

As a fix you could also iterate through /etc/mtab using reverse order. This 
way you could umount all filesystems without needing to care about their 
nature.




More information about the Pkg-sysvinit-devel mailing list