[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mknod, /dev/hdb, /dev/cdrom problem

Andrea Vettorello wrote:

On Mon, 03 Jan 2005 21:38:34 +0200, Necati DEMiR <ndemir@demir.web.tr> wrote:


it is a cd-writer. i think debian knows a cd-writer is connected and
loads the module ide-scsi, but it doesn't create hdb,cdrom or sr* under
/dev/ directory.

it is not problem for me to use my cd-writer as a cd-rom. i wanna use it
as a cdrom. After solving this problem, i will try to use it as a
cd-writer, but my first aim is, to mount my cd-rom. OK? :)

First of all don't use SCSI emulation for your CD-ROM, then check if
in your /etc/udev/rules.d there's a symlink to ../cd-aliases.rules, if
not present create it, then restart udev...

i did the followings;

# ls -al /etc/udev/rules.d/
total 8
drwxr-xr-x  2 root root 4096 Dec 26 18:37 .
drwxr-xr-x  5 root root 4096 Jan  3 19:46 ..
lrwxrwxrwx 1 root root 19 Dec 26 18:37 cd-aliases.rules -> ../cd-aliases.rules
lrwxrwxrwx  1 root root   13 Dec 26 18:37 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 12 Dec 26 18:27 z_hal-plugdev.rules -> ../hal.rules

# cd /etc/init.d

# ./udev restart
Recreating device nodes...done.

# ls /dev/
MAKEDEV hda7 ram0 shm tty19 tty35 tty51 ttyS1 ttyS26 ttyS42 vbi0 adsp hda8 ram1 snd tty2 tty36 tty52 ttyS10 ttyS27 ttyS43 vcs agpgart hw_random ram10 sndstat tty20 tty37 tty53 ttyS11 ttyS28 ttyS44 vcs1 audio initctl ram11 stderr tty21 tty38 tty54 ttyS12 ttyS29 ttyS45 vcs7 console input ram12 stdin tty22 tty39 tty55 ttyS13 ttyS3 ttyS46 vcsa core kmem ram13 stdout tty23 tty4 tty56 ttyS14 ttyS30 ttyS47 vcsa1 dsp kmsg ram14 tty tty24 tty40 tty57 ttyS15 ttyS31 ttyS48 vcsa7 fb0 loop ram15 tty0 tty25 tty41 tty58 ttyS16 ttyS32 ttyS49 video0 fd mem ram2 tty1 tty26 tty42 tty59 ttyS17 ttyS33 ttyS5 zero fd0 mixer ram3 tty10 tty27 tty43 tty6 ttyS18 ttyS34 ttyS50 full net ram4 tty11 tty28 tty44 tty60 ttyS19 ttyS35 ttyS51 hda null ram5 tty12 tty29 tty45 tty61 ttyS2 ttyS36 ttyS52 hda1 port ram6 tty13 tty3 tty46 tty62 ttyS20 ttyS37 ttyS53 hda2 ppp ram7 tty14 tty30 tty47 tty63 ttyS21 ttyS38 ttyS6 hda3 printer ram8 tty15 tty31 tty48 tty7 ttyS22 ttyS39 ttyS7 hda4 psaux ram9 tty16 tty32 tty49 tty8 ttyS23 ttyS4 ttyS8 hda5 ptmx random tty17 tty33 tty5 tty9 ttyS24 ttyS40 ttyS9 hda6 pts rtc tty18 tty34 tty50 ttyS0 ttyS25 ttyS41 urandom

as you see there is no hdb or cdrom still!

Necati DEMiR
My Public Key => http://demir.web.tr/ndemir.asc

Reply to: