Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* major/minor device numbers
@ 2000-08-14  4:00 thush2
  2000-08-15  4:00 ` Joerg-Uwe Tessmer
  2000-08-16  4:00 ` jan.wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: thush2 @ 2000-08-14  4:00 UTC (permalink / raw)


hi,
How can I figure out major/minor device numbers of a hard disk and/or
hard disk partition in DEC-alpha(compaq tru64) v4.0f ?

thanks


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: major/minor device numbers
  2000-08-14  4:00 major/minor device numbers thush2
@ 2000-08-15  4:00 ` Joerg-Uwe Tessmer
  2000-08-16  4:00 ` jan.wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Joerg-Uwe Tessmer @ 2000-08-15  4:00 UTC (permalink / raw)


thush2@my-deja.com wrote:
> 
> hi,
> How can I figure out major/minor device numbers of a hard disk and/or
> hard disk partition in DEC-alpha(compaq tru64) v4.0f ?
> 
> thanks
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

Hi,

prompt> uerf -r 300 |more

...
...
    scsi0 at isp0 slot 0 
    rz0 at scsi0 target 0 lun 0 (LID=0) 
    _(COMPAQ  BB00921B91       3B05) 
    _(Wide16) 
    rz1 at scsi0 target 1 lun 0 (LID=1) 
    _(SEAGATE ST318275LW       0001) 
    _(Wide16)
...
...
    scsi1 at ata0 slot 0 
    rz8 at scsi1 target 0 lun 0 (LID=2) 
    _(COMPAQ  CRD-8322B        1.07) 
    ata1 at pci0 slot 207 (slot 7, 
    _function 2)
...
...

And the partitiones:
for Digital Unix 4.0...e, and TRU64 V. 4.0f use this command:
prompt> disklabel -r /dev/rrz0a
and for for TRU64 5.0,5.0a use this command:
prompt> disklabel -r /dev/disk/dsk0a

# /dev/rrz0a:
type: SCSI
disk: BB00921B
label: 
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 168
tracks/cylinder: 20
sectors/cylinder: 3360
cylinders: 5273
sectors/unit: 17773524
rpm: 7207
interleave: 1
trackskew: 48
cylinderskew: 52
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#          size     offset    fstype   [fsize bsize   cpg]      # NOTE:
values not exact
  a:     524288          0     AdvFS                            #
(Cyl.    0 - 156*)
  b:     786432     524288      swap                            # (Cyl. 
156*- 390*)
  c:   17773524          0    unused        0     0             #
(Cyl.    0 - 5289*)
  d:          0          0    unused        0     0             #
(Cyl.    0 - -1)
  e:          0          0    unused        0     0             #
(Cyl.    0 - -1)
  f:          0          0    unused        0     0             #
(Cyl.    0 - -1)
  g:    4194304    1310720     AdvFS                            # (Cyl. 
390*- 1638*)
  h:   12268500    5505024    unused        0     0             # (Cyl.
1638*- 5289*)

To configure yor disks use:

prompt> diskconfig &

open a window to configure your disk partitiones.

Best Regards

	Joerg-Uwe Tessmer
-- 
Joerg-Uwe Tessmer              Universitaet Potsdam
Tel.: +49+331-9771613          Institut fuer Physik        
Fax.: +49+331-9771142      Lehrstuhl Nichtlineare Dynamik
http://www.agnld.uni-potsdam.de/~joerg



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: major/minor device numbers
  2000-08-14  4:00 major/minor device numbers thush2
  2000-08-15  4:00 ` Joerg-Uwe Tessmer
@ 2000-08-16  4:00 ` jan.wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: jan.wysocki @ 2000-08-16  4:00 UTC (permalink / raw)


thush2@my-deja.com wrote:
> hi,
> How can I figure out major/minor device numbers of a hard disk and/or
> hard disk partition in DEC-alpha(compaq tru64) v4.0f ?

> thanks

'ls -l /dev/rrz#?'  where '#' is an integer and '?' is the partion letter
Device nos. appear in the 'size' field:

E.g.
ls -l /dev/rrz8?
crw-------   1 root     system     8,16384 Mar  6  1999 /dev/rrz8a
crw-------   1 root     system     8,16385 Aug 14  1997 /dev/rrz8b
crw-------   1 root     system     8,16386 Aug 14  1997 /dev/rrz8c
crw-------   1 root     system     8,16387 Aug 14  1997 /dev/rrz8d
crw-------   1 root     system     8,16388 Aug 14  1997 /dev/rrz8e
crw-------   1 root     system     8,16389 Aug 14  1997 /dev/rrz8f
crw-------   1 root     system     8,16390 Aug 14  1997 /dev/rrz8g
crw-------   1 root     system     8,16391 Aug 14  1997 /dev/rrz8h
                                     ^minor
                                   ^major

-- 
Jan



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-08-16  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-14  4:00 major/minor device numbers thush2
2000-08-15  4:00 ` Joerg-Uwe Tessmer
2000-08-16  4:00 ` jan.wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox