Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 19:06:58 -0700
From:      Bruce M Simpson <bms@spc.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/usb umass.c
Message-ID:  <20041013020658.GA4190@empiric.icir.org>
In-Reply-To: <200410120858.i9C8wvJx086204@repoman.freebsd.org>
References:  <200410120858.i9C8wvJx086204@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Oct 12, 2004 at 08:58:57AM +0000, Bruce M Simpson wrote:
>   Log:
>   Pass through the commands necessary to format USB floppy devices,
>   from within umass_ufi_transform(). This includes the 12-byte commands
>   FORMAT_UNIT, WRITE_AND_VERIFY, VERIFY, and READ_FORMAT_CAPACITIES
>   (sorted in numerical order).

Postscript. FORMAT_UNIT will be accepted by a UFI or SFF8070i device
using camcontrol passthrough. However, UFI devices will *not* accept
the 6-byte version of this command.  The command will fit, however;
there isn't the risk of a buffer overflow or panic that I can see.

I have some additional pieces which will need to be committed in order that
umass(4) can perform some sanity checking of what it's passing to the device.

These are currently part of ufdformat(1), under construction.

Regards,
BMS

--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: ''

iD8DBQFBbI3CueUpAYYNtTsRAshrAJ4sBeaoP9AjAt6hq17YCrgJhoIZqACfTOVF
HQHMZ03TUa+CkSHHTmdgOyc=
=vLaU
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041013020658.GA4190>