Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sbin/newfs_msdos



Module Name:    src
Committed By:   mrg
Date:           Sun Jan 18 10:50:56 UTC 2009

Modified Files:
        src/sbin/newfs_msdos: newfs_msdos.c

Log Message:
Do not erroneously leave a truncated 16-bit sector
count on "large" (>=32MB) file systems when fetching the geometry from
the medium.  This confuses some software (which is to say Windows)
when a device newfs(8)ed under NetBSD is transported to another
system.  (Note: The rest of the code uses 'bsec', and DTRT for smaller
file systems.)

contributed anonymously.


To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 src/sbin/newfs_msdos/newfs_msdos.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index