On Mon, 12 Nov 2018 17:16:10 -0500
Sam Varshavchik wrote:
At least not until someone goes ahead and implements something that
preserves existing /dev ownership and permission before shutting down, and
restoring it at the next boot. That will never happen, of course, for the
very precise reason of /dev being the way it is, and, more importantly, why.
It's called running a script with a few second delay from rc.local :-).
I used to create a /dev/dvd link that way till I finally found
all the settings in user program that had "dev/dvd" stored
in them and changed them to /dev/sr0 :-).
Of course systemd has made it virtually impossible to
background anything in rc.local, my rc.local now looks like
#!/bin/sh
/usr/bin/at -M now <<'HERE' > /dev/null 2>&1
/etc/rc.d/the-real-rc.local
HERE
And everything I used to run in rc.local now gets run
from the-real-rc.local, untouched by systemd meddling
(resistance it futile, you will be assimilated).