lux-integ wrote: > On Wednesday 05 December 2012 02:32:09 Bruce Dubbs wrote: >> I've been thinking about the idea of reviving the live-lfs project. >> What I had in mind was to create a tmpfs for / in an initrd and copy >> from the boot device to the tmpfs and run from that. That would >> overcome your problem because / would be read/write. > > > great Idea. > But why does / have to be R/W? is this a requirement for udev (er systemd )?
For the LFS standard, /etc/mtab needs to be writable. That will probably change with the next util-linux. Most users have /opt, /tmp, and /var on the root fs. The user may want to create mount points in /mnt and /media. All these would need a writable root fs. > In my heath-robinson setup I am not using an initrd. And everything except > Xorg works. > > Convention is that /usr is readonly but nowadays many of the developers > just assume that the root filesystem is r/w so many files in /usr, /etc > etc. are routinely written to (for example /etc/adjtime) on boot. And > some installtion generate a /usr/var For a typical LFS user, packages are frequently installed or updated so the affected partitions need to be writable. > In my setup I am still puzzled why udev and Xorg seems to be problematic. > Specifically why xterm refuses to budge in a RO- rootfs. And no errors are > reported in /var/log/Xorg.0.log /var/log/messages etc And why indeed does > usb stuff needs to be unplugged/replugged. /lib/udev is identical in both > R/W-root and RO-root. That's a mystery to me also. I'd have to be able to investigate the problem directly to try to diagnose that. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
