Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src add example disktab file
details: https://anonhg.NetBSD.org/src/rev/272eb177abd7
branches: trunk
changeset: 540518:272eb177abd7
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Dec 17 15:16:40 2002 +0000
description:
add example disktab file
diffstat:
distrib/sets/lists/base/mi | 3 +-
distrib/sets/lists/misc/mi | 3 +-
etc/mtree/NetBSD.dist | 3 +-
share/examples/Makefile | 4 +-
share/examples/disktab/Makefile | 12 +
share/examples/disktab/disktab | 1573 +++++++++++++++++++++++++++++++++++++++
6 files changed, 1593 insertions(+), 5 deletions(-)
diffs (truncated from 1655 to 300 lines):
diff -r 417682214597 -r 272eb177abd7 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Tue Dec 17 14:49:18 2002 +0000
+++ b/distrib/sets/lists/base/mi Tue Dec 17 15:16:40 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.372 2002/12/17 14:49:19 jdolecek Exp $
+# $NetBSD: mi,v 1.373 2002/12/17 15:16:41 jdolecek Exp $
. base-sys-root
./altroot base-sys-root
./bin base-sys-root
@@ -934,6 +934,7 @@
./usr/share/examples/emul/svr4/etc base-sys-examples
./usr/share/examples/emul/ultrix base-sys-examples
./usr/share/examples/emul/ultrix/etc base-sys-examples
+./usr/share/examples/disktab base-sys-examples
./usr/share/examples/fstab base-fstab-examples
./usr/share/examples/ftpd base-netutil-examples
./usr/share/examples/ipf base-netutil-examples
diff -r 417682214597 -r 272eb177abd7 distrib/sets/lists/misc/mi
--- a/distrib/sets/lists/misc/mi Tue Dec 17 14:49:18 2002 +0000
+++ b/distrib/sets/lists/misc/mi Tue Dec 17 15:16:40 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.78 2002/12/17 14:49:18 jdolecek Exp $
+# $NetBSD: mi,v 1.79 2002/12/17 15:16:42 jdolecek Exp $
./usr/share/dict/README misc-reference-share
./usr/share/dict/eign misc-reference-share
./usr/share/dict/propernames misc-reference-share
@@ -331,6 +331,7 @@
./usr/share/examples/amd/cd misc-amd-examples
./usr/share/examples/amd/net misc-amd-examples
./usr/share/examples/apm/script misc-amd-examples
+./usr/share/examples/disktab/disktab misc-sys-examples
./usr/share/examples/dhcp/dhcpd.conf misc-dhcpd-examples
./usr/share/examples/emul/svr4/etc/SVR4_MAKEDEV misc-sys-examples
./usr/share/examples/emul/svr4/etc/netconfig misc-sys-examples
diff -r 417682214597 -r 272eb177abd7 etc/mtree/NetBSD.dist
--- a/etc/mtree/NetBSD.dist Tue Dec 17 14:49:18 2002 +0000
+++ b/etc/mtree/NetBSD.dist Tue Dec 17 15:16:40 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.dist,v 1.209 2002/12/17 04:26:42 perry Exp $
+# $NetBSD: NetBSD.dist,v 1.210 2002/12/17 15:16:40 jdolecek Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
/set type=dir uname=root gname=wheel mode=0755
@@ -254,6 +254,7 @@
./usr/share/examples/emul/svr4/etc
./usr/share/examples/emul/ultrix
./usr/share/examples/emul/ultrix/etc
+./usr/share/examples/disktab
./usr/share/examples/fstab
./usr/share/examples/ftpd
./usr/share/examples/ipf
diff -r 417682214597 -r 272eb177abd7 share/examples/Makefile
--- a/share/examples/Makefile Tue Dec 17 14:49:18 2002 +0000
+++ b/share/examples/Makefile Tue Dec 17 15:16:40 2002 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.9 2002/11/23 10:25:56 blymn Exp $
+# $NetBSD: Makefile,v 1.10 2002/12/17 15:16:42 jdolecek Exp $
-SUBDIR= amd apm emul fstab ftpd isdn supfiles syslogd veriexecctl
+SUBDIR= amd apm disktab emul fstab ftpd isdn supfiles syslogd veriexecctl
.include <bsd.subdir.mk>
diff -r 417682214597 -r 272eb177abd7 share/examples/disktab/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/examples/disktab/Makefile Tue Dec 17 15:16:40 2002 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2002/12/17 15:16:42 jdolecek Exp $
+
+NOOBJ= # defined
+
+.include <bsd.own.mk>
+
+.if ${MKSHARE} != "no"
+FILES= disktab
+FILESDIR= /usr/share/examples/disktab
+.endif
+
+.include <bsd.prog.mk>
diff -r 417682214597 -r 272eb177abd7 share/examples/disktab/disktab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/examples/disktab/disktab Tue Dec 17 15:16:40 2002 +0000
@@ -0,0 +1,1573 @@
+# $NetBSD: disktab,v 1.1 2002/12/17 15:16:43 jdolecek Exp $
+#
+# Example disktab, containing example entries for historic disks
+# and/or entries showing special features of disktab entries.
+# See also disktab(5).
+#
+# Disk geometry and partition layout tables.
+# Key:
+# dt controller type
+# ty type of disk (fixed, removeable, simulated)
+# d[0-4] drive-type-dependent parameters
+# ns #sectors/track
+# nt #tracks/cylinder
+# nc #cylinders/disk
+# sc #sectors/cylinder, ns*nt default
+# su #sectors/unit, sc*nc default
+# se sector size, DEV_BSIZE default
+# rm rpm, 3600 default
+# sf supports bad144-style bad sector forwarding
+# sk sector skew per track, default 0
+# cs sector skew per cylinder, default 0
+# hs headswitch time, default 0
+# ts one-cylinder seek time, default 0
+# il sector interleave (n:1), 1 default
+# bs boot block size, default BBSIZE
+# sb superblock size, default SBSIZE
+# o[a-h] partition offsets in sectors
+# p[a-h] partition sizes in sectors
+# b[a-h] partition block sizes in bytes
+# f[a-h] partition fragment sizes in bytes
+# t[a-h] partition types (filesystem, swap, etc)
+#
+# All partition sizes reserve space for bad sector tables
+# (5 cylinders needed for maintenance + replacement sectors),
+# unless the device drivers fail to support this.
+#
+# WARNING:
+# On drives that contain bad-sector replacement areas,
+# `c' partitions DO overlap the bad-sector replacements.
+# This may change again.
+# Other partitions do not overlap the bad-sector replacement area.
+#
+# Entries may also be used for other compatible drives
+# with the same geometry.
+
+floppy288|2.88MB 3.5in Extra High Density Floppy:\
+ :ty=floppy:se#512:nt#2:rm#300:ns#36:nc#80:\
+ :pa#5760:oa#0:ba#4096:fa#512:ta=4.2BSD:\
+ :pb#5760:ob#0:\
+ :pc#5760:oc#0:
+
+# From former acorn26/acorn32 disktab
+
+cfs420a|Conner Peripherals 420MB IDE:\
+ :dt=ESDI:ty=winchester:se#512:nt#16:ns#63:nc#826: \
+ :pa#20160:oa#416304:ta=4.2BSD:ba#4096:fa#512: \
+ :pb#17136:ob#436464:tb=swap: \
+ :pc#832608:oc#0: \
+ :pd#416304:od#0:td=adfs:bd#512: \
+ :pe#379008:oe#453600:te=4.2BSD:be#4096:fe#512:
+
+disk4|Seagate ST3491A:\
+ :dt=ESDI:ty=winchester:se#512:nt#15:ns#62:nc#899: \
+ :pa#46500:oa#46500:ta=4.2BSD:ba#4096:fa#512: \
+ :pb#46500:ob#93000:tb=swap:bb#4096:fb#512: \
+ :pc#836070:oc#0: \
+ :pd#46500:od#0:td=adfs:bd#512: \
+ :pe#46500:oe#139500:te=4.2BSD:be#512: \
+ :pf#650070:of#186000:tf=4.2BSD:bf#4096:ff#512:
+
+cfs425a|Conner Peripherals 425MB IDE:\
+ :dt=ESDI:ty=winchester:se#512:nt#16:ns#62:nc#839: \
+ :pa#49600:oa#49600:ta=4.2BSD:ba#4096:fa#512: \
+ :pb#49600:ob#99200:tb=swap: \
+ :pc#832288:oc#0: \
+ :pd#49600:od#0:td=adfs:bd#512: \
+ :pe#49600:oe#148800:te=4.2BSD:be#4096:fe#512: \
+ :pf#633888:of#198400:tf=4.2BSD:bf#4096:ff#512:
+
+cfa850|Conner Peripherals 850MB IDE:\
+ :dt=ESDI:ty=winchester:\
+ :nc#1651:ns#63:nt#16:se#512:\
+ :pa#60480:oa#50400:ta=4.2BSD:\
+ :pb#129024:ob#110880:tb=swap:\
+ :pc#1664208:oc#0:\
+ :pd#50400:od#0:\
+ :pe#1424304:oe#239904:te=4.2BSD:
+
+LMR650E|pd650|PD650|650MB PD Cartridge:\
+ :dt=SCSI::ty=removable:se#512:nt#64:ns#32:nc#634: \
+ :pa#1298432:oa#0:ta=4.2BSD:ba#4096:fa#512:\
+ :pc#1298432:oc#0:
+
+# From former Alpha disktab
+
+# A DEC RZ25, configured so that all of the free partition IDs are at
+# the end, etc. A good setup to make a disk image from...
+rz25|RZ25|DEC RZ25 SCSI:\
+ :ty=winchester:dt=SCSI:ns#62:nt#9:nc#1476:\
+ :pa#111600:oa#0:ba#8192:fa#1024:ta=4.2BSD:\
+ :pb#111600:ob#111600:tb=swap:\
+ :pc#823608:oc#0:\
+ :pd#600408:od#223200:bd#8192:fd#1024:td=4.2BSD:
+
+# Single Partition RZ28
+rz28|RZ28|DEC RZ28 SCSI:\
+ :dt=SCSI:se#512:ns#99:nt#16:sc#1584:nc#2595:\
+ :pa#3616272:oa#0:ta=4.2BSD:ba#16384:fa#2048:\
+ :pb#494208:ob#3616272:tb=swap:\
+ :pc#4110480:oc#0:
+
+# Single Root Partition RZ29, Large Spare Partition on 'e'
+rz29|RZ29|DEC RZ29 SCSI:\
+ :dt=SCSI:se#512:ns#113:nt#20:sc#2260:nc#3708:\
+ :rm#5400:\
+ :pa#2034000:oa#0:ta=4.2BSD:ba#8192:fa#1024:\
+ :pb#4190040:ob#2034000:tb=swap:\
+ :pc#8380080:oc#0:\
+ :pe#2156040:oe#6224040:te=4.2BSD:be#8192:fe#1024:
+
+# A Quantum ProDrive 210S.
+pd210s:Quantum PD 210S:\
+ :ty#winchester:ns#49:nt#7:nc#1189:
+
+# The actual setup we use to configure a disk image from.
+# Designed to fit on a Quantum ProDrive 210S, because I had one once
+# and still feel fondly about it.
+ImageDisk:\
+ :ty#winchester:ns#49:nt#7:nc#1189:\
+ :pa#60264:oa#0:ba#8192:fa#2048:ta=4.2BSD:\
+ :pc#407827:oc#0:\
+ :pd#347563:od#60264:bd#8192:fd#2048:td=4.2BSD:
+
+# From former Amiga disktab
+
+floppyhd|floppy3hd|3inhd|Amiga 3.5in High Density Floppy:\
+ :ty=floppy:se#512:nt#2:rm#300:ns#22:nc#80:\
+ :ts=3500:\
+ :pa#3520:oa#0:ba#4096:fa#512:\
+ :pb#0:ob#0:\
+ :pc#3520:oc#0:
+
+# From former Atari disktab
+
+floppydd|floppy3dd|3indd|Atari 3.5in Double Density Floppy:\
+ :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\
+ :ts#3500:\
+ :ta=4.2BSD:pa#1440:oa#0:ba#4096:fa#512:\
+ :pb#0:ob#0:\
+ :pc#1440:oc#0:
+
+# From former hp300 disktab
+
+# HP CS80 Drives on rd (new style partitioning). These mapping support
+# three basic layouts:
+#
+# A/B/G: This is the "traditional" setup for a bootable disk.
+# A is the root partition, B the swap, and G is for /usr
+# and users.
+# A/D/E/F (large drives):
+# A/D/H (small drives):
+# This is a setup for bootable systems requiring more swap
+# (e.g. those who need CL). It has A as the root, D as a
+# larger swap, E and F (or H) as smaller user partitions.
+# E could be used for /usr and F for users (or H for both).
+# C: This gives a single, non-bootable, large user filesystem.
+# Good for second drives on a machine as either /usr/src
+# or a large /usr or user partition.
+
+rd7945|rd7946|rd7945A|rd7946A|HP7945A|HP7946A:\
+ :ty=winchester:ns#16:nt#7:nc#968:\
+ :pa#15904:ba#8192:fa#1024:\
+ :pb#20160:\
+ :pc#108416:bc#4096:fc#1024:\
+ :pd#40320:\
+ :pg#72240:bg#4096:fg#512:\
+ :ph#52080:bh#4096:fh#512:
+rd7957|rd7957A|HP7957A:\
+ :ty=winchester:ns#22:nt#7:nc#1036:\
+ :pa#16016:ba#8192:fa#1024:\
+ :pb#24640:\
+ :pc#159544:bc#4096:fc#1024:\
+ :pd#42350:\
+ :pe#54824:be#4096:fe#512:\
+ :pf#46200:bf#4096:ff#1024:\
+ :pg#118734:bg#4096:fg#1024:\
+ :ph#101024:bh#4096:fh#1024:
+rd7958|rd7958A|HP7958A:\
+ :ty=winchester:ns#36:nt#7:nc#1013:\
+ :pa#16128:ba#8192:fa#1024:\
+ :pb#32256:\
+ :pc#255276:bc#4096:fc#1024:\
+ :pd#48384:\
+ :pe#100800:be#4096:fe#512:\
+ :pf#89712:bf#4096:ff#1024:\
+ :pg#206640:bg#4096:fg#1024:\
+ :ph#190512:bh#4096:fh#1024:
+rd7933|rd7933H|HP7933H:\
+ :ty=winchester:ns#46:nt#13:nc#1321:\
+ :pa#16146:ba#8192:fa#1024:\
+ :pb#66976:\
+ :pc#789958:bc#4096:fc#1024:\
+ :pd#16146:bd#8192:fd#1024:\
+ :pe#165646:be#4096:fe#1024:\
+ :pf#165646:bf#4096:ff#1024:\
+ :pg#706238:bg#4096:fg#1024:\
+ :ph#358800:bh#4096:fh#1024:
+rd7937|rd7937H|HP7937H:\
+ :ty=winchester:ns#123:nt#13:nc#698:\
+ :pa#15990:ba#8192:fa#1024:\
+ :pb#67158:\
+ :pc#1116102:bc#4096:fc#1024:\
+ :pd#15990:bd#8192:fd#1024:\
+ :pe#246246:be#4096:fe#1024:\
+ :pf#246246:bf#4096:ff#1024:\
+ :pg#1031355:bg#4096:fg#512:\
+ :ph#522873:bh#4096:fh#1024:
+rd9134|rd9134L|HP9134L:\
Home |
Main Index |
Thread Index |
Old Index