Is there a way to re-size /dev/shm? I usually have ~400Mb of RAM free and 1G of swap so one would think that /dev/shm would be a nice place for cdbakeoven to create iso-files when burning CD:s. However /dev/shm is something like 200Mb and it doesn't grow wether I burn CD:s or fill it up with zeroes (dd if=/dev/zero bs=1024 count=1000000 of=/dev/shm/nisse).
On Thu. Sep. 19, 2002 at 23:03:23 +0200 GMT, a lone cry was heard from
Anders Dahlqvist
However /dev/shm is something like 200Mb and it doesn't grow
It looks like an upper bound was specified during the mounting of the tmpfs, please check your fstab. The command to mount a tempfs filesystem is: mount tmpfs /dev/shm -t tmpfs -o size=?m Set the ? to the upper bound in megabytes that you want for the filesystem. Charles -- Your job is being a professor and researcher: That's one hell of a good excuse for some of the brain-damages of minix. (Linus Torvalds to Andrew Tanenbaum)
2002-09-19 23.30 skrev Charles Philip Chan: : :: It looks like an upper bound was specified during the mounting of the :: tmpfs, please check your fstab. The command to mount a tempfs filesystem :: is: :: :: mount tmpfs /dev/shm -t tmpfs -o size=?m :: :: Set the ? to the upper bound in megabytes that you want for the :: filesystem. :: :: Charles Actually it is mounted by /etc/init.d/boot.swap. I made the changes there and it worked. Thanks!! -- "I like your game but we have to change the rules."
On Fri. Sep. 20, 2002 at 07:02:06 +0200 GMT, a lone cry was heard from
Anders Dahlqvist
Actually it is mounted by /etc/init.d/boot.swap. I made the changes there and it worked.
Thanks for the info. I have older base system which doesn't mount tmpfs by default. I have to add it manually to my fstab. If you want to learn more about tmpfs, please refer to this article: http://www-106.ibm.com/developerworks/library/l-fs3.html Actually, read the whole series of article on Linux filesystems, it is quite interesting. You can find the rest of the article in the resources section on the first one located at: http://www-106.ibm.com/developerworks/library/l-fs.html with the exception of part 7, which is located at: http://www-106.ibm.com/developerworks/linux/library/l-fs7/
Thanks!!
You are welcome. Charles -- Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)
participants (2)
-
Anders Dahlqvist
-
Charles Philip Chan