×Sunday 09 May 2004 21:12, ×××× ×× ××× alex rait:
> I was trying to compile my 2.6.5 kernel in debian, when after some actions
> I can't recall now, the /dev directory underwent some modifications:
> Somehow there appeared subfolders, and the dev files could be found only
> it's category. For instance in the folder /dev/partitions I've found my
> harddrives...There was no sign to the long list of files that I was used to
> in kernel 2.4 I tried to do the same with slackware and other debian I had,
> but I wasn't successful. Does anyone knows how to configure the kernel for
> it, or maybe it has no relation to it?

devfsd while still not 100% stable was incorporated into 2.6. 
The lucky among us who are not using a distro that still does not consider 2.4 
a non-stable kernel - even thought its been over two years in the market - 
and offers it as an unrecommended option only, had devfsd for over a year 
now.
Basicly devfsd gets rid of the mess that /dev is and simply does not show you 
nodes for hardware you don't have (no more 200 /dev/ttyS* nodes when you only 
have one serial ports) and does away with the single huge list that makes it 
hard to find what you want. a common workaround for dumb software that does 
not let you configure where the devices are (the sound card has always been 
and always will be /dev/dsp, else the universe is coming to an end) is to 
links the "old" device names to the categorised items:
[EMAIL PROTECTED] odeda]$ ll /dev/hd*
lr-xr-xr-x  1 root root 30 Apr 28 18:39 /dev/hda -> 
ide/host0/bus0/target0/lun0/cd
lr-xr-xr-x  1 root root 32 Apr 28 21:39 /dev/hdc -> 
ide/host0/bus1/target0/lun0/disc
lr-xr-xr-x  1 root root 33 Apr 28 21:39 /dev/hdc1 -> 
ide/host0/bus1/target0/lun0/part1
lr-xr-xr-x  1 root root 33 Apr 28 21:39 /dev/hdc2 -> 
ide/host0/bus1/target0/lun0/part2
lr-xr-xr-x  1 root root 33 Apr 28 21:39 /dev/hdc3 -> 
ide/host0/bus1/target0/lun0/part3

-- 
Oded

::..
Our greatest glory is not in never failing, but in rising every time we fail.
        -- Confucius

================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to