[opensuse-autoinstall] /tmp as tmpfs: no entry in fstab
Hello, we use autoyast for a long time now. We always configured /tmp as a tmpfs. For that, we add <drive> <device>/dev/tmpfs</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <create config:type="boolean">true</create> <filesystem config:type="symbol">tmpfs</filesystem> <format config:type="boolean">true</format> <fstopt>size=512m,nodev,mode=1777</fstopt> <mount>/tmp</mount> </partition> </partitions> <type config:type="symbol">CT_TMPFS</type> <use>all</use> </drive> But with Leap 15.2 , there is no entry for that in /etc/fstab anymore. Has something changed here? Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On 7/30/20 10:22 AM, Daniel Spannbauer wrote:
Hello,
we use autoyast for a long time now. We always configured /tmp as a tmpfs.
[...]
But with Leap 15.2 , there is no entry for that in /etc/fstab anymore.
Has something changed here?
In Leap 15.X a new YaST storage stack (called storage-ng) was introduced. At that point, the decision was to not configure tmpfs through fstab because systemd offers alternative (and more flexible) ways to do so. So ignoring that drive entry is actually the expected behavior in 15.2. In the end, it looks like that will change again in 15.3, since tmpfs will likely become the default for /tmp and most people still want to configure it through fstab. Cheers. -- Ancor González Sosa YaST Team at SUSE Software Solutions -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Am 7/30/20 um 10:42 AM schrieb Ancor Gonzalez Sosa:
Hello,
we use autoyast for a long time now. We always configured /tmp as a tmpfs.
[...]
But with Leap 15.2 , there is no entry for that in /etc/fstab anymore.
Has something changed here? In Leap 15.X a new YaST storage stack (called storage-ng) was introduced. At that point, the decision was to not configure tmpfs
On 7/30/20 10:22 AM, Daniel Spannbauer wrote: through fstab because systemd offers alternative (and more flexible) ways to do so.
So ignoring that drive entry is actually the expected behavior in 15.2.
In the end, it looks like that will change again in 15.3, since tmpfs will likely become the default for /tmp and most people still want to configure it through fstab.
Thanks for the explanation. For me it doesn't matter if it is in fstab or not, fstab isn't a must. I need tmp as tmpfs :) Can it still be done with systemd? Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (2)
-
Ancor Gonzalez Sosa
-
Daniel Spannbauer