Re: OOM & [OT] util-linux-2.12e

From: Olaf Hering
Date: Mon Sep 20 2004 - 06:56:18 EST


On Mon, Sep 20, Roman Zippel wrote:

> Hi,
>
> On Mon, 20 Sep 2004, Olaf Hering wrote:
>
> > > > > How do you distinguish between manual and automatic loop device setup?
> > > >
> > > > -v
> >
> > What do you mean by auto vs. manual? I dont understand what you mean
> > here.
>
> $ mount -oloop image /mnt
>
> vs
>
> $ losetup image /dev/loop0
> $ mount /dev/loop0 /mnt
>
> What should umount do, when called with /mnt?

I have /dev/loop0 in /proc/mounts, umount does nothing wrong here.
What do you see?

> Relying on any specifc ordering in /proc/mounts is broken.

Thats most likely true. You could bind mount a mtab file.
This specific case is tricky.

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÃRNBERG
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/