Re: [patch] replacing "/dev/root" in /proc/mounts

Ian Eure (ieure@uswest.net)
Fri, 8 Oct 1999 15:06:08 -0700 (PDT)


On Thu, 7 Oct 1999, Tigran Aivazian wrote:

> On Thu, 7 Oct 1999, Riley Williams wrote:
> > I tried making that symlink soon after I first heard about it, and had
> > so many problems that I promptly removed it and went back to a static
> > /etc/mtab instead.
>
> making symbolic link /etc/mtab -> /proc/mounts stops people from
> triggering a bug in mounting loopback device (i.e. from supplying -o loop
> option to mount instead of doing it properly, i.e. use losetup(8)
> command). If there are other problems than this, I will switch to static
> /etc/mtab. (I assume one also made a symlink /dev/root -> /dev/sdXY)
>
What bug is this? I have been mounting ISO images loopback with -oloop and
exporting them with Samba for over a year and have seen no problems.

-- 
.----------------------------------. 
| Ian Eure, <ieure@mindspring.com> |                                  
|    Linux geek extraordinare      |
|                                  '-------------------------------------------
| "One World, One Web, One Program" - Microsoft Promotional Ad
| "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/