Browse Source

add xfs

OPENBSD_2_4
todd 26 years ago
parent
commit
5b2183169d
1 changed files with 24 additions and 16 deletions
  1. +24
    -16
      src/etc/etc.sun3/MAKEDEV

+ 24
- 16
src/etc/etc.sun3/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.20 1998/09/15 10:23:23 pattonme Exp $ # $OpenBSD: MAKEDEV,v 1.21 1998/09/25 12:42:22 todd Exp $
# $NetBSD: MAKEDEV,v 1.8 1996/03/03 16:54:17 thorpej Exp $ # $NetBSD: MAKEDEV,v 1.8 1996/03/03 16:54:17 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -40,30 +40,31 @@
# std standard devices # std standard devices
# local configuration specific devices # local configuration specific devices
# Tapes: # Tapes:
# st* ? tape # st* SCSI tapes
# Disks: # Disks:
# sd* Sun SCSI disks # sd* SCSI disks
# fd* Floppies # fd* Floppy disk drives (3 1/2", 5 1/4")
# vnd* "file" pseudo-disks # vnd* "file" pseudo-disks
# ccd* concatenated disk driver # ccd* concatenated disk devices
# Pseudo terminals: # Pseudo terminals:
# pty* set of 16 master and slave pseudo terminals # pty* set of 16 master and slave pseudo terminals
# Printers: # Printers:
# Call units: # Call units:
# Special purpose devices: # Special purpose devices:
# bwtwo* # bwtwo*
# cgtwo* # cgtwo*
# cgfour* # cgfour*
# bpf* packet filter # bpf* Berkeley Packet Filter
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# tun* network tunnel driver # tun* network tunnel driver
# rd* RAM-disk # rd* "ramdisk" pseudo-disks
# *random random data source # *random inkernal random data source
# uk* unknown SCSI # uk* SCSI Unknown device
# ss* SCSI scanners # ss* SCSI scanners
# XXX - Keep /usr/etc so SunOS can find chown # XXX - Keep /usr/etc so SunOS can find chown
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/etc PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/etc
this=$0
umask 77 umask 77
# set this to echo for Echo-Only debugging # set this to echo for Echo-Only debugging
@ -87,9 +88,9 @@ unit=`expr $arg : '[a-z][a-z]*\([0-9][0-9]*\)'`
case $arg in case $arg in
all) all)
sh MAKEDEV std fd sd0 sd1 sd2 sd3 st0 st1 pty0 random ss0 uk0 sh $this std fd sd0 sd1 sd2 sd3 st0 st1 pty0 random ss0 uk0
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV ipl sh $this ipl
;; ;;
std) std)
@ -242,9 +243,16 @@ ss*)
ln -s ss$unit scan$unit ln -s ss$unit scan$unit
;; ;;
xfs*)
rm -f xfs$unit
mknod xfs$unit c 51 $unit
chmod 600 xfs$unit
chown root.wheel xfs$unit
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh MAKEDEV.local test -s MAKEDEV.local && sh $this.local
;; ;;
*) *)
echo $arg: unknown device echo $arg: unknown device


|||||||
|||||||
xxxxxxxxxx
 
000:0
x
 
000:0
Loading…
Cancel
Save