A/UX 2.0: Missing /dev File


After installing a brand new copy of A/UX 2.0, I've discovered that I'm
missing a needed device file: /dev/dsk/c0d0s3.

I've used HDSetup to partition my internal HD160 SC drive (SCSI 0), and
selected partitioning that would allow a 40MB Macintosh partition, Standard
A/UX partitions, and the rest as "Unreserved 1" Slice 3. Without this
device, I can't set up that final partition on my disk unless I
repartition.

Is it possible to modify an existing device file to create this missing
one? How would I do this?


The missing device file /dev/dsk/c0d0s3, for example, can be created by the
"mknod" command:

   mknod /dev/dsk/c0d0s3 b 24 3
   chmod 600 /dev/dsk/c0d0s3
   chown bin /dev/dsk/c0d0s3
   chgrp bin /dev/dsk/c0d0s3

Note that 24 is the major device number, 3 is the minor device number for
/dev/dsk/c0d0s3, and b indicates a block device type.  Of course, you have
to be "root" to do it.

The "pname" command seems to do the same thing.  It will automatically
create the file in the /dev/dsk directory, if c0d0s3 doesn't exist. In your
case, for example, pname -c0 -s3 "Unreserved 1".
Published Date: Feb 20, 2012