-
I am interested to write installed programs to a hard disk. I understand that I have to remaster knx 3.8 in order to do it. So at the moment in fact it is not possible to save changes ... .
645 echo -n "${CRE}${BLUE}Creating unionfs and symlinks on ramdisk...${NORMAL}"
646 mkdir -p /UNIONFS
647 if test -n "$UNIONFS" && /bin/mount -t unionfs -o dirs=/ramdisk=rw:/KNOPPIX=ro /UNIONFS /UNIONFS; then
648 # We now have unionfs, copy some data from the initial ramdisk first
649 cp -a /etc/fstab /etc/auto.mnt /etc/filesystems /etc/mtab /UNIONFS/etc/
650 for i in bin boot dev etc sbin var lib opt root usr; do # Move directories to unionfs
651 if test -d /$i; then
652 mv /$i /$i.old && \
653 /KNOPPIX/lib/ld-linux.so.2 --library-path /KNOPPIX/lib /KNOPPIX/bin/ln -snf /UNIONFS/$i /$i && \
654 rm -rf /$i.old
655 else
656 ln -snf /UNIONFS/$i /$i
657 fi
658 done
659 for i in $(cd /UNIONFS; echo *);do # Create links for new stuff on /UNIONFS
660 test "$i" = "home" -o "$i" = "tmp" && continue
661 test -L "/$i" || test -d "/$i" || test -f "/$i" || ln -snf "/UNIONFS/$i" /$i
662 done
663 echo ""
664 echo "${GREEN}>> Read-only CD/DVD system successfully merged with read-write /ramdisk.${NORMAL}"
Similar Threads
-
By Becu in forum MS Windows & New to Linux
Replies: 5
Last Post: 04-08-2005, 04:12 AM
-
By eco2geek in forum The Lounge
Replies: 13
Last Post: 03-29-2005, 03:14 PM
-
By Steve F in forum Ideas
Replies: 2
Last Post: 10-13-2004, 07:49 AM
-
Replies: 35
Last Post: 10-03-2004, 01:39 AM
-
By Jack_ in forum General Support
Replies: 2
Last Post: 03-18-2004, 08:27 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell Precision 5820 Intel Xeon W-2102 64GB RAM 120GB SSD + 2TB HDD Quadro M2000
$319.99
Matched Pair __ Intel Xeon Gold 6152 2.1Ghz 22-Core 140W CPU SR3B4
$209.95
Dell Precision 5810 Workstation Xeon E5-1650 6C 3.5GHz 16GB 500GB Win10 K2200
$124.67
Lenovo Thinkstation P510 E5-1620 V4 16GB RAM 512GB SSD DVD Quadro M2000 W10 Pro
$164.95
Intel Xeon E5-2680 v4 SR2N7 14 Core 2.4 GHz Server Processor
$15.99
Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor
$49.99
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$4.50
Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5
$52.00
Lenovo ThinkStation P310 TWR Xeon E3-1245 v5 3.50GHz 32GB RAM 500GB SSD DVD-RW
$129.99
Dell Precision WorkStation T3500 PC BOOTS Xeon W3502 @2.67 4GB RAM NO HDD NO OS
$75.00