[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Get rid of /etc/mtab ?



On Thu, 25 Jul 2002 06:31, Nathan Hawkins wrote:
> Goswin Brederlow wrote:
> > Whats wrong with linking /proc/mounts to /etc/mtab?
> >
> > Only problem is with loopback since umount won't free the loopback
> > device. But that could be fixed with a kernel change.
>
> One good reason: non-Linux ports. The Hurd doesn't have /proc at all,
> and the BSD ports have /proc, but don't have all the clutter in there
> that Linux does. So /proc/mounts simply doesn't exist other than on Linux.
>
> I'd be far more in favour of moving it into /var, which is where it
> should have been in the first place, IMHO.

If you do that then you don't have an entry in the mtab file for the /var 
file system, or for any filesystem that has a preceeding entry in the 
/etc/fstab file.

If the mtab file is to be maintained as a regular file then it MUST be on the 
root file system, which means /etc.

As for non-Linux ports, they can do things differently to the Linux ports.

-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: