Skip to main content

tmpfs size is returning old value after reboot

On Redhat EL 6 /dev/shm is returning the old value even if it is specified in the fstab. This is because tmpfs is never remounted during the boot process. Resolution for this is simply adding remount command to /etc/rc.local file.

mount -o remount,size=5G /dev/shm


Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.