Difference between revisions of "Ramdisk"
From Alessandro's Wiki
(Created page with " * /mnt/diskcache vi /etc/fstab mkdir -p /mnt/diskcache/1 mount -t tmpfs -o size=64m tmpfs /mnt/diskcache/1 tmpfs /mnt/diskcache/1 tmpfs nodev,nosuid,noexec,...") |
(No difference)
|
Latest revision as of 19:02, 8 December 2015
- /mnt/diskcache
vi /etc/fstab
mkdir -p /mnt/diskcache/1
mount -t tmpfs -o size=64m tmpfs /mnt/diskcache/1
tmpfs /mnt/diskcache/1 tmpfs nodev,nosuid,noexec,nodiratime,size=64M 0 0
echo "tmpfs /mnt/diskcache/1 tmpfs nodev,nosuid,noexec,nodiratime,size=64M 0 0
> " >> /etc/fstab
mount -a df -hT /mnt/diskcache/1