Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Resize tmpfs
PostPosted: Sat May 26, 2012 2:08 pm 
Offline
Newbie

Joined: Sat May 26, 2012 2:00 pm
Posts: 2
I've got a 512 running debian wheezy and my /tmp seems to be defaulting to 100m.

How can I go about resizing this?

The only place I can find it defined is in /etc/mtab, but I can't write to that file. (error writing mtab: Invalid argument)

it's not present in fstab, /etc/udev/rules.d or /dev/shm.

Thanks for any guidance!


Top
   
 Post subject:
PostPosted: Sat May 26, 2012 2:16 pm 
Offline
Senior Member

Joined: Tue Feb 19, 2008 10:55 am
Posts: 164
in /etc/fstab

none /tmp tmpfs defaults,size=70% 0 0

then

mount -o remount /tmp


Top
   
 Post subject:
PostPosted: Mon May 28, 2012 12:03 pm 
Offline
Newbie

Joined: Sat May 26, 2012 2:00 pm
Posts: 2
That did the trick, thank you!

Where are those tempfs mounts initially defined?


Top
   
 Post subject:
PostPosted: Mon May 28, 2012 12:15 pm 
Offline
Junior Member
User avatar

Joined: Tue Apr 28, 2009 8:57 pm
Posts: 38
Location: Pale Blue Dot
https://www.kernel.org/doc/Documentatio ... /tmpfs.txt


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 7 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group