Add this line (for compatibility with other tools respect how tabs or spaces are used in fstab) "none /dev/shm tmpfs size=32m 0 0" to /etc/fstab, then 'mount -a' (lazy way), then check with 'mount' and you should have a ramdisk of 32MB. How does it work? Copy some files to it and make a tarball of it: 'cp -r /etc/rc.d /dev/shm; tar -vcjf /tmp/rcd.tar.bz2 && rm -rf /dev/shm/rc.d'. You see, it works just like a filesystem.
|