bug-hurd
[Top][All Lists]
Advanced

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

Re: How to enable a SCSI CD-ROM ?


From: Thomas Schwinge
Subject: Re: How to enable a SCSI CD-ROM ?
Date: Thu, 15 Sep 2011 19:31:45 +0200
User-agent: Notmuch/0.7-57-g64222ef (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu)

Hi!

On Thu, 15 Sep 2011 19:05:16 +0200, Svante Signell <svante.signell@telia.com> 
wrote:
> On Thu, 2011-09-15 at 17:59 +0200, Thomas Schwinge wrote:
> > On Thu, 15 Sep 2011 17:17:58 +0200, "Thomas Schmitt" <scdbackup@gmx.net> 
> > wrote:
> > > Thomas Schwinge:
> > > But:
> > >   # dd if=/dev/sr0 count=1 bs=2048 skip=16 | strings
> > >   dd: opening `/dev/sr0': No such device or address
> > 
> > >   # devprobe sr0 || echo no
> > >   no
> 
> mknod /dev/sr0 b 11 0
> 
> settrans -cfgap /dev/sr0 /hurd/storeio sr0
> But the translator is running:
> showtrans /dev/sr0/hurd/blkdev 11 0

Indeed.  Thanks.

    # mknod /dev/sr0 b 11 0
    # showtrans /dev/sr0
    /hurd/blkdev 11 0
    # settrans -cfgap /dev/sr0 /hurd/storeio sr0
    # showtrans /dev/sr0
    /hurd/blkdev 11 0

Apparently I have forgotten how to use settrans.  And I'm not the only
one; settrans usage has been discussed before again and again...  I
thought this would mean: *c*reate node if not there yet, *f*orce existing
translator to *g*o away, set *a*ctive and *p* translator.  Apparently I'm
wrong.


> # devprobe sr0; echo $?
> 1
> dd if=/dev/sr0 count=1 bs=2048 skip=16 | strings
> opening `/dev/sr0': No such device or address

Yes, there is no Mach device called sr0 available at this moment.


Grüße,
 Thomas

Attachment: pgpdoNLn5XWAJ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]