rc.d/tmp: tmpfs support not entirely complete?
- Reply: Warner Losh : "Re: rc.d/tmp: tmpfs support not entirely complete?"
- Reply: Tomek CEDRO : "Re: rc.d/tmp: tmpfs support not entirely complete?" {{#reference}}
- In reply to: {{ref.name}}: "{{ref.subject}}"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Sep 2025 14:09:59 UTC
I've just had a quick look at rc.d/tmp and noticed that it uses mount_md function for the actual mounting. The function is quite smart and can use either tmpfs or a memory disk depending on the configuration. But mount_tmpmfs in rc.d/tmp tests only for an md device when it checks whether /tmp is already a "memory filesystem". -- Andriy Gapon