[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trouble with mounts and ash



On Mon, Aug 06, 2001 at 01:06:20PM +0200, andrea gelmini wrote:
> well,
>     two problems, and i dunno if it's my fault or a bug.
>     a) i have linked /proc/mounts with /etc/mtab.
[snip]
>        It's common to find this link, bacause Linus suggests
>        to do it. So, do you think would be good to put a check?

Really? So, does the kernel now keep track of the relationship between loop
devices and files or does that link still break loopback unmounts?

I'm running 2.4.4 and I see that /proc/mounts still doesn't contain all the
info in /etc/mtab. Is that link really suggested?

/proc/mounts:
/dev/loop0 /space/debian/potato1 iso9660 ro 0 0
/dev/loop1 /space/debian/potato2 iso9660 ro 0 0
/dev/loop2 /space/debian/potato3 iso9660 ro 0 0

/etc/mtab:
/space/debian/potato1.iso /space/debian/potato1 iso9660 ro,loop=/dev/loop0 0 0
/space/debian/potato2.iso /space/debian/potato2 iso9660 ro,loop=/dev/loop1 0 0
/space/debian/potato3.iso /space/debian/potato3 iso9660 ro,loop=/dev/loop2 0 0

-- 
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> It would be nice if someone came up with a certification system that
> actually separated those who can barely regurgitate what they crammed over
> the last few weeks from those who command secret ninja networking powers.



Reply to: