Date: Sat, 18 Jan 1997 18:33:33 +1100 From: Bruce Evans <bde@zeta.org.au> To: freebsd-hackers@freebsd.org, lada@ws2301.gud.siemens.co.at Cc: freebsd-scsi@freebsd.org Subject: Re: TORAY PD disktab entry Message-ID: <199701180733.SAA10696@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>by popular request I submit the following disktab entry for inclusion in >/etc/disktab /etc/disktab should almost never be used. Just use the "auto" entry, or equivalently, read the label off the whole disk, modify it to suit the slice and write it back using -R. >pd634|Matsushita 634 MB PhaseChange Drive|\ > :ty=removable:dt=SCSI:se#512:nt#64:ns#32:nc#634:ts#1:rm#4800:\ > :pc#1298431:oc#0:\ > :pa#1298431:oa#0:ta=4.2BSD:ba#8192:fa#1024: Either ns is 1 too large here, or pc is 1 too small, probably the first (ns*nt*nc = 1298432). If pc is correct, change nc to 634 and give the total number of sectors as su#1298431. >The fdisk output/input was: > >cyl: 634 head: 64 sec: 32 >partition 0: > sysid: 165 > start 1, size 1298431, falg 0 > beg: cyl 0/ sec 2/ head 0/ > end: cyl 634/ sec 1/ head 0/ Either the end C/H/S is 1 too large here, or the size is 1 too small, probably the first. The first sector on the (presumably nonexistent) 635th cylinder is used. This should cause an error somewhere. The end C/H/S must end on the last sector of a cylinder for FreeBSD to detect the geometry. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701180733.SAA10696>