Re: device /dev/hdh does not exist....
On Fri, Jan 16, 1998 at 08:43:06AM -0500, Pure Energy wrote:
> Now if i put a cd in the drive and try to mount it i get the following..
> Root [~]#>mount -t iso9660 /dev/hdh /cdrom
> mount: special device /dev/hdh does not exist
> I was told that i need a script to enable/create devices this high (is
> this correct??) and if so where/what is it?
Not at all;
% mknod /dev/hdh b 34 64
will do the job nicely. These numbers (34 64) are from the
Documentation/devices.txt from the kernel source.
In fact, /dev/MAKEDEV, the program SUPPLIED for creating devices
without looking up the numbers, and part of the *required*
package makedev, can happily do it for you:
% cd /dev
% ./MAKEDEV hdh
MAKEDEV knows about most of the devices you'd ever want to make.
So all you need is the kernel source to get the magic numbers
or MAKEDEV. Nothing special involved.
Hamish Moffatt, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .