1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

Populate etc.sparc64:

- The disktab was taken from etc.alpha.
 - rc.sparc64 doesn't do anything right now.
 - The ttys file has all the vty's commented out since we don't know how
   those will work yet.  Also, an entry is added for the Openfirmware
   console device.

Submitted by:	jake (partially)
This commit is contained in:
John Baldwin 2002-01-07 23:53:34 +00:00
parent 98a32f6de6
commit 64798412f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89029
3 changed files with 540 additions and 0 deletions

224
etc/etc.sparc64/disktab Normal file
View File

@ -0,0 +1,224 @@
# $FreeBSD$
#
# 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)
#
#
# Floppy formats:
#
# To make a filesystem on a floppy:
# fdformat [-f <size>] fd<drive>[.<size>]
# disklabel -B -r -w fd<drive>[.<size>] fd<size>
# newfs <opts> fd<drive>[.<size>]
#
# with <opts>:
# -t 2 - two heads
# -u 9|15|18 - sectors per track
# (using the default value of 1/4096 is not much useful for floppies)
# -l 1 - interleave 1 (for most floppies)
# -i 65536 - bytes of data per i-node
# (the default -i value will render you with a floppy wasting way
# too much space in i-node areas)
#
fd360:\
:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\
:pa#720:oa#0:ba#4096:fa#512:\
:pb#720:ob#0:bb#4096:fb#512:\
:pc#720:oc#0:bc#4096:fc#512:
fd720:\
:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\
:pa#1440:oa#0:ba#4096:fa#512:\
:pb#1440:ob#0:bb#4096:fb#512:\
:pc#1440:oc#0:bc#4096:fc#512:
fd1200|floppy5|5in|5.25in High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\
:pa#2400:oa#0:ba#4096:fa#512:\
:pb#2400:ob#0:bb#4096:fb#512:\
:pc#2400:oc#0:bc#4096:fc#512:
fd1440|floppy|floppy3|3in|3.5in High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
:pa#2880:oa#0:ba#4096:fa#512:\
:pb#2880:ob#0:bb#4096:fb#512:\
:pc#2880:oc#0:bc#4096:fc#512:
#
# Stressed floppy-formats. No guarantees given.
#
fd800:\
:ty=floppy:se#512:nt#2:rm#300:ns#10:nc#80:\
:pa#1600:oa#0:ba#4096:fa#512:\
:pb#1600:ob#0:bb#4096:fb#512:\
:pc#1600:oc#0:bc#4096:fc#512:
fd820:\
:ty=floppy:se#512:nt#2:rm#300:ns#10:nc#82:\
:pa#1640:oa#0:ba#4096:fa#512:\
:pb#1640:ob#0:bb#4096:fb#512:\
:pc#1640:oc#0:bc#4096:fc#512:
fd1480:\
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#82:\
:pa#2952:oa#0:ba#4096:fa#512:\
:pb#2952:ob#0:bb#4096:fb#512:\
:pc#2952:oc#0:bc#4096:fc#512:
fd1720:\
:ty=floppy:se#512:nt#2:rm#300:ns#21:nc#82:\
:pa#3444:oa#0:ba#4096:fa#512:\
:pb#3444:ob#0:bb#4096:fb#512:\
:pc#3444:oc#0:bc#4096:fc#512:
#
# LS-120 floppy-format.
#
fd120m|floppy120|floppy120m|3.5in LS-120 Floppy:\
:ty=floppy:se#512:nt#8:rm#300:ns#32:nc#963:\
:pa#246528:oa#0:ba#4096:fa#512:\
:pb#246528:ob#0:bb#4096:fb#512:\
:pc#246528:oc#0:bc#4096:fc#512:
#
# Harddisk formats
#
qp120at|Quantum Peripherals 120MB IDE:\
:dt=ESDI:ty=winchester:se#512:nt#9:ns#32:nc#813:sf: \
:pa#13824:oa#0:ta=4.2BSD:ba#4096:fa#512: \
:pb#13824:ob#13824:tb=swap: \
:pc#234144:oc#0: \
:ph#206496:oh#27648:th=4.2BSD:bh#4096:fh#512:
pan60|Panasonic Laptop's 60MB IDE:\
:dt=ST506:ty=winchester:se#512:nt#13:ns#17:nc#565:\
:pa#13260:oa#0:ta=4.2BSD:ba#4096:fa#512:\
:pb#13260:ob#13260:tb=swap: \
:pc#124865:oc#0: \
:ph#97682:oh#26520:th=4.2BSD:bh#4096:fh#512:
mk156|toshiba156|Toshiba MK156 156Mb:\
:dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\
:pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\
:pb#15748:ob#15748:tb=swap:\
:pc#288750:oc#0:\
:ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD:
cp3100|Connor Peripherals 100MB IDE:\
:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
:pa#12144:oa#0:ta=4.2BSD:ba#4096:fa#512: \
:pb#12144:ob#12144:tb=swap: \
:pc#202224:oc#0: \
:ph#177936:oh#24288:th=4.2BSD:bh#4096:fh#512:
# a == root
# b == swap
# c == d == whole disk
# e == /var
# f == scratch
# h == /usr
cp3100new|Connor Peripherals 100MB IDE, with a different configuration:\
:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
:pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \
:pb#24288:ob#15840:tb=swap: \
:pc#202224:oc#0: \
:pd#202224:od#0: \
:pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \
:pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \
:ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512:
maxtor4380|Maxtor XT4380E ESDI :\
:dt=ESDI:ty=winchester:se#512:nt#15:ns#36:nc#1222:sf: \
:pa#21600:oa#0:ta=4.2BSD:ba#4096:fa#512:\
:pb#21600:ob#21600:tb=swap: \
:pc#659880:oc#0: \
:pd#216000:od#53200:td=4.2BSD:bd#4096:fd#512: \
:ph#398520:oh#269200:th=4.2BSD:bh#4096:fh#512:
miniscribe9380|compaq38|Miniscribe 9380 ESDI :\
:ty=winchester:dt=ESDI:se#512:nt#15:ns#35:nc#1223:rm#3600:sf: \
:pa#21000:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
:pb#42000:ob#21000:tb=swap: \
:pc#642075:oc#0: \
:pd#21000:od#63000:bd#8192:fd#1024:td=4.2BSD: \
:ph#556500:oh#84000:bh#8192:fh#1024:th=4.2BSD:
ida4|compaq88|Compaq IDA (4 drives) :\
:ty=winchester:dt=IDA:se#512:nt#16:ns#63:nc#1644:rm#3600:\
:pa#20160:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
:pb#80640:ob#20160:tb=swap: \
:pc#1659168:oc#0: \
:pd#201600:od#100800:bd#8192:fd#1024:td=4.2BSD: \
:pe#20160:oe#1310400:be#8192:fe#1024:te=4.2BSD: \
:ph#1008000:oh#302400:bh#8192:fh#1024:th=4.2BSD: \
:pg#302400:og#1330560:bg#4096:fg#512:tg=4.2BSD:
fuji513|Fujitsu M22XXXX: \
:ty=winchester:dt=ESDI:se#512:nt#16:ns#63:nc#954:rm#3600:\
:pa#20160:oa#82656:ba#4096:fa#512:ta=4.2BSD: \
:pb#40320:ob#102816:tb=swap: \
:pc#961632:oc#0: \
:ph#656208:oh#143136:bh#4096:fh#512:th=4.2BSD:
sony650|Sony 650 MB MOD|\
:ty=removable:dt=SCSI:se#512:nt#1:ns#31:nc#18600:ts#1:rm#4800:\
: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:
minimum:ty=mfs:se#512:nt#1:rm#300:\
:ns#2880:nc#1:\
:pa#2880:oa#0:ba#4096:fa#512:\
:pc#2880:oc#0:bc#4096:fc#512:
minimum2:ty=mfs:se#512:nt#1:rm#300:\
:ns#5760:nc#1:\
:pa#5760:oa#0:ba#4096:fa#512:\
:pc#5760:oc#0:bc#4096:fc#512:
zip100|zip 100:\
:ty=removable:se#512:nc#96:nt#64:ns#32:\
:pa#196608:oa#0:ba#4096:fa#512:\
:pb#196608:ob#0:bb#4096:fb#512:\
:pc#196608:oc#0:bc#4096:fc#512:
zip250|zip 250:\
:ty=removable:se#512:nc#239:nt#64:ns#32:\
:pa#489472:oa#0:ba#4096:fa#512:\
:pb#489472:ob#0:bb#4096:fb#512:\
:pc#489472:oc#0:bc#4096:fc#512:

View File

@ -0,0 +1,9 @@
#!/bin/sh -
#
# $FreeBSD$
# Do sparc64 specific processing
#
echo -n 'Initial rc.sparc64 initialization:'
echo '.'

307
etc/etc.sparc64/ttys Normal file
View File

@ -0,0 +1,307 @@
#
# $FreeBSD$
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# This file specifies various information about terminals on the system.
# It is used by several different programs. Common entries for the
# various columns include:
#
# name The name of the terminal device.
#
# getty The program to start running on the terminal. Typically a
# getty program, as the name implies. Other common entries
# include none, when no getty is needed, and xdm, to start the
# X Window System.
#
# type The initial terminal type for this port. For hardwired
# terminal lines, this will contain the type of terminal used.
# For virtual consoles, the correct type is cons25. Other
# common values include network for network connections on
# pseudo-terminals, dialup for incoming modem ports, and unknown
# when the terminal type cannot be predetermined.
#
# status Must be on or off. If on, init will run the getty program on
# the specified port. If the word "secure" appears, this tty
# allows root login.
#
# name getty type status comments
#
# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
console none unknown off secure
# Openfirmware console
ofwcons "/usr/libexec/getty std.9600" vt100 on secure
#
#ttyv0 "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
#ttyv1 "/usr/libexec/getty Pc" cons25 on secure
#ttyv2 "/usr/libexec/getty Pc" cons25 on secure
#ttyv3 "/usr/libexec/getty Pc" cons25 on secure
#ttyv4 "/usr/libexec/getty Pc" cons25 on secure
#ttyv5 "/usr/libexec/getty Pc" cons25 on secure
#ttyv6 "/usr/libexec/getty Pc" cons25 on secure
#ttyv7 "/usr/libexec/getty Pc" cons25 on secure
#ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
ttyd1 "/usr/libexec/getty std.9600" dialup off secure
ttyd2 "/usr/libexec/getty std.9600" dialup off secure
ttyd3 "/usr/libexec/getty std.9600" dialup off secure
# Pseudo terminals
ttyp0 none network
ttyp1 none network
ttyp2 none network
ttyp3 none network
ttyp4 none network
ttyp5 none network
ttyp6 none network
ttyp7 none network
ttyp8 none network
ttyp9 none network
ttypa none network
ttypb none network
ttypc none network
ttypd none network
ttype none network
ttypf none network
ttypg none network
ttyph none network
ttypi none network
ttypj none network
ttypk none network
ttypl none network
ttypm none network
ttypn none network
ttypo none network
ttypp none network
ttypq none network
ttypr none network
ttyps none network
ttypt none network
ttypu none network
ttypv none network
ttyq0 none network
ttyq1 none network
ttyq2 none network
ttyq3 none network
ttyq4 none network
ttyq5 none network
ttyq6 none network
ttyq7 none network
ttyq8 none network
ttyq9 none network
ttyqa none network
ttyqb none network
ttyqc none network
ttyqd none network
ttyqe none network
ttyqf none network
ttyqg none network
ttyqh none network
ttyqi none network
ttyqj none network
ttyqk none network
ttyql none network
ttyqm none network
ttyqn none network
ttyqo none network
ttyqp none network
ttyqq none network
ttyqr none network
ttyqs none network
ttyqt none network
ttyqu none network
ttyqv none network
ttyr0 none network
ttyr1 none network
ttyr2 none network
ttyr3 none network
ttyr4 none network
ttyr5 none network
ttyr6 none network
ttyr7 none network
ttyr8 none network
ttyr9 none network
ttyra none network
ttyrb none network
ttyrc none network
ttyrd none network
ttyre none network
ttyrf none network
ttyrg none network
ttyrh none network
ttyri none network
ttyrj none network
ttyrk none network
ttyrl none network
ttyrm none network
ttyrn none network
ttyro none network
ttyrp none network
ttyrq none network
ttyrr none network
ttyrs none network
ttyrt none network
ttyru none network
ttyrv none network
ttys0 none network
ttys1 none network
ttys2 none network
ttys3 none network
ttys4 none network
ttys5 none network
ttys6 none network
ttys7 none network
ttys8 none network
ttys9 none network
ttysa none network
ttysb none network
ttysc none network
ttysd none network
ttyse none network
ttysf none network
ttysg none network
ttysh none network
ttysi none network
ttysj none network
ttysk none network
ttysl none network
ttysm none network
ttysn none network
ttyso none network
ttysp none network
ttysq none network
ttysr none network
ttyss none network
ttyst none network
ttysu none network
ttysv none network
ttyP0 none network
ttyP1 none network
ttyP2 none network
ttyP3 none network
ttyP4 none network
ttyP5 none network
ttyP6 none network
ttyP7 none network
ttyP8 none network
ttyP9 none network
ttyPa none network
ttyPb none network
ttyPc none network
ttyPd none network
ttyPe none network
ttyPf none network
ttyPg none network
ttyPh none network
ttyPi none network
ttyPj none network
ttyPk none network
ttyPl none network
ttyPm none network
ttyPn none network
ttyPo none network
ttyPp none network
ttyPq none network
ttyPr none network
ttyPs none network
ttyPt none network
ttyPu none network
ttyPv none network
ttyQ0 none network
ttyQ1 none network
ttyQ2 none network
ttyQ3 none network
ttyQ4 none network
ttyQ5 none network
ttyQ6 none network
ttyQ7 none network
ttyQ8 none network
ttyQ9 none network
ttyQa none network
ttyQb none network
ttyQc none network
ttyQd none network
ttyQe none network
ttyQf none network
ttyQg none network
ttyQh none network
ttyQi none network
ttyQj none network
ttyQk none network
ttyQl none network
ttyQm none network
ttyQn none network
ttyQo none network
ttyQp none network
ttyQq none network
ttyQr none network
ttyQs none network
ttyQt none network
ttyQu none network
ttyQv none network
ttyR0 none network
ttyR1 none network
ttyR2 none network
ttyR3 none network
ttyR4 none network
ttyR5 none network
ttyR6 none network
ttyR7 none network
ttyR8 none network
ttyR9 none network
ttyRa none network
ttyRb none network
ttyRc none network
ttyRd none network
ttyRe none network
ttyRf none network
ttyRg none network
ttyRh none network
ttyRi none network
ttyRj none network
ttyRk none network
ttyRl none network
ttyRm none network
ttyRn none network
ttyRo none network
ttyRp none network
ttyRq none network
ttyRr none network
ttyRs none network
ttyRt none network
ttyRu none network
ttyRv none network
ttyS0 none network
ttyS1 none network
ttyS2 none network
ttyS3 none network
ttyS4 none network
ttyS5 none network
ttyS6 none network
ttyS7 none network
ttyS8 none network
ttyS9 none network
ttySa none network
ttySb none network
ttySc none network
ttySd none network
ttySe none network
ttySf none network
ttySg none network
ttySh none network
ttySi none network
ttySj none network
ttySk none network
ttySl none network
ttySm none network
ttySn none network
ttySo none network
ttySp none network
ttySq none network
ttySr none network
ttySs none network
ttySt none network
ttySu none network
ttySv none network