missing 'special devices'

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK, here's a nice easy way to do it. You see, sbpcd are proprietary
devices and thus you can't link them to devices like hdd, scd0, or
whatever. Slackware's got a nice way to recreate the devices, as root,
do the following:

cd /dev
./MAKEDEV sbpcd

Note that the word "MAKEDEV" is in all caps. If, for some odd reason,
MAKEDEV won't work, the major number is 25, and the minor numbers
increase by one. For example:
/dev/sbpcd: 25/0
/dev/sbpcd0: 25/0 (same device as /dev/sbpcd)
/dev/sbpcd1: 25/1
/dev/sbpcd2: 25/2

You get the idea. Use mknod to create these devices, I think it's
something like this:

mknod /dev/sbpcd b 25 0
mknod /dev/sbpcd0 b 25 0
mknod /dev/sbpcd1 b 25 1

Then, of course, you'll need to change the file permissions to whatever
they were. I don't have one of these devices, but that's the general
usage of mknod. The "b" in the command specifies a block device, and
then the major and minor numbers follow. I had to do this for my ide cd
writer once when I was using debian, it didn't know how to create the
scd devices and my writer needed to emulate scsi. I think MAKEDEV is
standard on all distros, but it seems to change in what it can
do. Redhat's and debian's makedev can't seem to do some of the things
slackware's can do, and the same thing the other way around.


On 19 Apr 2000, Kirk Reiser wrote:

> Hi Chuck:  If you still have the original kernel, you should be able
> to check the dmesg to see what device it thinks the sbpc cdrom is on
> during boot.  I don't know what the major/minor numbers should be off
> hand but you should be able to find them in the device.txt and/or the
> cdrom subdirectory of /usr/src/linux/Documentation.  Once you know
> what they are once again and have your original kernel installed once
> more you can do a mknod to recreat the nodes in /dev.  Do a man on
> mknod to check my memory but I think it's something like:
> 
> mknod /dev/device_name type major minor
> 
> Where type is character (c) or block (b) and major and minor are the
> devices major and minor numbers.
> 
>   Kirk
> 
> -- 
> 
> Kirk Reiser				The Computer Braille Facility
> e-mail: kirk at braille.uwo.ca		University of Western Ontario
> phone: (519) 661-3061
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 

Jacob Schmude
mailto:jacobs at ncinter.net
ICQ: 53401220
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Made with pgp4pine

iD8DBQE4/httwQVAN6Zb5dARAmIOAKCpOdTLyP/5xm+a1ocL3M5WIytk0gCcDXcu
ousYGNsugOCdhxZrh5KByy4=
=TFjD
-----END PGP SIGNATURE-----






[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux