Hi!

Unfortunately, i have not yet found the time to read the messages in your
other thread.  So, I hope I'm answering the correct questions here, being
a bit out of context.


On Thu, 15 Sep 2011 11:35:07 +0200, "Thomas Schmitt" <scdbac...@gmx.net> wrote:
> can anybody remember to have used a SCSI CD-ROM with Hurd ?
> 
> I tried to get access to a virtual one created with kvm:
>   -drive file=/dvdbuffer/netinst.iso,if=scsi,bus=4,unit=0,media=cdrom
> but after booting Hurd, there is no /dev/sr0.
> 
> gnumach/linux/src/include/linux/major.h has
>   #define SCSI_CDROM_MAJOR 11
> So i did
>   mknod /dev/sr0 b 11 0

    $ showtrans /dev/hd2
    /hurd/storeio hd2

Thus you'd need something like this:

    # settrans -cfgap /dev/sr0 /hurd/storeio sr0

... assuming that sr0 is the Mach device name.  You can check if such a
device exists:

    # devprobe hd0
    hd0
    # devprobe moo; echo $?
    1

Also, there is a /dev/MAKEDEV script.

> and rebooted.

Not required.  But you possibly have to take care to deal with replacing
both active and passive translators at /dev/[...].


Grüße,
 Thomas

Attachment: pgpt0AKTFMpxY.pgp
Description: PGP signature

Reply via email to