AUX on non Apple disk drive? (yes - and AUX2.0 is shipping...)

Vicki Brown vlb at Apple.COM
Tue Jul 10 05:10:22 AEST 1990


In article <1990Jul4.170317.2217 at cbnewsc.att.com> schnable at cbnewsc.att.com (andrew.schnable) writes:
>
>I was able to get AUX up and running, but, my large free AUX slice was
>not mounted. I figured that I probably had to make a filesystem and
>mount it myself. Here I ran into a problem - the instructions in
>the AUX documentation lead me to believe that this slice should
>be available under /dev/dsk/c6d0s3 (or something like that -
>I am not sitting at the machine right now...) But, there were no
>such nodes in the filesystem! To make a long story short, I had to 
>make the nodes by hand (using mknod), in both /dev/dsk and /dev/rdsk. 
>I was then able run newfs to create the file system and mount to mount it.

We apologize - the nodes do exist for all SCSI IDs *except* the root disk.
These device nodes are deleted by a pname bug, during the final stages
of the Installation procedure. Thanks for the bug report, and we'll fix
this.  In the meantime, if you have a Free A/UX Slice 3 partition, you
will need to rebuild the device node before making a file system. If you
aren't sure how to do this, there are instructions below.  Those familiar
with mknod can hit the N key :-)

>Does anybody know what the c6d0s30 and c6d0c31 devices are for?
>It looks like c6d0s31 is the entire disk....

  slice 31 is the entire disk (including the partition map).  Do NOT
build a file system in slice 31.
  slice 30 is the MacPartition (If there is one on that disk).  It is
accessible with the UNIX dd command.

================  Basic A/UX tutorial for mknod  =====================
(see the on-line manual page with "man mknod")
You must be the superuser to run this command.  A Commando dialog is
available.

If you look at /dev/dsk with the "ls -l" command, you'll see the pattern:
	brw-------   1 bin      bin       24,  0 Apr 10 01:00 c0d0s0
	brw-------   1 bin      bin       24,  1 Apr 10 01:00 c0d0s1
	brw-------   1 bin      bin       24,  2 Apr 10 01:00 c0d0s2
	brw-------   1 bin      bin       24,  3 Apr 10 01:00 c0d0s3
 	...
	brw-------   1 bin      bin       25,  2 Apr 10 01:00 c1d0s2
	brw-------   1 bin      bin       25,  3 Apr 10 01:00 c1d0s3
	...
	brw-------   1 bin      bin       30,  6 Apr 10 01:00 c6d0s6
	
The first character in the line is the type (/dev/dsk is b,  /dev/rdsk is c)
The major device number = SCSI_ID + 24	    (from 24 to 30)
The minor device number = the slice number  (from 0 to 31)
Thus, to rebuild the devices for SCSI drive ID 6, slice 3:
	su root
	/etc/mknod  /dev/dsk/c6d0s3 b 30 3
	/etc/mknod  /dev/rsk/c6d0s3 c 30 3


-- 
  =======================================================================
  |  Vicki Brown                    \         Apple Computer, Inc.      |
  |  vlb at apple.com                   \        MS 58A, 10440 Bubb Rd.    |
  |  A/UX Development Engineering     \       Cupertino, CA  95014 USA  |
  |  +1 (408) 974-2120                 \                                |
  |          Ooit'n Normaal Mens Ontmoet?  En..., Beviel't?		|
  |       (Did you ever meet a normal person?  Did you enjoy it?)       |
  =======================================================================



More information about the Comp.unix.aux mailing list