Escher and pname - how do they relate ?

Jussi-Pekka Mantere jpm at cs.hut.fi
Sat May 4 08:48:49 AEST 1991


In article <D88-JWA.91Apr27160920 at byse.nada.kth.se> d88-jwa at byse.nada.kth.se (Jon W{tte) writes:

   The question might seem a little strange :-)

In fact, the new partitioning scheme may seem (at first) a little
strange ;), especially when A/UX is concerned...

   Actually, when trying to use escher, I get the error message
   "/dev/dsk/c6d0s9 previously pnamed"
   There is no such slice nor device. I have slices up to c6d0s8,
   with slices 7 and 8 being eschatology systems.

You have assigned slice numbers for Eschatology file systems?
Neither HD Setup nor LaCie's SilverLining does this...

   I created the partitions using dp, so I'm not sure wether they
   are real OK... (They work, tho, swap & root & usr & the rest)

(The output of command "P" of "dp /dev/dsk/c6d0s31" would have come in
handy here ;)

Here's a "short" walk-through of the "Eschatology" file system on a
"standard" A/UX disk, partitioned by Apple's HD Setup.
Will this help you at all? As always, your mileage may vary...

$ pname -p					<- show the current, recognized
Root file system:Apple_UNIX_SVR2:0:0:0		   partitions
Swap:Apple_UNIX_SVR2:0:0:1
Usr file system:Apple_UNIX_SVR2:0:0:2
:Apple_HFS:0:0:30

$ dp /dev/dsk/c0d0s31
Command? P					<- list the partitions on 
...						   disk with SCSI id 0
DPM Index: 3
Name: "Eschatology 1", Type: "Apple_UNIX_SVR2"
Physical: 6144 @ 120096, Logical: 6144 @ 0
Status:
        valid   alloc   in_use  not boot
        read    write
No slice specified				<- HD Setup won't assign
Eschatology File System (2) (critical)		   a slice # for Eschatology
Cluster:   0    Type: EFS       Inode: 1
Made: [651241549] Tue Aug 21 05:25:49 1990
Mount: [669990413] Tue Mar 26 04:26:53 1991
Umount: [669990446] Tue Mar 26 04:27:26 1991
No AltBlk map
...

$ pname -c0 "Eschatology 1"			<- recognize the Eschatology
/dev/dsk/c0d0s3					   partition

$ pname -p
Root file system:Apple_UNIX_SVR2:0:0:0		   
Swap:Apple_UNIX_SVR2:0:0:1
Usr file system:Apple_UNIX_SVR2:0:0:2
Eschatology 1:Apple_UNIX_SVR2:0:0:3		<- and it was indeed recognized
:Apple_HFS:0:0:30				   as /dev/dsk/c0d0s3

Once you know the device for the Eschatology partition, you can use it
as any other UNIX partition (do a newfs on it, fsck it, mount it).

$ newfs /dev/dsk/c0d0s3 HD160SC/Generic
...
$ fsck /dev/dsk/c0d0s3
...
$ mount /dev/dsk/c0d0s3 /mnt
$ umount /dev/dsk/c0d0s3
$ pname -u /dev/dsk/c0d0s3

However, at least when installing A/UX 2.0 from CD-ROM, the
Eschatology file system is created as of type 5.2 (SysV file system),
and _not_ 4.2 (BSD file system). If it matters for escher, I don't know...

Suggestions? Scrap the slice-#:s for the Eschatology partitions, and
create a new (SysV?) file system on the partitions.

Due caution is adviced :) as this may totally mess up your existing
set up.

Regards,

Chape
-- 
"Imagine there's no Windows,
 It's easy if you try..."

Steven Levy, Macworld April '91



More information about the Comp.unix.aux mailing list