add extra special files for newly available partitions.
This commit is contained in:
parent
cac095f0d0
commit
8acf01858e
@ -31,7 +31,7 @@
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.9 1994/07/04 23:15:55 chopps Exp $
|
||||
# $Id: MAKEDEV,v 1.10 1994/07/11 14:12:42 chopps Exp $
|
||||
#
|
||||
# from:
|
||||
# hp300/MAKEDEV (1/15/94), from:
|
||||
@ -185,6 +185,14 @@ sd*|vnd*)
|
||||
mknod ${name}${unit}f b $blk `expr $unit '*' 16 + 5`
|
||||
mknod ${name}${unit}g b $blk `expr $unit '*' 16 + 6`
|
||||
mknod ${name}${unit}h b $blk `expr $unit '*' 16 + 7`
|
||||
mknod ${name}${unit}i b $blk `expr $unit '*' 16 + 8`
|
||||
mknod ${name}${unit}j b $blk `expr $unit '*' 16 + 9`
|
||||
mknod ${name}${unit}k b $blk `expr $unit '*' 16 + 10`
|
||||
mknod ${name}${unit}l b $blk `expr $unit '*' 16 + 11`
|
||||
mknod ${name}${unit}m b $blk `expr $unit '*' 16 + 12`
|
||||
mknod ${name}${unit}n b $blk `expr $unit '*' 16 + 13`
|
||||
mknod ${name}${unit}o b $blk `expr $unit '*' 16 + 14`
|
||||
mknod ${name}${unit}p b $blk `expr $unit '*' 16 + 15`
|
||||
mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0`
|
||||
mknod r${name}${unit}b c $chr `expr $unit '*' 16 + 1`
|
||||
mknod r${name}${unit}d c $chr `expr $unit '*' 16 + 3`
|
||||
@ -192,9 +200,17 @@ sd*|vnd*)
|
||||
mknod r${name}${unit}f c $chr `expr $unit '*' 16 + 5`
|
||||
mknod r${name}${unit}g c $chr `expr $unit '*' 16 + 6`
|
||||
mknod r${name}${unit}h c $chr `expr $unit '*' 16 + 7`
|
||||
mknod r${name}${unit}i c $chr `expr $unit '*' 16 + 8`
|
||||
mknod r${name}${unit}j c $chr `expr $unit '*' 16 + 9`
|
||||
mknod r${name}${unit}k c $chr `expr $unit '*' 16 + 10`
|
||||
mknod r${name}${unit}l c $chr `expr $unit '*' 16 + 11`
|
||||
mknod r${name}${unit}m c $chr `expr $unit '*' 16 + 12`
|
||||
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13`
|
||||
mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14`
|
||||
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
|
||||
fi
|
||||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
|
||||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
|
||||
chgrp operator ${name}${unit}[a-p] r${name}${unit}[a-p]
|
||||
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
|
||||
;;
|
||||
*)
|
||||
echo bad unit for disk in: $i
|
||||
|
Loading…
Reference in New Issue
Block a user