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

/etc/rc is not run anymore



Hello,

  another pb in busybox: /etc/rc is not run anymore by init, so rootfs is not
always mounted rw.  When booting from an initrd, it is already rw at boot time
but when booting from an nfsroot partition, the root fs is first mounted ro by
the kernel and should be toggled rw later.  It was before done by /etc/rc, but
now?  Does /etc/rc have to be called from /etc/init.d/rcS or its contents moved
to rcS?
btw, /etc/rc calls block_device that disappeared in latest busybox.  It was an
attempt to get the real root dev name to be able to remount rw the root fs.
If block_device cannot be called anymore, we could just replace the mount
command by:

mount -n -t ext2 -o remount,rw /dev/root /

mount does not requires accuracy device & filesystem type to just remount rw
the filesystem.

Regards.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


Reply to: