bin/176746: Document a bug (unusual 2K block media) with src/sbin/fsck_msdosfs/

Bruce Evans brde at optusnet.com.au
Fri Mar 8 13:26:33 UTC 2013


On Fri, 8 Mar 2013, Julian H. Stacey wrote:

>> Description:
> Document a 2K block media bug to src/sbin/fsck_msdosfs/fsck_msdosfs.8
>
>> How-To-Repeat:
> Analysis here
> http://www.berklix.com/~jhs/txt/sigmatel/#bsd2k
>
>> Fix:
> Apply patch (appended)
> -----------
> http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fsck_msdosfs/
>
> *** 9.1-RELEASE/src/gen/sbin/fsck_msdosfs/fsck_msdosfs.8	Sat Nov 17 09:47:20 2012
> --- new/src/gen/sbin/fsck_msdosfs/fsck_msdosfs.8	Thu Mar  7 23:28:43 2013
> ***************
> *** 121,123 ****
> --- 121,126 ----
>  .Nm
>  utility is
>  .Ud
> + .br
> + Devices with 2K media blocks fail, for analysis & work around see
> + http://www.berklix.com/~jhs/txt/sigmatel/#bsd2k
> -----------
>
> The real fix will be to write some C.
> This bug affects at least both FreeBSD & NetBSD.
> Both were informed to mail lists, links to both archives here
> http://www.berklix.com/~jhs/txt/sigmatel/#bsd2k
>
> If I write (unikely) or hear of patches to fix it, they will first appear here:
> http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fsck_msdosfs/

This is reported and fixed in PR 153426.

Bruce


More information about the freebsd-bugs mailing list