Отправляет email-рассылки с помощью сервиса Sendsay

Re: CDROM вешает систему!

Извиняюсь. Лоханулся. Я имел ввиду не это, а насторойку устройств в /dev

Может я и ошибаюсь и многого не знаю, но вот факты.
В fstab у меня записано:
none /mnt/cdrom supermount
dev=/dev/hdb,fs=auto,ro,--,iocharset=koi8-r,codepage=866,umask=0 0 0

Смотрим на /dev/hda. Ссылка указывает на
/dev/ide/host0/bus0/target0/lun0/disc

Ссылка /dev/hdb содержит аналогичный маршрут, но его не существует!!!
Кто виноват?

Читаем /usr/src/linux/Documentation/filesystems/dev/fs/README:

Devfs is an alternative to "real" character and block special devices
on your root filesystem. Kernel device drivers can register devices by
name rather than major and minor numbers. These devices will appear in
devfs automatically, with whatever default ownership and
protection the driver specified. A daemon (devfsd) can be used to
override these defaults. Devfs has been in the kernel since 2.3.46.
...
An example of how big /dev can grow is if we consider SCSI devices:

host 6 bits (say up to 64 hosts on a really big machine)
channel 4 bits (say up to 16 SCSI buses per host)
id 4 bits
lun 3 bits
partition 6 bits

Где же глюк если не в devfs?

--
С уважением, Иван

-*Информационный канал Subscribe.Ru
Написать в лист: mailto:comp.soft.linux.discuss-list@subscribe.ru
Отписаться: mailto:comp.soft.linux.discuss--unsub@subscribe.ru

http://subscribe.ru/ mailto:ask@subscribe.ru

Ответить   Wed, 14 Jan 2004 15:07:43 +0200 (#54513)