On 02/21/2011 09:21 PM, Brian Long wrote:
On 2/21/11 1:56 PM, carlopmart wrote:
On 02/21/2011 01:17 PM, carlopmart wrote:
On 02/21/2011 12:46 PM, Masopust, Christian wrote:
dumb question.... did you remount tmpfs after change in fstab?
christian
Yes, and works. But if I reboot my laptop, tmpfs uses only 50% of
memory ...
Please, any ideas??
The mount man page says the following:
"The tmpfs mount options for sizing ( size, nr_blocks, and nr_inodes)
accept a suffix k, m or g for Ki, Mi, Gi (binary kilo, mega and
giga) and can be changed on remount."
If % does not work in RHEL 6, have you tried "2g" instead of "2G"? :-)
/Brian/
Yes, I have tried all options like in man pages is explained ... without luck.
My fstab:
UUID=ea53b08b-1557-4e37-b88a-e3b672bcf569 / ext4 defaults
1 1
/dev/mapper/cryptvol-datavol /export/data ext4 defaults 1 2
/dev/mapper/luks-ac5ed44c-f316-4b3a-9b2d-c3c15228ce04 /export/home ext4
defaults 1 2
UUID=d16b644b-020f-4693-bc21-e5d9aa9b8e7b swap swap defaults
0 0
tmpfs /dev/shm tmpfs size=2g 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
--
CL Martinez
carlopmart {at} gmail {d0t} com
_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list