RAW_PART == 10 on sgimips, so adapt memory disk entry for it.
This commit is contained in:
parent
b6cd3fc67b
commit
c725dcdb09
@ -1,5 +1,5 @@
|
||||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV,v 1.2 2000/07/27 18:43:31 mason Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.3 2000/09/27 10:50:37 tsutsui Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -140,9 +140,9 @@ md*)
|
||||
unit=${i#md}; blk=2; chr=2;
|
||||
rm -f md${unit}? rmd${unit}?
|
||||
mknod md${unit}a b $blk $(($unit * 16 + 0))
|
||||
mknod md${unit}c b $blk $(($unit * 16 + 2))
|
||||
mknod md${unit}k b $blk $(($unit * 16 + 10))
|
||||
# mknod rmd${unit}a c $chr $(($unit * 16 + 0))
|
||||
# mknod rmd${unit}c c $chr $(($unit * 16 + 2))
|
||||
# mknod rmd${unit}k c $chr $(($unit * 16 + 10))
|
||||
chgrp operator md${unit}? #rmd${unit}?
|
||||
chmod 640 md${unit}? #rmd${unit}?
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user