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

Re: patched mount to follow symlinks, please test and audit



Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de> writes:

> Hi,
> 
> I patched mount to follow symlinks properly:
> 
> deb ftp://mrvn.homeip.net/ sid main
> deb-src ftp://mrvn.homeip.net/ sid main
> 
> Could some people please look at the changes and try it too?
> 
> MfG
>         Goswin

I changed sysvinit to check for /mem in /etc/fstab.

You now have 3 options:

1. everything as is, no changes
2. /mem entry in fstab with a ram based filesystem
3. /mem a physical filesystem that gets fscked too

You further have another 3 options:

1. everything as is            , / rw
2. /etc/mtab -> /proc/mounts   , / ro or rw
3. /etc/mtab -> /mem/state/mtab, /mem rw (can be /)

/mem/state/mtab is arbitrary and is never used directly. In Fact any
/etc/mtab link should work.

MfG
        Goswin



Reply to: