Hi!

On Thu, 15 Sep 2011 19:05:16 +0200, Svante Signell <svante.sign...@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" <scdbac...@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: pgpu9NG6bgnGz.pgp
Description: PGP signature

Reply via email to