I have a complicated mounting scheme for Gentoo Linux network booted clients. It is made of a sysinit runlevel mounting script which runs first and /etc/fstab file which runs after.
I have the details at http://forums.gentoo.org/viewtopic-t-929586.html But briefly I wish to combine to put it all into the /etc/fstab file to get rid of the script. Whether is that possible? Lines of the /etc/fstab file. none / none ro 0 0 none /mnt tmpfs nodev,nosuid 0 0 none /media tmpfs nodev,nosuid 0 0 proc /proc proc defaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 192.168.1.1:/netboot/gentoo3 / nfs ro,intr,rsize=8192,wsize=8192 0 0 tmpfs /tmp tmpfs defaults,nosuid,noatime 0 0 tmpfs /run tmpfs defaults,nosuid,noatime 0 0 192.168.1.1:/var/www /var/www nfs rw,nolock 0 0 /dev/disk/by-label/home /home ext3 rw,nodiratime,noatime 0 0 Lines of the sysinit runlevel mounting script file. #!/sbin/runscript description="Configure system for netboot" depend() { before udev } start() { einfo "netboot-mount start" mount -l mount -nt tmpfs -o rw none /ramdisk && einfo "mount tmpfs ramdisk" || eerror "mount tmpfs ramdisk failed" for i in etc var root; do mkdir /ramdisk/$i mount -nt aufs -o dirs=/ramdisk/$i=rw:/$i=rr aufs /$i done } How would you configure it with just /etc/fstab file if that is possible? By the way, I have posted it also as a sourceforge tracker item at https://sourceforge.net/tracker/?func=detail&aid=3542890&group_id=167503&atid=843212 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/