Shell:/etc >: cat disktab
# $OpenBSD: disktab,v 1.19 2006/10/04 01:04:22 krw Exp $
# Disk geometry and partition layout tables.
# Key:
# dt controller type
# ty type of disk (fixed, removable, simulated)
# d[0-4] drive-type-dependent parameters
...
# a == root
# b == swap
# c == whole disk
# e == /var
# f == scratch
# h == /usr
cp3100new|Conner 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: \
: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:
...
f == scratch 我的f装成home区了:
Shell:/etc >: df
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/sd0a 97.9M 43.2M 49.9M 46% 2462 13536 15% /
/dev/sd0f 22.6G 5.3G 16.2G 24% 142269 2897857 5% /home
/dev/sd0d 1005M 20.0K 955M 0% 37 155865 0% /tmp
/dev/sd0g 34.5G 6.5G 26.2G 20% 354107 4271043 8% /usr
/dev/sd0e 1005M 70.6M 884M 7% 2891 153011 2% /var
procfs 397M 241M 0B 100% 74 65461 0% /proc
/dev/sd0i 19.5G 9.8G 9.7G 50% 89632 10154708 1% /mnt/c
/dev/sd0j 30.1G 20.3G 9.8G 67% 57920 10282504 1% /mnt/d
Shell:/etc >: