summaryrefslogtreecommitdiff
path: root/etc/etc.loongson
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-08-14 23:45:57 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-08-14 23:45:57 +0000
commitbbd7061cc95bf8558a5c53aebab06ef9a90cc6ca (patch)
tree104fc48eabd6ff19c086e09fae2e1288c5a1ae18 /etc/etc.loongson
parent61fa9a842e56e2065f36b0efbd660ee203b46343 (diff)
The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK
flags in the disklabel. These flags were discarded in 2006. Remove documentation for and instances of 'ty'. Add instances of 'dt' that were missing. Use 'floppy' as the value of 'dt' for all floppies and 'rdroot' for all boot images/miniroots. Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, since 'dt' values are parsed by matching entries in dktypenames[]. Slightly tweaked part of larger cleanup diff previously ok deraadt@.
Diffstat (limited to 'etc/etc.loongson')
-rw-r--r--etc/etc.loongson/disktab6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/etc.loongson/disktab b/etc/etc.loongson/disktab
index 5e4098d0ff4..51c4770f83a 100644
--- a/etc/etc.loongson/disktab
+++ b/etc/etc.loongson/disktab
@@ -1,11 +1,11 @@
-# $OpenBSD: disktab,v 1.3 2010/07/02 20:33:54 tedu Exp $
+# $OpenBSD: disktab,v 1.4 2015/08/14 23:45:56 krw Exp $
# Leave nc=16; adjust size using: ns
rdroot|ramdiskroot|RAM-disk root FS image:\
- :ty=simulated:se#512:nc#16:nt#2:ns#256:\
+ :dt=rdroot:se#512:nc#16:nt#2:ns#256:\
:ta=4.2BSD:oa#0:pa#8192:fa#512:ba#4096:\
:ob#0:pb#0:oc#0:pc#8192:
miniroot|Installation root FS image:\
- :ty=simulated:se#512:nc#9:nt#16:ns#128:\
+ :dt=rdroot:se#512:nc#9:nt#16:ns#128:\
:oc#0:pc#18432: