Browse Source

fix assorted problems with miniroot stuff

OPENBSD_2_1
grr 27 years ago
parent
commit
79c42d8a89
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/etc.sparc/MAKEDEV

+ 3
- 3
src/etc/etc.sparc/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.21 1997/04/29 17:26:28 niklas Exp $
# $OpenBSD: MAKEDEV,v 1.22 1997/04/30 08:17:56 grr Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -337,12 +337,12 @@ ccd*|sd*|xd*|xy*|cd*|vnd*)
done
fi
rm -f $name$unit? r$name$unit?
minor=`mult $unit 8`
minor=`mult $unit 16`
for slice in a b c d e f g h i j k l m n o p
do
dev=$name$unit$slice
mknod $dev b $blk $minor
mknod r$dev b $chr $minor
mknod r$dev c $chr $minor
minor=`add $minor 1`
done
chown root.operator $name$unit? r$name$unit?


Loading…
Cancel
Save