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

Re: Non-configuration files in /etc should be in /var



On Thu, Apr 27, 2000 at 11:14:58PM +0200 , Marco d'Itri wrote:
> On Apr 27, Edward Betts <edward@debian.org> wrote:
> 
>  >I am not sure that you can move mtab or rmtab, but I think some of the others
> You can move mtab, just link it to /proc/mounts and mount(8) will do the
> right thing.

almost. It can be done and works in 99% of cases, but you loose some info
/dev/mounts:
/dev/root / ext2 rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda2 /hda/win98 vfat ro,noexec 0 0

/etc/mtab:
/dev/hda5 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda2 on /hda/win98 type vfat (ro,noexec,codepage=852,iocharset=iso8859-2,gid=106,umask=0002)

				Petr Cech
-- 
Debian GNU/Linux maintainer - www.debian.{org,cz}
           cech@atrey.karlin.mff.cuni.cz

Obviously the only rational solution to your problem is suicide.


Reply to: