summaryrefslogtreecommitdiff
path: root/etc/etc.i386
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-09-02 00:28:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-09-02 00:28:19 +0000
commit07c86206156a504fab6e7cf1b54c1038a25f082f (patch)
tree4fe413d0d3282e00a58520d534965134062fb462 /etc/etc.i386
parent23fc36cd22bd41a2274ff238f9718dc60e5f27d5 (diff)
make the xfs device
Diffstat (limited to 'etc/etc.i386')
-rw-r--r--etc/etc.i386/MAKEDEV14
1 files changed, 12 insertions, 2 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index d98b139fd4b..3075817f3d6 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.61 1998/08/24 05:49:52 millert Exp $
+# $OpenBSD: MAKEDEV,v 1.62 1998/09/02 00:28:18 art Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -82,6 +82,7 @@
# *random inkernel random number generator
# uk* "unknown SCSI" devices
# ss* SCSI scanners
+# xfs* XFS filesystem devices
# bktr0 video capturing
# tuner0 tuner device
#
@@ -117,7 +118,8 @@ all)
sh MAKEDEV speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm pcmcia local
sh MAKEDEV random uk0 uk1 ss0 ss1 pctr bktr0 tuner0
sh MAKEDEV fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H
- sh MAKEDEV fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H
+ sh MAKEDEV fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H
+ sh MAKEDEV xfs0
# MISSING:
# sh MAKEDEV mouse-?
;;
@@ -544,6 +546,14 @@ joy*)
chmod 666 joy$unit
;;
+xfs*)
+ unit=`expr $i : 'xfs\(.*\)'`
+ rm -f xfs$unit
+ mknod xfs$unit c 51 $unit
+ chown root.wheel xfs$unit
+ chmod 600 xfs$unit
+ ;;
+
apm*)
rm -f apm apmctl
mknod apm c 21 0