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

Roman Zippel
2004-09-20T11:38:47Z

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?

> > /dev/hda6 / ext3 rw 0 0
>
> df should start with the last / entry. But this will work only if the
> chroot is on its own mount point, not if you chroot into a subdir of a
> mount point. It could just ignore the error.

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

bye, Roman