Re: losetuping files in tmpfs fails?

Guest section DW
2002-01-06T00:16:09Z

On Sat, Jan 05, 2002 at 07:51:47PM -0200, F.W. Meunier wrote:

> On a side note, why do I need to use losetup -d after umount
> when /etc/mtab is a symlink to /proc/mounts ?
>
> mount or loop "feature" ?

mount will do losetup -d at umount time if and only if it did losetup
at mount time, as is recorded in /etc/mtab. With a symlink that info
is lost. See mount(8).