Re: What to do about /etc/debian_version
Martijn van Oosterhout wrote:
> Does 2.4 now also include the information on which loop devices are
> related to which filesystems? AFAIK that's the only thing that went
> strange after linking /proc/mounts and /etc/mtab; loop devices not being
> freed after unmounting.
Ah, I knew there was something else. :-( Let's see...
root@dragon:/tmp>mount -o loop foo 1
root@dragon:/tmp>mount -o loop foo2 2
root@dragon:/tmp>grep loop /proc/mounts
/dev/loop0 /tmp/1 ext2 rw 0 0
/dev/loop1 /tmp/2 ext2 rw 0 0
root@dragon:/tmp>grep loop /etc/mtab
/tmp/foo /tmp/1 ext2 rw,loop=/dev/loop0 0 0
/tmp/foo2 /tmp/2 ext2 rw,loop=/dev/loop1 0 0
see shy jo