losetuping files in tmpfs fails?
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" ?
Signature · 1 line
0@pervalidus.{net, {dyndns.}org} Tel: 55-21-2717-2399 (Niterói-RJ BR)Followup to: <20020105215147.GH136@pervalidus> By author: =?iso-8859-1?B?RnLpZOlyaWMgTC4gVy4=?= Meunier <[email protected]> In newsgroup: linux.dev.kernel
Quoted 6 lines
On a side note, why do I need to use losetup -d after umount when
/etc/mtabis a symlink to/proc/mounts?mount or loop "feature" ?
/proc/mounts, unlike /etc/mtab, doesn't tell umount(8) that this was a loopback created by mount(8) as opposed to a preexisting loopback created by losetup(8).
-hpa
Signature · 3 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <[email protected]>
Quoted 4 lines · F.W. Meunier
On a side note, why do I need to use losetup -d after umount when
/etc/mtabis 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).