You are not logged in.

#1 2011-07-29 11:44:23

Pooh-Bah
Member
Registered: 2011-07-13
Posts: 47

mount tmpfs [solved]

added in /etc/fstab:

none /tmp tmpfs nodev,nosuid,noexec,nodiratime,size=128M 0 0

then

# mount -a

and

$ mount | grep /tmp
none on /tmp type tmpfs (rw,noexec,nosuid,nodev,nodiratime,size=128M)

but i'm not sure, how i can test it? if think it doesn't work.
i just open mp3 file in firefox to download, - it saved in /tmp, but no see changes in memory ($ htop, $ free)

edit:
oh, sorry. i just downloaded file bigger than 128mb, and firefox give error.
it works.

Last edited by Pooh-Bah (2011-07-29 12:14:32)

Offline

Board footer

Powered by FluxBB