[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gobolinux-commits
Subject:    [gobolinux-commits] tools/InitRDScripts/bin startGoboLinux
From:       detsch () gobolinux ! org (=?UTF-8?Q?Andr=C3=A9_Detsch?=)
Date:       2006-04-28 20:26:23
Message-ID: E1FZYhI-0002w3-5R () savannah ! gnu ! org
[Download RAW message or body]

CVSROOT:	/sources/goboscripts
Module name:	tools
Branch: 	
Changes by:	André Detsch <detsch@savannah.gnu.org>	06/04/28 19:32:12

Modified files:
	InitRDScripts/bin: startGoboLinux 

Log message:
	Easier than expected solution for the issue regarding creation of files in / instead \
of /Programs:  manually creating a Programs dir inside TmpFS and using it when union \
mounting /Programs

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/goboscripts/tools/InitRDScripts/bin/startGoboLinux.diff?tr1=1.4&tr2=1.5&r1=text&r2=text


Patches:
Index: tools/InitRDScripts/bin/startGoboLinux
diff -u tools/InitRDScripts/bin/startGoboLinux:1.4 \
                tools/InitRDScripts/bin/startGoboLinux:1.5
--- tools/InitRDScripts/bin/startGoboLinux:1.4	Tue Apr 11 03:07:56 2006
+++ tools/InitRDScripts/bin/startGoboLinux	Fri Apr 28 19:32:12 2006
@@ -19,8 +19,9 @@
 mount -o loop,ro -t squashfs /Mount/CD-ROM/GoboLinux-rest.squashfs \
/Mount/SquashFS/Rest  
 mount -t tmpfs none /Mount/TmpFS
+mkdir /Mount/TmpFS/Programs
 mount -t unionfs -o dirs=/Mount/TmpFS=rw:/Mount/SquashFS/Rest=ro:/Mount/UnionFS=ro \
                none /Mount/UnionFS
-mount -t unionfs -o \
dirs=/Mount/TmpFS=rw:/Mount/SquashFS/Programs-A-E=ro:/Mount/SquashFS/Programs-F-J=ro:/ \
Mount/SquashFS/Programs-K-O=ro:/Mount/SquashFS/Programs-P-T=ro:/Mount/SquashFS/Programs-U-Z=ro \
none /Mount/UnionFS/Programs +mount -t unionfs -o \
dirs=/Mount/TmpFS/Programs=rw:/Mount/SquashFS/Programs-A-E=ro:/Mount/SquashFS/Programs \
-F-J=ro:/Mount/SquashFS/Programs-K-O=ro:/Mount/SquashFS/Programs-P-T=ro:/Mount/SquashFS/Programs-U-Z=ro \
none /Mount/UnionFS/Programs  
 # Has to be mounted after the root unionfs or else it will hide this.
 mount -o loop,ro -t squashfs /Mount/CD-ROM/GoboLinux-files.squashfs \
/Mount/UnionFS/Files


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic