Date: Fri, 04 Feb 2000 23:26:46 -0700 From: Warner Losh <imp@village.org> To: hackers@freebsd.org Subject: Question about msdosfs Message-ID: <200002050626.XAA03255@harmony.village.org>
next in thread | raw e-mail | index | archive | help
In msdosfs_vfsops.c we have: || !pmp->pm_Heads || pmp->pm_Heads > 255 #ifdef PC98 || !pmp->pm_SecPerTrack || pmp->pm_SecPerTrack > 255) { #else || !pmp->pm_SecPerTrack || pmp->pm_SecPerTrack > 63) { #endif error = EINVAL; What's so special about 63? Many scsi drives have more than 63 sectors per track. The only reason that we don't see problems with this is that it appears that CAM appears to be using a geometry with 64 heads and 32 sectors and N cylendars. What's the justification here? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002050626.XAA03255>