public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Setting size of /dev/shm or cleaning up ancient /etc/fstab
@ 2013-05-08  5:55 Walter Dnes
  2013-05-08  6:43 ` Alan McKinnon
  2013-05-08 14:43 ` [gentoo-user] " Paul Hartman
  0 siblings, 2 replies; 4+ messages in thread
From: Walter Dnes @ 2013-05-08  5:55 UTC (permalink / raw
  To: Gentoo Users List

  I'm running mdev, so that may be related.  Here's my story... a script
I run to automatically process digital photos started blowing up on me.
After much bashing of head against brick wall, I determined that
/dev/shm now has an absolute max size of 10 megabytes!  Any larger files
could not be written to it.  Here's all the uncommented stuff in /etc/fstab


/dev/sda5               /         ext2     noatime,nodiratime,async        0 1
/dev/sda7               /home     reiserfs noatime,nodiratime,async,notail 0 1
/home/bindmounts/opt    /opt      auto     bind                            0 0
/home/bindmounts/var    /var      auto     bind                            0 0
/home/bindmounts/usr    /usr      auto     bind                            0 0
/home/bindmounts/tmp    /tmp      auto     bind                            0 0
/dev/sda6               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      iso9660         noauto,users,ro 0 0
/dev/sr0                /mnt/dvd        auto            noauto,users,ro  0 0
devpts  /dev/pts devpts defaults 0 0
none              /dev/shm        tmpfs rw,noatime,noexec,nosuid,nodev 0 0

  Meanwhile, my netbook, with the /dev/shm line commented out, runs just
fine and handles large files in /dev/shm.  I followed the example at
http://wiki.gentoo.org/wiki/Complete_Handbook/Configuring_the_system
with slightly more paranoid settings, e.g. noexec.  What gives?

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-09 20:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08  5:55 [gentoo-user] Setting size of /dev/shm or cleaning up ancient /etc/fstab Walter Dnes
2013-05-08  6:43 ` Alan McKinnon
2013-05-09 20:49   ` [gentoo-user] [SOLVED] " Walter Dnes
2013-05-08 14:43 ` [gentoo-user] " Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox