Hi,
I am new to the list, so please forgive and correct me if this is
out of order.
Quoting David A. Bandel on Wed, Aug 08, 2001 at 09:33:51PM -0500 :
> Are you talking about the new devfs file system that changes all the
> names? While I believe the system is finally in a somewhat stable state
> (it's definitely useable, since I have no files in /dev when the root
> partition is mounted via another running system), I don't think it's
> widely adopted. Knowledge of this area might be somewhat limited.
Although limited knowledge exists, this is the preferred method for
managing devices in the 2.4 release of Linux. It should be covered
wherever it is decided to cover mknod. I actually teach this in my
fundamentals course since it is necessary to create device files in
some cases just to get functionality from common hardware (eg. IDE,
SCSI, Audio, USB, etc.)
> If you're talking about the traditional /dev and the need to create
> special nodes, at this level, MAKEDEV would not help, since it doesn't
> know about _all_ devices, just common ones. New devices must be created
> using mknod and a knowledge of the type (char or block, c or b) and the
> device major and minor numbers (name is unimportant here, since the
> kernel handles it via its major minor). I would expect level 1 to have
> general knowledge of MAKEDEV.
I agree, however, there appears to be no mention of this in level 1.
There is mention of /dev in comments to 1.104.1 but I was not able
to find any mention of /dev or mknod or MAKEDEV anywhere in
1.104 (Devices, Linux File Systems, Filesystem Hierarchy Standard)
or 1.105 (Kernel).
> > * lsdev (mentioned in 2.4.2 "Adding New Hardware" and 2.13.5 "General
> > Trouble Shooting") is not universal, maybe a Red Hat ideosyncracy?
>
> lsdev ?? never heard of it (and its not on any of my systems)
It is part of the procinfo package. It basically summarizes information
found in /proc/dma /proc/interrupts and /proc/ioports.
Cheers,
Ed
--
Ed Riddle
VP Product Engineering, Bradford Learning
voice: 925.924.0016 fax: 925.416.1161
[EMAIL PROTECTED] www.bradfordlearning.com
--
This message was sent from the lpi-examdev mailing list.
Send `unsubscribe lpi-examdev' in the subject to [EMAIL PROTECTED]
to leave the list.