[doc pointer] 2 questions about usb memory stick ...

Lowell Gilbert freebsd-questions-local at be-well.no-ip.com
Thu Jun 19 12:53:25 PDT 2003


roland Mathieu <roland.mathieu at free.fr> writes:

> I've got a 128MB usb memory stick (pmi memory). It works very well since
> I've modified file /usr/src/sys/cam/scsi/scsi_da.c by adding lines:
> 
> {
>          /*
>           * Pmi / 128MB
>           */
>           {T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "USB Flash Disk*",
>          "*"},
>           /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
> },
> 
> in the da_quirk_table structure.
> 
> First question : who contact to add definitively these lines to scsi_da.c ?

"man send-pr"

> Second question: if memory stick is plugged when my computer boots up it is
> detected before my scsi disks. how to avoid that ? 
> ( I must unplug it if I want my computer to boot because da0 is normally
> used by the first scsi disk :( )

[before 5.x; you didn't mention, so I assume you're using a recent 4.x release]
See the LINT file for information on "wiring down" your disk devices.


More information about the freebsd-questions mailing list