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

Re: read only root and udev



On Fri, Jul 01, 2005 at 02:17:15PM +0000, Andy Smith wrote:
> So I apt-get install udev and reboot.
> 
> Things did not go smoothly; it seems my /dev/shm is mounted by
> /etc/rcS.d/S02mountvirtfs but then sometime later it is umounted
> again by something (I can't work out what), leaving me with no
> writable filesystems and no daemons can start.
> 
> Anyone more experienced with udev have any ideas what is going on?

Well I'm not sure exactly what was going wrong, but I have fixed
this by adding the /dev/shm to my fstab and building its filesystem
after mountlocal in rcS.d.

After boot is finished I'm left with multiple bind mounts of my root
filesystem which I don't quite understand, but it all appears to
work now:

[andy@pride andy]$ mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (ro,noatime)
proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
/dev/root on /dev/.static/dev type ext2 (ro,noatime)
tmpfs on /dev type tmpfs (rw)
pts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
[andy@pride andy]$ sudo df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                456M  219M  213M  51% /
/dev/root             456M  219M  213M  51% /
/dev/root             456M  219M  213M  51% /dev/.static/dev
tmpfs                  10M  420K  9.6M   5% /dev
tmpfs                  10M   64K   10M   1% /dev/shm

Attachment: signature.asc
Description: Digital signature


Reply to: