How to allocate space to directory in linux let's look in a details
Step 1 : View space CMD: df -h
allocate space to directory in linux
allocate space to directory in linux
CMD: sudo nano /etc/mtab
add following line
tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0
save ctl+o and ctrl+x (exit)
and another file
CMD: sudo nano /etc/fstab
Copy this line
tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0
save ctl+o and ctrl+x (exit)
CMD: mount /tmp
CMD: rebot //for permanent allocate space to tmp folder
No comments:
Post a Comment