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

Re: Get rid of /etc/mtab ?



Wichert Akkerman <wichert@wiggy.net> writes:

> (btw, please don't cc me on list posts)
> 
> Previously Goswin Brederlow wrote:
> > /dev/ide/host0/bus0/target0/lun0/part1 / ext3 rw 0 0
> > 
> > Always(?) the first entry.
> 
> Maybe on your machine. Not everyone uses devfs (only a minority do)

Its not allways the first one, e.g. when booting with a ramdisk:
--------------------------------------------------
/dev/root.old /initrd cramfs rw 0 0
/dev/system/root / ext3 rw 0 0
--------------------------------------------------
/dev/root / nfs rw,v3,rsize=4096,wsize=4096,hard,udp,nolock,addr=192.168.202.1 0 0
--------------------------------------------------

But devfs or no devfs there is an entry for / in /proc/mounts

> It works for you. It doesn't in all cases. And a readonly / is only
> useful in a minority of cases so I think we're better of just writing
> down how to go about using a readonly / instead of adding
> yet-another-obscure-option to the installation process.

Isn't that one reason debconf has priorities?

As long as its ok to file bugreports against packages that just assume
/etc/mtab is a file and is writeable I'm fine with pretty much any
decision. That means the mtab -> /proc/mounts link works now (mostly)
and don't break it (any more than it is).

MfG
        Goswin


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



Reply to: