[Techtalk] HP 9100i CD-Writer on Mandrake 8.2
Brenda Bell
k15a-list-linuxchix at theotherbell.com
Tue Sep 23 12:27:10 EST 2003
First off, thanks to everyone for pointing me to all sorts of great info.
I think I'm starting to grasp how this stuff works.
Quoting John Clarke <johnc+linuxchix at kirriwa.net>:
> I don't have one, but according to the CD-writing HOWTO:
>
> http://www.linux.org/docs/ldp/howto/CD-Writing-HOWTO-1.html
>
> it's supported by cdrecord.
This looked like a great place to start, but I think I've already made my
first mistake.
Chapter 2 says:
The listing below shows a set of commands you could start with. The
commands create device file entries under /dev unless they already exists.
test `whoami` = 'root' || echo "You must be root to execute the commands."
cd /dev/
umask -S u=rwx,g=rwx,o-rwx
[ -f loop0 ] \
|| ./MAKEDEV loop \
|| for i in 0 1 2 3 4 5 6 7; do mknod loop$i b 7 $i; done
[ -f sg0 -o -f sga ] \
|| ./MAKEDEV sg \
|| for i in 0 1 2 3 4 5 6 7; do mknod sg$i c 21 $i; done
I copied and executed these commands only to find out that I don't have
MAKEDEV. The man page is there, but the command itself is not. The end
result is that some of the commands to create devices succeeded and others
failed. From /dev, ls -l loop* sg* displays the following:
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop0 -> loop/0
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop1 -> loop/1
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop2 -> loop/2
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop3 -> loop/3
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop4 -> loop/4
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop5 -> loop/5
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop6 -> loop/6
lr-xr-xr-x 1 root root 6 Sep 22 22:48 loop7 -> loop/7
crw-r--r-- 1 root root 21, 0 Sep 22 22:49 sg0
crw-r--r-- 1 root root 21, 1 Sep 22 22:49 sg1
crw-r--r-- 1 root root 21, 2 Sep 22 22:49 sg2
crw-r--r-- 1 root root 21, 3 Sep 22 22:49 sg3
crw-r--r-- 1 root root 21, 4 Sep 22 22:49 sg4
crw-r--r-- 1 root root 21, 5 Sep 22 22:49 sg5
crw-r--r-- 1 root root 21, 6 Sep 22 22:49 sg6
crw-r--r-- 1 root root 21, 7 Sep 22 22:49 sg7
loop:
total 0
brw-r----- 1 root root 7, 0 Dec 31 1969 0
brw-r----- 1 root root 7, 1 Dec 31 1969 1
brw-r----- 1 root root 7, 2 Dec 31 1969 2
brw-r----- 1 root root 7, 3 Dec 31 1969 3
brw-r----- 1 root root 7, 4 Dec 31 1969 4
brw-r----- 1 root root 7, 5 Dec 31 1969 5
brw-r----- 1 root root 7, 6 Dec 31 1969 6
brw-r----- 1 root root 7, 7 Dec 31 1969 7
Given the missing MAKEDEV, I'm sure this is not correct, but I'm not sure
what I should do to fix it.
Any suggestions?
--
Brenda
http://opensource.theotherbell.com
More information about the Techtalk
mailing list