-
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

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$100.00

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$39.99

SSD 880EVO SATA III 2.5 4TB INTERNAL SOLID STATE DRIVE
$189.99

Crucial MX500 250GB 2.5" SATA III SSD - Preowned
$29.00

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...
$30.00