I have a gpt partitioned disk. ls /dev/dsk (and /dev/rdsk) gives:

c0t0d0
c0t0d0p0
c0t0d0p1
c0t0d0p2
c0t0d0p3
c0t0d0p4
c0t0d0s0
.
(skips s7)
.
c0t0d0s15

How do these map to the actual partitions?

I followed the symlinks to /devices, they all point to the same location on
the PCI bus (makes sense, same physical disk), with each just hitting a
different letter

s0-> sd@0,0:a
s1-> sd@0,0:b
...
( skips s7 and sd0@0,0:h )
 ...
s15-> sd0@0,0:p
p0->sd0@0,0:q
..
p4->sd0@0,0:u

1- How do these map to the actual partitions?
2- The actual disk has partitions 0-7,9-17 (skipping the 9th from
beginning), but /dev/dsk and /devices/ skip h and s7, or 8th from beginning
(unless it ignores the 0th partition?)
3- What happens if I have 25 or 30 partitions, or more than the 20 listed
here. EFI/GPT support it, format -e supports it, what would the /dev/dsk
devices be?

(please reply-all so I get the message, doesn't get lost in digest)


-- 
Avi Deitcher
Follow me http://twitter.com/avideitcher
Read me http://blog.atomicinc.com



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to