
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LNX.2.00.1111210048420.6471@Telcontar.valinor> On Sunday, 2011-11-20 at 01:08 +0100, Rüdiger Meier wrote:
On Sunday 20 November 2011, Carlos E. R. wrote:
If /tmp became tmpfs then this happens hopefully only whith fresh installtion and not after zypper dup!?
My only test install is fresh, and virtual.
Elanor:~ # mount | grep tmp devtmpfs on /dev type devtmpfs (rw,relatime,size=372396k,nr_inodes=93099,mode=755) tmpfs on /dev/shm type tmpfs (rw,relatime) tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
What's this? /var/run?
That's a different one. There is now a /run, and in my test system it is populated: Filesystem Size Used Avail Use% Mounted on rootfs 9.9G 3.4G 6.1G 36% / devtmpfs 364M 36K 364M 1% /dev tmpfs 370M 0 370M 0% /dev/shm tmpfs 370M 572K 370M 1% /run /dev/sda2 9.9G 3.4G 6.1G 36% / tmpfs 370M 0 370M 0% /sys/fs/cgroup tmpfs 370M 572K 370M 1% /var/run tmpfs 370M 0 370M 0% /media tmpfs 370M 572K 370M 1% /var/lock Having those 370M (I hope shared between all of them) it is an issue for me, because this test system is a virtual machine on VMplayer, with only "756944k" of RAM. Both /run and /var/run are different filesystems, but they contain the same files, as far as I can see. Ahhh... The link Cristian posted explains it. A bind mount. They propose to make symlinks later on.
I don't see why /media has to be a tmpfs either. It is used for automounting.
/media is made to hold only auto created dirs for auto mounting. Making it tmpfs might be an elegant way to get it cleared every reboot without needing scripts to do that. In opposite to /tmp it will not eat much swap space.
But I don't see why it is needed. Are there that many mounts per minute so that we need to run the /media on ram? - -- Cheers, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk7JkvIACgkQtTMYHG2NR9V5JwCgk7zhAEiKO5/o5rnXk+AiETci nfUAnRs/NWmIVe+8vHzM092KKuuyC8IK =IoJP -----END PGP SIGNATURE-----