#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.12 1997/02/05 02:37:45 kstailey Exp $
+# $OpenBSD: MAKEDEV,v 1.13 1997/02/22 21:09:13 kstailey Exp $
# $NetBSD: MAKEDEV,v 1.8 1996/03/03 16:54:17 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
done
;;
-cd*|sd*|xy*|vnd*|ccd*)
+cd*|sd*|xy*|vnd*|ccd*|rd*)
case $arg in
cd*) name=cd; blk=18; chr=58;;
sd*) name=sd; blk=7; chr=17;;
xy*) name=xy; blk=3; chr=9 ;;
vnd*) name=vnd; blk=5; chr=19;;
ccd*) name=ccd; blk=9; chr=33;;
+ rd*) name=rd; blk=13; chr=52;;
esac
case $unit in
0|1|2|3|4) offset=`expr $unit \* 8`;;
-/* $OpenBSD: conf.h,v 1.6 1997/02/04 23:25:04 kstailey Exp $ */
+/* $OpenBSD: conf.h,v 1.7 1997/02/22 21:09:16 kstailey Exp $ */
/*-
* Copyright (c) 1996 Kenneth Stailey. All rights reserved.
*/
bdev_decl(rd);
-/* no cdev for rd */
+cdev_decl(rd);
/* swap device (required) */
bdev_decl(sw);
-/* $OpenBSD: conf.c,v 1.19 1997/02/04 23:25:03 kstailey Exp $ */
+/* $OpenBSD: conf.c,v 1.20 1997/02/22 21:09:15 kstailey Exp $ */
/* $NetBSD: conf.c,v 1.51 1996/11/04 16:16:09 gwr Exp $ */
/*-
cdev_notdef(), /* 49: (chat) */
cdev_notdef(), /* 50: (chut) */
cdev_notdef(), /* 51: (chut) */
- cdev_notdef(), /* 52: RAM disk - for install tape */
+ cdev_disk_init(NRD,rd), /* 52: RAM disk - for install tape */
cdev_notdef(), /* 53: (hd - N/A) */
cdev_notdef(), /* 54: (fd - N/A) */
cdev_notdef(), /* 55: cgthree */