|
|
@ -1,5 +1,5 @@ |
|
|
|
#!/bin/sh - |
|
|
|
# $OpenBSD: MAKEDEV,v 1.10 2003/01/06 05:57:39 deraadt Exp $ |
|
|
|
# $OpenBSD: MAKEDEV,v 1.11 2003/10/11 07:20:46 tedu Exp $ |
|
|
|
# |
|
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
|
# All rights reserved. |
|
|
@ -272,7 +272,7 @@ vnd*) |
|
|
|
blk=14; chr=19; |
|
|
|
case $name in |
|
|
|
vnd) off=0;; |
|
|
|
svnd) off=128;; |
|
|
|
svnd) off=2048;; |
|
|
|
esac |
|
|
|
rm -f $name$unit? r$name$unit? |
|
|
|
mknod ${name}${unit}a b $blk $(( $unit * 16 + $off + 0 )) |
|
|
|