Date: Fri, 30 Jan 1998 05:31:25 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, daniel_sobral@voga.com.br Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, mike@smith.net.au Subject: Re: cvs commit: src/sys/i386/isa wfd.c Message-ID: <199801291831.FAA07536@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> There should also be a cdevsw function to give the >> "best" i/o size. > >I agree with that. Having an ioctl to do it is awkward. Especially a nonexistent ioctl. The DIOCGPART ioctl only works for partitions with type FS_BSDFFS and a nonzero fragment size and count in their partition table entry. newfs(8) used to initialize these entries but this was broken a few years ago. You can still initialize these entries using disklabel(8), although this is bogus for partitions that don't have ufs filesystem on them. This sometimes happens by accident because /etc/disktab specifies such entries. BTW, how is tc (type specify for partition c) disambiguated from tc (termcap capabilities)? The former should never be used, for reasons not related to termcap. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801291831.FAA07536>