control: tags -1 +confirmed
[2012-09-22 19:08] Constantin Makshin <cmaks...@gmail.com> > I have TMPFS_SIZE set to 512 MiB and an entry in /etc/fstab: > tmpfs /tmp tmpfs defaults,noatime,nodiratime,nodev,nosuid 0 0 > > However, that value seems to be ignored as "df -h" says /tmp has the total > size > of 1.5 GiB (the system has 3 GiB of RAM). Running "mount" shows this: > tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,nodiratime) > > At first, lack of the "size=" option made me think that the value from > /etc/default/tmpfs is either ignored completely or reset to kernel default for > some reason. > > In an attempt to find at least some clues I copied /lib/init/mount- > functions.sh, added the line > echo "domount: $*" > to the very beginning of domount() and ran the following script: > -- > #!/bin/sh > > .. /lib/lsb/init-functions > .. /lib/init/tmpfs.sh > .. /tmp/mount-functions.sh > > mount_tmp mount > -- > > The result was: > domount: mount tmpfs shmfs /tmp tmpfs -onodev,nosuid,size=512m,mode=1777 > > So configuration options are recognized by the initialization scripts and > passed to the "mount" utility, but somehow get lost later. There are similar > /etc/fstab records for other tmpfs mounts (/run, /run/lock and /run/shm) but > only /tmp doesn't work as expected. Confirmed. I do not see bug at glance, but I will definitely take a closer look. Sorry for very late reply.