[Nix-dev] Re: udev-153

Eelco Dolstra e.dolstra at tudelft.nl
Fri Apr 23 11:06:31 CEST 2010


Hi,

Yury G. Kudryashov wrote:

>> Hi,
>>
>>> I propose to use /var/run/firmware:/root/test-firmware path, and symlink
>>> /var/run/firmware to /nix/store/hash-firmware. /nix/store/hash-firmware
>>> will contain symlinks to all files in hardware.firmware directory. This
>>> will not allow us to modify the set of firmware files symlinked to
>>> /var/run/firmware after the system is built, but for emergency case we'll
>>> have impure /root/test-firmware path.
>> Sounds good, but to improve the atomicity of switching to a new
>> configuration, you could use /var/run/current-system/firmware instead of
>> /var/run/firmware (and then create a "firmware" symlink in the "system"
>> derivation).
> Actually, I've commited /etc/firmware yesterday. Of course, /etc/firmware 
> will be symlinked to /etc/static/firmware.

/etc/firmware is a strange place for binary blobs like firmware...

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list