Re: Possibly silly question about creating entries in /dev

From: Scott R. <fluid_at_sfmidimafia.com>
Date: Wed, 16 Apr 2003 13:00:40 -0700
Dan Nelson wrote:
> In the last episode (Apr 16), Poul-Henning Kamp said:
> 
>>In message <3E9DB047.50202_at_sfmidimafia.com>, "Scott R." writes:
>>
>>>This may be a stupid question, but hopefully it is easily
>>>answerable.  I've done some poking around on the man page for devfs
>>>and I can't really find anything that tells me how to create a
>>>"fictitious" entry.  Some apps that play or read cd's need the
>>>device /dev/cdrom to exist for them to work.  I can create a link
>>>manually just using ln -sf /dev/acd0 /dev/cdrom and the entry will
>>>stay there until I reboot the machine.  Upon reboot, the entry is
>>>wiped out as devfs re-initializes itself (this is my guess anyway). 
>>>Can anyone tell me how to properly create these types of device
>>>entries so that they are recreated each time the system boots? 
>>>There's either not much documentation on this subject or I'm just
>>>not looking in the right place.  Pointers and suggestions will be
>>>greatly appreciated.
>>
>>I belive /etc/rc.devfs was meant for this sort of stuff, but I am not
>>sure I know if this is still politically correct in RCng days.
> 
> 
> /etc/rc.d/devfs will source /etc/rc.devfs if it exists, so it will
> still work.

Sure 'nuff, there it is!  Thanks for the pointer.  I was hoping the 
answer would be this simple.  :)
Received on Wed Apr 16 2003 - 11:00:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC