:
#ident	"@(#)majorsinuse	1.2	90/08/16"
#ident "@(#)majorsinuse	1.2 89/09/29"
#	@(#) majorsinuse 1.2 89/01/25 
#	@(#) majorsinuse 22.1 89/11/01 
#	majorsinuse: print out the major device numbers currently specified
#		     in the master file

[ ! "$ROOT" ] && ROOT="/."
cd $ROOT/etc/conf/cf.d

awk '{ if ( $1 == "*" || NF < 6 ) next ; { printf("%d\n%d\n", $5, $6)} }' mdevice | sort -n | uniq | tr '\012' ' '
echo
