Browse Source

RAW_PART = 2

OPENBSD_2_0
deraadt 28 years ago
parent
commit
4e4f28237b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/etc.i386/MAKEDEV

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

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.25 1996/09/22 21:48:21 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.26 1996/09/25 13:53:36 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -291,9 +291,9 @@ cd*|mcd*|acd*)
esac esac
rm -f $name$unit? r$name$unit? rm -f $name$unit? r$name$unit?
mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0` mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0`
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0` mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 16 + 3`
mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2`
chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h] chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h]
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
umask 77 umask 77


Loading…
Cancel
Save