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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to