Make a RAMDisk for the Filesystems

Before you can load your filesystems onto the Assabet, you must first create a RAMDisk of the file systems. As the superuser, do the following:

  1. Change to the directory ~/assabet/ramdisk, where ~ represents the path to your development tree.

  2. Execute the following commands:

    mount -o loop ramdisk.img mnt
    dd if=/dev/zero of=new_ramdisk_img bs=1k count=12k
    mke2fs -m0 -F new_ramdisk_img
    mount -o loop new_ramdisk_img new
    cd mnt
    tar -cf - . | (cd ../new; tar -xpf -)
    cd ..
    umount new
    umount mnt
    cat new_ramdisk_img | gzip --best >ramdisk.img.gz

    If you do not have mke2fs in your command path, you can use /usr/local/censoft/assabet/bin/mke2fs.