Subject: Disklabels arrive for 2.11BSD (#254 part 5 of 18)
Index:	sys,bin,usr.lib,(many more)/<many> 2.11BSD

Description:
	The moving the partitions tables out of the disk drivers and to
	a disklabel residing on the media has been on the wish list for
	many many years.

	Disklabels have finally arrived for 2.11BSD!

Repeat-By:
	Observation.  Also a reading of the setup and installation
	documentation for previous 2BSD releases (2.9, 2.10, 2.11)
	all have a paragraph similar to this present:

"It is possible to change the partitions by changing the code for the
table in the disk driver.  Since it's desirable to do this, these tables
really should be read off each pack...."

Fix:
	This is part 5 of 18.  Gather all parts before doing anything
	except reading the instructions which are in #250 (part 1).

	Updated by this part are:

/dev/MAKEDEV

	The RL device now supports partitions. The minor device number
	and names of the device nodes for 'rl' disks have changed.

	Cut where indicated and save to a file (/tmp/254).  Then:

		patch -p0 < /tmp/254
		rm /tmp/254

--------------------------cut here----------------------
*** /dev/MAKEDEV.old	Mon Feb 20 21:46:55 1995
--- /dev/MAKEDEV	Sat Jun 17 23:47:20 1995
***************
*** 4,10 ****
  # All rights reserved.  The Berkeley software License Agreement
  # specifies the terms and conditions for redistribution.
  #
! #	@(#)MAKEDEV	4.27.1 (2.11BSD GTE) 2/14/95
  #
  # Device "make" file.  Valid arguments:
  #	std	standard devices
--- 4,10 ----
  # All rights reserved.  The Berkeley software License Agreement
  # specifies the terms and conditions for redistribution.
  #
! #	@(#)MAKEDEV	4.27.2 (2.11BSD GTE) 1995/06/17
  #
  # Device "make" file.  Valid arguments:
  #	std	standard devices
***************
*** 123,136 ****
  	umask 77
  	;;
  
! rk*|rl*)
! 	# The 2.10BSD rk and rl drivers don't support partitions.  We create
  	# a single block and charater inode pair for each unit and
! 	# call it rkNh and rlNh.
  	umask 2 ; unit=`expr $i : '..\(.*\)'`
  	case $i in
  	rk*) name=rk; blk=6; chr=15;;
- 	rl*) name=rl; blk=7; chr=16;;
  	esac
  	/etc/mknod ${name}${unit}h b ${blk} ${unit}
  	/etc/mknod r${name}${unit}h c ${chr} ${unit}
--- 123,135 ----
  	umask 77
  	;;
  
! rk*)
! 	# The 2.11BSD rk driver doesn't support partitions.  We create
  	# a single block and charater inode pair for each unit and
! 	# call it rkNh.
  	umask 2 ; unit=`expr $i : '..\(.*\)'`
  	case $i in
  	rk*) name=rk; blk=6; chr=15;;
  	esac
  	/etc/mknod ${name}${unit}h b ${blk} ${unit}
  	/etc/mknod r${name}${unit}h c ${chr} ${unit}
***************
*** 164,170 ****
  	umask 77
  	;;
  
! br*|hk*|ra*|si*|xp*)
  	umask 2 ; unit=`expr $i : '..\(.*\)'`
  	case $i in
  	br*) name=rp; blk=11; chr=20;;
--- 163,169 ----
  	umask 77
  	;;
  
! br*|hk*|ra*|si*|xp*|rl*)
  	umask 2 ; unit=`expr $i : '..\(.*\)'`
  	case $i in
  	br*) name=rp; blk=11; chr=20;;
***************
*** 172,177 ****
--- 171,177 ----
  	ra*) name=ra; blk=5; chr=14;;
  	si*) name=si; blk=9; chr=18;;
  	xp*) name=xp; blk=10; chr=19;;
+ 	rl*) name=rl; blk=7; chr=16;;
  	esac
  	case $unit in
  	0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|\
