Browse Source

larger svnd gap

OPENBSD_3_5
tedu 21 years ago
parent
commit
783e171199
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/etc/MAKEDEV.mi
  2. +2
    -2
      src/etc/etc.vax/MAKEDEV

+ 2
- 2
src/etc/MAKEDEV.mi View File

@ -1,6 +1,6 @@
include(MAKEDEV.sub)dnl include(MAKEDEV.sub)dnl
dnl dnl
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.60 2003/06/18 18:08:59 todd Exp $-})dnl
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp $-})dnl
dnl dnl
divert(1)dnl divert(1)dnl
{-#-} {-#-}
@ -335,7 +335,7 @@ __devitem(ccd, ccd*, concatenated disk devices)dnl
__devitem(raid, raid*, RAIDframe disk devices)dnl __devitem(raid, raid*, RAIDframe disk devices)dnl
__devitem(vnd, vnd*, "file" pseudo-disks)dnl __devitem(vnd, vnd*, "file" pseudo-disks)dnl
_mkdev(vnd, vnd*, {-dodisk vnd $U major_vnd_b major_vnd_c $U 0{--}ifstep(vnd) _mkdev(vnd, vnd*, {-dodisk vnd $U major_vnd_b major_vnd_c $U 0{--}ifstep(vnd)
dodisk svnd $U major_vnd_b major_vnd_c $U 128{--}ifstep(vnd)-})dnl
dodisk svnd $U major_vnd_b major_vnd_c $U 2048{--}ifstep(vnd)-})dnl
__devitem(ra, ra*, {-MSCP disks (ra??, hd??)-})dnl __devitem(ra, ra*, {-MSCP disks (ra??, hd??)-})dnl
__devitem(hp, hp*, {-massbuss rm??-})dnl __devitem(hp, hp*, {-massbuss rm??-})dnl
__devitem(hk, hk*, {-unibus rk06 and rk07-})dnl __devitem(hk, hk*, {-unibus rk06 and rk07-})dnl


+ 2
- 2
src/etc/etc.vax/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.51 2003/04/15 20:10:46 jmc Exp $
# $OpenBSD: MAKEDEV,v 1.52 2003/10/11 03:32:15 tedu Exp $
# $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $ # $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $
# #
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
@ -286,7 +286,7 @@ vnd*)
for name in vnd svnd; do for name in vnd svnd; do
case $name in case $name in
vnd) off=0;; vnd) off=0;;
svnd) off=128;;
svnd) off=2048;;
esac esac
rm -f {r,}${name}${unit}[a-p] rm -f {r,}${name}${unit}[a-p]
minor=$(($unit * 16 + $off)) minor=$(($unit * 16 + $off))


Loading…
Cancel
Save