[Info-vax] Ods2 reader utility mount

Steven Schweda sms.antinode at gmail.com
Tue Sep 8 10:00:48 EDT 2009


ChrisQ wrote:

> [...] my
> lack of knowledge re the Solaris device numbering. The
> device directory (/dev/dsk) contains device special files
> for individual partitions, ie: c6t1d0s2, where the s2
> denotes partiton number, However, there is no device special
> file for the whole unpartitioned drive, ie: c6t1d0.  [...]

   "format" can be suggestive, if not downright educational.
For example:

[...]
partition> print
Current partition table (original):
Total disk cylinders available: 14078 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 - 12416       14.96GB    (12417/0/0)
31365342
  1       swap    wu   12417 - 14077        2.00GB    (1661/0/0)
4195686
  2     backup    wm       0 - 14077       16.96GB    (14078/0/0)
35561028
  3 unassigned    wm       0                0
(0/0/0)            0
  4 unassigned    wm       0                0
(0/0/0)            0
  5 unassigned    wm       0                0
(0/0/0)            0
  6 unassigned    wm       0                0
(0/0/0)            0
  7 unassigned    wm       0                0
(0/0/0)            0

   Slice ("Part") 0 is a normal file system:

ra# mount | grep /dev/dsk
/ on /dev/dsk/c0t0d0s0
 read/write/setuid/devices/intr/largefiles/logging/xattr
 /onerror=panic/dev=800000 on Tue Sep  8 08:41:19 2009

   Slice ("Part") 1 is swap:

ra# swap -l
swapfile             dev  swaplo blocks   free
/dev/dsk/c0t0d0s1   32,1      16 4195664 4195664

   Slice ("Part") 2 looks suspiciously like the whole thing,
just like the "c" partition in SunOS 4.x (and, I assume,
before that, too).

   If your complaint is that you added a disk but have no
device files at all for it, then a reconfiguration boot ("boot
-r") could be helpful, or else "man disks".

> In the end, it was easier to use a linux box, [...]

   Depends on what you know, of course.



More information about the Info-vax mailing list