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
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.
Am 7/30/20 um 10:42 AM schrieb Ancor Gonzalez Sosa:
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.
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
autoinstall@lists.opensuse.org