Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tmpfs fstab options
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wallace1819
Apprentice
Apprentice


Joined: 17 Aug 2002
Posts: 195
Location: VT

PostPosted: Mon Oct 25, 2004 2:47 pm    Post subject: tmpfs fstab options Reply with quote

In the past I have always had /tmp on a seperate partition and defined in /etc/fstab as such...

Code:
/dev/hdaX             /tmp            reiserfs        noatime,notail,nodev,nosuid,noexec      0 0


I have moved to using the tmpfs /tmp entry like this...

Code:
tmpfs                   /tmp            tmpfs           defaults                                0 0


and removed the first entry.

Is is safe to do this now instead?

Code:
tmpfs      /tmp      tmpfs         noatime,notail,nodev,nosuid,noexec            0 0


or will this cause system wide hate and discontent?

Thx,
Wally
Back to top
View user's profile Send private message
sf_alpha
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 136
Location: Bangkok, TH

PostPosted: Mon Oct 25, 2004 3:04 pm    Post subject: Reply with quote

notail is for reiserfs.

I think use only nodev,nosuid,noexec

noatime usually intend for static or archived content, not temporary. Some programs may need it.

tmpfs filesystem size can be specified with size=bytes option Default is half of you physical memory. (tmpfs is swapable like other processes image)
_________________
Gentoo Mirrors in Thailand (and AP)
http://gentoo.in.th
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum