home *** CD-ROM | disk | FTP | other *** search
/ Caldera Network Desktop 1.0 / caldera-network-desktop-1.0.bin / trees / mkram2 < prev    next >
Text File  |  1995-09-03  |  319b  |  15 lines

  1. #!/bin/sh
  2.  
  3. umount /mnt/floppy > /dev/null 2> /dev/null # just in case
  4.  
  5. echo "Insert a floppy into /dev/fd0."
  6. read line
  7.  
  8. /sbin/mke2fs /dev/fd0
  9. mount -t ext2 /dev/fd0 /mnt/floppy
  10. (cd ramdisk2; tar cvSpf - *) | (cd /mnt/floppy; tar xSpf -)
  11. umount /mnt/floppy
  12. dd if=/dev/fd0 of=../images/ramdisk2.img bs=1440k
  13.  
  14. echo "Done"
  15.