Question on /var/run, tmpfs and initscripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

I've been optimizing a system for flash, and wanted to have /var/run
be a tmpfs mount, so that these writes to not wear down the flash/ssd.

I noticed only a few initscripts create their own directory in /var/run/
if they need it.

I've read http://fedoraproject.org/wiki/FCNewInit and
http://fedoraproject.org/wiki/FCNewInit/Initscripts but neither one
mentions anything about /var/run being tmpfs. Browsing the FSB does
not yield anything either.

Should I consider it a bug if an initscript is using a subdirectory
in /var/run/ but does not check/create it on being called with start?

And is there a convention for when to use files directly in /var/run/
and when to create a subdirectory?

Paul

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux