Re: CD writing in future Linux (stirring up a hornets' nest)

From: Joerg Schilling
Date: Fri Feb 03 2006 - 06:32:27 EST


Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:

> >
> >> I am not sure if I understood your other mail on the cdrecord ML, but if
> >> the proper syntax would be
> >> cdrecord -dev=/dev/hdc:@
> >> then
> >> /dev/hdc
> >> could just be transparently turned into
> >> /dev/hdc:@
> >> somewhere within the getopt part.
> >
> >See complete description, the :@ is not just for fun....
> >
>
> "If the name of the device node that has been speciâ? 
> fied on such a system refers to exactly one SCSI device, a shorthand in
> the form dev= devicename:@ or dev= devicename:@,lun may be used instead
> of dev= devicename:scsibus,target,lun."
>
> So @ is equal to 0,0,0 or 0,0?

":@" is a shorthand for ":@,0" which is a shorthand for ":@0,0"

There are cases where you may like to use e.g. ":@,3"

Jörg

--
EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin
js@xxxxxxxxxxxxxxx (uni)
schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/