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

From: Roman Zippel
Date: Mon Sep 20 2004 - 06:42:38 EST


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
-
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/