Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 15:00:04 -0800 (PST)
From:      "W.H.Scholten" <whs@xs4all.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/21675: Better and more disktab entries for MO drives
Message-ID:  <200011052300.PAA62078@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/21675; it has been noted by GNATS.

From: "W.H.Scholten" <whs@xs4all.nl>
To: freebsd-gnats-submit@FreeBSD.org, whs@xs4all.nl
Cc:  
Subject: Re: misc/21675: Better and more disktab entries for MO drives
Date: Sun, 05 Nov 2000 22:58:33 +0000

 This is a multi-part message in MIME format.
 
 --------------1CFBAE3959E2B60015FB7483
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Correction for the disktab diff (se was 2048 for a 512 byte medium in
 the 230_max entry) and use of -m 0 in the newfs example. Plain diff (to
 the original disktab entry of e.g. fbsd 3.3R or 4.1R) attached.
 
 Wouter
 
 --------------1CFBAE3959E2B60015FB7483
 Content-Type: text/plain; charset=us-ascii; name="disktab.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline; filename="disktab.diff"
 
 --- /etc/disktab.orig	Sun Oct  1 16:28:39 2000
 +++ /etc/disktab	Sun Oct  1 16:27:59 2000
 @@ -195,11 +195,11 @@
  	:pc#576600:oc#0:\
  	:pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024:
  
 -mta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\
 -	:ty=removeable:dt=SCSI:rm#3600:\
 -	:se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\
 -	:pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\
 -	:pc#444384:oc#0:
 +#mta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\
 +#	:ty=removeable:dt=SCSI:rm#3600:\
 +#	:se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\
 +#	:pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\
 +#	:pc#444384:oc#0:
  
  minimum:ty=mfs:se#512:nt#1:rm#300:\
  	:ns#2880:nc#1:\
 @@ -216,4 +216,42 @@
  	:pa#196608:oa#0:ba#4096:fa#512:\
  	:pb#196608:ob#0:bb#4096:fb#512:\
  	:pc#196608:oc#0:bc#4096:fc#512:
 +
 +
 +# ---- 90 mm magneto optical disk formats (dedicated disk): ----
 +# Prepare a disk as follows (e.g. using device da0):
 +#	disklabel -B -w -r da0 mo230
 +# or:
 +#	disklabel -w -r da0 mo640
 +# (the -B flag currrently doesn't work for 640 MB media).
 +# and then:
 +#	newfs -t 0 -u 0 -m 0 da0a
 +# (t=0 and u=0 means the values from disklabel will be used for # tracks and
 +# # sectors).
 +
 +
 +mo230|Generic 3.5in 230MB MO disk:\
 +	:ty=removeable:dt=SCSI:rm#3600:\
 +	:se#512:nt#64:ns#32:nc#217:sc#2048:su#446325:\
 +	:pa#446325:oa#0:ba#4096:fa#0:ta=4.2BSD:\
 +	:pc#446325:oc#0:
 +
 +mo640|Generic 3.5in 640MB MO disk:\
 +        :ty=removable:dt=SCSI:rm#3600:\
 +	:se#2048:nt#64:ns#32:nc#151:sc#2048:su#310352:\
 +        :pa#310352:oa#0:ba#8192:fa#2048:ta=4.2BSD:\
 +        :pc#310352:oc#0:
 +
 +mo230_max|Generic 3.5in 230MB MO disk using max capcity for CHS based calculations:\
 +        :ty=removeable:dt=SCSI:rm#3600:\
 +        :se#512:nt#25:ns#33:nc#541:\
 +        :pa#446325:oa#0:ba#4096:fa#0:ta=4.2BSD:\
 +        :pc#446325:oc#0:
 +
 +mo640_max|Generic 3.5in 640MB MO disk using max capcity for CHS based calculations:\
 +        :ty=removeable:dt=SCSI:rm#3600:\
 +        :se#2048:nt#28:ns#17:nc#652:\
 +        :pa#310352:oa#0:ba#8192:fa#2048:ta=4.2BSD:\
 +        :pc#310352:oc#0:
 +
  
 
 --------------1CFBAE3959E2B60015FB7483--
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011052300.PAA62078>