Subject: bin/624: sparc MAKEDEV errors.
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: matthew green <mrg@splode.mame.mu.OZ.AU>
List: netbsd-bugs
Date: 12/09/1994 20:05:11
>Number:         624
>Category:       bin
>Synopsis:       sparc MAKEDEV gives errors with `MAKEDEV cd'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec  9 20:05:07 1994
>Originator:     matthew green
>Organization:
bozotic softwar foundation.
>Release:        8th, december, 1994.
>Environment:
System: NetBSD splode.mame.mu.OZ.AU 1.0A NetBSD 1.0A (_splode_) #80: Sat Dec 3 23:59:50 EST 1994 mrg@splode.mame.mu.OZ.AU:/splode/src/sys/arch/sparc/compile/_splode_ sparc


>Description:

	the new code to make cd devices is broken.  if you give it bogus
	arguments it fails and gives various lossage.

>How-To-Repeat:

	cd /dev; ./MAKEDEV cd

	gives:

expr: syntax error
usage: mknod name [b | c] major minor
expr: syntax error
usage: mknod name [b | c] major minor
expr: syntax error
usage: mknod name [b | c] major minor
expr: syntax error
usage: mknod name [b | c] major minor
chgrp: cd[a-h]: No such file or directory
chgrp: rcd[a-h]: No such file or directory
chmod: cd[a-h]: No such file or directory
chmod: rcd[a-h]: No such file or directory


	using `cd0' instead of `cd' is a workaround.

>Fix:
>Audit-Trail:
>Unformatted: