summaryrefslogtreecommitdiff
path: root/etc/etc.vax/MAKEDEV
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-06-24 10:43:32 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-06-24 10:43:32 +0000
commite60358d9edfb832a816cc7d49b594b54e4ba46fe (patch)
tree0ce2db23bd81bc1a0487132b5ef6eb3cd9341b6b /etc/etc.vax/MAKEDEV
parentd396c4a47befd60398afb1e9b71a5d8f37a8da65 (diff)
Add xfs device; seems to work.
Diffstat (limited to 'etc/etc.vax/MAKEDEV')
-rw-r--r--etc/etc.vax/MAKEDEV10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/etc.vax/MAKEDEV b/etc/etc.vax/MAKEDEV
index 03dc9995bb6..dbb5645cf84 100644
--- a/etc/etc.vax/MAKEDEV
+++ b/etc/etc.vax/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.47 2002/06/09 05:58:39 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.48 2002/06/24 10:43:31 hugh Exp $
# $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $
#
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
@@ -374,6 +374,14 @@ ch*|uk*)
chmod 640 $name$unit
;;
+xfs*)
+ unit=${i#xfs}
+ rm -f xfs$unit
+ mknod xfs$unit c 74 $unit
+ chmod 600 xfs$unit
+ chown root.wheel xfs$unit
+ ;;
+
rd*)
unit=${i#rd}; blk=23; chr=62;
rm -f rd${unit}{a,c} #rrd${unit}{a,c}