Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-29 Thread Rick Thomas
On Jul 28, 2014, at 4:59 PM, Rick Thomas rbtho...@pobox.com wrote: On Jul 28, 2014, at 3:16 PM, Michael Biebl bi...@debian.org wrote: In this particular case that would mean creating a directory /etc/systemd/system/tmp.mount.d/, then placing a .conf file in there setting your custom

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-29 Thread Andrei POPESCU
On Lu, 28 iul 14, 16:34:14, Rick Thomas wrote: mode=1777 sets all accesses allowed (it is “/tmp” after all…) and also sets the “sticky bit” which (according to stat(2)) “on a directory means that a file in that directory can be renamed or deleted only by the owner of the file, by the

Re: [OT] Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-29 Thread Rick Thomas
On Jul 29, 2014, at 2:05 AM, Andrei POPESCU wrote: Sure, it's a tmpfs, and the penalty for updating atime is probably much lower than any other conventional storage (though /tmp contents might end up being swapped), but is there any software that actually relies on atime for files in

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-28 Thread Andrei POPESCU
On Du, 27 iul 14, 17:31:37, Rick Thomas wrote: I still can’t figure out how to exercise control over the size and other mount options, the way I used to be able to do under sysvinit using options in /etc/default/tmpfs . Create /etc/systemd/system/tmp.mount with something like: .include

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-28 Thread Michael Biebl
Am 28.07.2014 22:00, schrieb Andrei POPESCU: On Du, 27 iul 14, 17:31:37, Rick Thomas wrote: I still can’t figure out how to exercise control over the size and other mount options, the way I used to be able to do under sysvinit using options in /etc/default/tmpfs . Create

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-28 Thread Rick Thomas
On Jul 28, 2014, at 1:00 PM, Andrei POPESCU andreimpope...@gmail.com wrote: As a side note, I'd also be interested in the reasons for the default options set by the systemd tmp.mount unit (mode=1777,strictatime), a superficial web search did not find anything. Just a guess… mode=1777 sets

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-28 Thread Rick Thomas
On Jul 28, 2014, at 3:16 PM, Michael Biebl bi...@debian.org wrote: In this particular case that would mean creating a directory /etc/systemd/system/tmp.mount.d/, then placing a .conf file in there setting your custom options. That all said, using /etc/fstab is perfectly fine if you need

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-28 Thread Michael Biebl
Am 29.07.2014 01:59, schrieb Rick Thomas: so I would: mkdir /etc/systemd/system/tmp.mount.d/ echo “[Mount]” /etc/systemd/system/tmp.mount.d/tmp.mount.conf echo “Options=mode=1777,strictatime,size=20%” /etc/systemd/system/tmp.mount.d/tmp.mount.conf The file name is

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-27 Thread Rick Thomas
On Jul 23, 2014, at 2:50 AM, Michael Biebl bi...@debian.org wrote: Hi Rick Am 23.07.2014 um 09:12 schrieb Rick Thomas: I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /etc/default/tmpfs. But I don’t get /tmp/mounted on tmpfs. /etc/default/tmpfs is a sysvinit specific

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-25 Thread Rick Thomas
On Jul 24, 2014, at 10:49 AM, Andrei POPESCU andreimpope...@gmail.com wrote: On Mi, 23 iul 14, 00:12:25, Rick Thomas wrote: I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /dev/default/tmpfs . But I don’t get /tmp/mounted on tmpfs. What's wrong with fstab? Kind regards,

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-25 Thread Michael Biebl
Am 25.07.2014 22:19, schrieb Rick Thomas: On Jul 24, 2014, at 10:49 AM, Andrei POPESCU andreimpope...@gmail.com wrote: On Mi, 23 iul 14, 00:12:25, Rick Thomas wrote: I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /dev/default/tmpfs . But I don’t get /tmp/mounted on tmpfs.

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-24 Thread Andrei POPESCU
On Mi, 23 iul 14, 00:12:25, Rick Thomas wrote: I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /dev/default/tmpfs . But I don’t get /tmp/mounted on tmpfs. What's wrong with fstab? Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian

Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-23 Thread Rick Thomas
I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /dev/default/tmpfs . But I don’t get /tmp/mounted on tmpfs. I’ve got plenty of ram and swap: rbthomas@jessie:~$ cat /proc/meminfo | egrep '^(Mem|Swap)Total:' MemTotal:1017648 kB SwapTotal: 2928636 kB Here’s my

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-23 Thread Michael Biebl
Hi Rick Am 23.07.2014 um 09:12 schrieb Rick Thomas: I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /dev/default/tmpfs . But I don’t get /tmp/mounted on tmpfs. /etc/default/tmpfs is a sysvinit specific config file. If you are running systemd, enabling /tmp on tmpfs is as simple

Re: Latest Jessie doesn't respond to /etc/default/tmpfs RAMTMP=yes

2014-07-23 Thread Javier Barroso
Hello, First, Michael thank for your Debian work, On Wed, Jul 23, 2014 at 11:50 AM, Michael Biebl bi...@debian.org wrote: Hi Rick Am 23.07.2014 um 09:12 schrieb Rick Thomas: I’m trying to get /tmp on tmpfs, so I put “RAMTMP=yes” in /dev/default/tmpfs . But I don’t get /tmp/mounted on