Advertisement
Guest User

Untitled

a guest
Nov 30th, 2012
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #live_dest="ram"
  2. echo "Copying CD contents to ram"
  3. mkdir /store
  4. #TODO: add a test for amount of ram here
  5. mount -t tmpfs -o size=1G none /store
  6. mkdir /store/casper
  7. cp /cdrom/casper/*.squashfs /store/casper/
  8. echo "CD-Rom has been unmounted, it's safe to eject!"
  9. umount /cdrom
  10. mount -o bind /store /cdrom
  11.  
  12.  
  13. now if this is being done on usb fdd then will any of this amount to anything
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement