[SM-Discuss] /run directory and FHS

Ladislav Hagara ladislav.hagara at unob.cz
Thu Mar 31 06:19:00 EDT 2011


>> GIT changes to master grimoire by Ladislav Hagara <hgr at vabo.cz>:
>>
>>  disk/udev/DETAILS |    2 +-
>>  disk/udev/HISTORY |    3 +++
>>  2 files changed, 4 insertions(+), 1 deletion(-)
>>
>> New commits:
>> commit 373ffb0501fa77aa6b2359a7e2b4fe7848a859c1
>> Author: Ladislav Hagara <hgr at vabo.cz>
>> Commit: Ladislav Hagara <hgr at vabo.cz>
>>
>>     udev 167
>>
>>     udev 167
>>     ========
>>     Bugfixes.
>>
>>     The udev runtime data moved from /dev/.udev/ to /run/udev/. The
>>     /run mountpoint is supposed to be a tmpfs mounted during early boot,
>>     available and writable to for all tools at any time during bootup,
>>     it replaces /var/run/, which should become a symlink some day.
>>
>>     If /run does not exist, or is not writable, udev will fall back using
>>     /dev/.udev/.
>>
> 
> who is supposed to create /run and mount it?



We have to discuss this. First of all udev 167 works without /run. The
question is what to do if they remove this fall back in the future.

It is discussed, for example "What's this /run directory doing on my
system and where does it come from?" [1]. Seems it comes from Fedora 15
and it isn't yet in FHS [2].

Of course we can create it by spell smgl-fhs. Also we can add for
example /media directory, users usual create manually.

One of next update of udev spell will probably need some test of
/etc/fstab if there is a /run mount and if not we should write some
warning / suggestion what user should do.


[1] http://www.spinics.net/lists/fedora-devel/msg149877.html
[2] http://www.pathname.com/fhs/

-- 
Ladislav Hagara



More information about the SM-Discuss mailing list