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

Olaf Hering
2004-09-20T11:53:09Z

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