Initrd /dev scripts?

Eric Brunson brunson at brunson.com
Fri Jun 2 21:29:55 UTC 2006


Mikkel L. Ellertson wrote:
> Clint Olson wrote:
>   
>> Hmm... so, would it be possible to, say, make a tarball of the /dev
>> directory when FC5 is booted normally, and restore the tarball when
>> booted in coLinux without udev to make the associations permanent?  I've
>> never tried tarring device nodes before...
>>
>> Clint Olson
>>
>>     
> Well, I have not tried it, but it may work. Give it a try and see
> what happens. Just make sure you do not overwrite the entries that
> are there, or make a backup of the /dev directory before you write
> the new entries. There may also be a script in the /dev directory
> when you boot with coLinux that will create the device entries for
> you... I have not looked to see if it is still there.
>
> Mikkel
>   
You could just copy the MAKEDEV script into your filesystem and use it 
to create whatever device nodes you need.  And overwriting an existing 
device node won't cause problems, it's not a real file, just don't 
change its device numbers.




More information about the fedora-list mailing list