Author: alexander
Date: 2005-05-04 06:44:06 -0600 (Wed, 04 May 2005)
New Revision: 126
Added:
branches/unionfs/packages/lfs-bootscripts/mountfs
Modified:
branches/unionfs/TODO
branches/unionfs/etc/fstab
branches/unionfs/packages/lfs-bootscripts/Makefile
Log:
Fixed mounting of /dev/pts and /dev/shm, and also the "df" output for unionfs
Modified: branches/unionfs/TODO
===================================================================
--- branches/unionfs/TODO 2005-05-04 11:01:45 UTC (rev 125)
+++ branches/unionfs/TODO 2005-05-04 12:44:06 UTC (rev 126)
@@ -15,3 +15,4 @@
* Method for specifying an available swap partition on boot - swap=/dev/[xxx]
at command line?
* Should we use a wrapper script for xterm, or just fix ion and xfce to call
xterm with proper flags? (maybe edit /etc/X11/app-defaults/XTerm? - AP)
* Add some Greek TrueType fonts.
+* There are THREE instances of tmpfs: /.tmpfs, /dev, /dev/shm. Are all of them
needed?
Modified: branches/unionfs/etc/fstab
===================================================================
--- branches/unionfs/etc/fstab 2005-05-04 11:01:45 UTC (rev 125)
+++ branches/unionfs/etc/fstab 2005-05-04 12:44:06 UTC (rev 126)
@@ -1,6 +1,7 @@
# Begin /etc/fstab
# filesystem mount-point fs-type options dump
fsck-order
+unionfs / unionfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
Modified: branches/unionfs/packages/lfs-bootscripts/Makefile
===================================================================
--- branches/unionfs/packages/lfs-bootscripts/Makefile 2005-05-04 11:01:45 UTC
(rev 125)
+++ branches/unionfs/packages/lfs-bootscripts/Makefile 2005-05-04 12:44:06 UTC
(rev 126)
@@ -26,6 +26,8 @@
install -m 755 lfs/init.d/{mountkernfs,udev} /etc/rc.d/init.d && \
ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernks && \
ln -sf ../init.d/udev /etc/rc.d/rcsysinit.d/S10udev && \
+ install -m 755 ../mountfs /etc/rc.d/init.d/ && \
+ ln -sf ../init.d/mountfs /etc/rc.d/rcsysinit.d/S40mountfs && \
rm -f /etc/rc.d/*/*mountsqfs /etc/rc.d/*/*startup ; fi
clean:
Added: branches/unionfs/packages/lfs-bootscripts/mountfs
===================================================================
--- branches/unionfs/packages/lfs-bootscripts/mountfs 2005-05-04 11:01:45 UTC
(rev 125)
+++ branches/unionfs/packages/lfs-bootscripts/mountfs 2005-05-04 12:44:06 UTC
(rev 126)
@@ -0,0 +1,47 @@
+#!/bin/sh
+########################################################################
+# Begin $rc_base/init.d/mountfs
+#
+# Description : File System Mount Script
+#
+# Authors : Gerard Beekmans - [EMAIL PROTECTED]
+#
+# Version : 00.00
+#
+# Notes :
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "${1}" in
+ start)
+ boot_mesg "Recording existing mounts in /etc/mtab..."
+ > /etc/mtab
+ mount -f / || failed=1
+ mount -f /proc || failed=1
+ mount -f /sys || failed=1
+ (exit ${failed})
+ evaluate_retval
+
+ # This will mount all filesystems that do not have _netdev in
+ # their option list. _netdev denotes a network filesystem.
+ boot_mesg "Mounting remaining file systems..."
+ mount -a -O no_netdev &>/dev/null
+ evaluate_retval
+ ;;
+
+ stop)
+ boot_mesg "Unmounting all other currently mounted file
systems..."
+ umount -a -d -r &>/dev/null
+ evaluate_retval
+ ;;
+
+ *)
+ echo "Usage: ${0} {start|stop}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/mountfs
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page