Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Ubuntu & Debian Ramdisk
Transcript of Ubuntu & Debian Ramdisk
$shell > sudo mount -t tmpfs tmpfs /media/ramdisk Mount on Start up edit file /etc/fstab add to last line tmpfs /media/ramdisk tmpfs defaults,mode=1777 0 0 And reboot System Compressed read-only file system for Linux. SquashFS compresses files, inodes and directories, and supports block sizes up to 1 MB for greater compression.
SquashFS is also free software (licensed under the GPL) for accessing SquashFS filesystems.
SquashFS is intended for general read-only file system use and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. The standard version of SquashFS uses gzip compression, although there is also a project that brings LZMA compression to SquashFS. Install squasfsh tools sudo apt-get install squashfs-tools Create .sqsh file mksquashfs /usr/lib/jvm/java-6-sun-188.8.131.52 /home/nancom/jdk6.sqsh Unsquash unsquashfs [options] target [files/directories to extract] $shell > sudo mount /home/nancom/jdk6.sqsh /media/ramdisk -t squashfs -o loop sudo update-alternatives --install "/usr/bin/java" "java" "/media/ramdisk/bin/java" 1 Check install java complete sudo update-alternatives --config java !! And choose java in ram !! !! Finish !! !! Make it permanant on startup !! Edit /etc/fstab add line /home/nancom/jdk6.sqsh /media/ramdisk squashfs ro,defaults,loop 0 0