Drive Setup for YDL (nathan r. hruby)

nathan r. hruby yellowdog-general@lists.terrasoftsolutions.com
Fri May 9 15:43:01 2003


On Fri, 9 May 2003, Tim Seufert wrote:

> On Friday, May 9, 2003, at 01:03  PM, nathan r. hruby wrote:
> 
> > On Fri, 9 May 2003, Bill Judd wrote:
> >
> >>
> >> Here's a quote from the (Mac OS X) man page for "pdisk", Apple's
> >> low-level partitioning tool:
> >>
> >> "Creating more than fifteen partitions is not advised.  There is
> >> currently
> >>       a bug in the some (all?) of the kernels which causes access to 
> >> the
> >> whole
> >>       disk fail if more than fifteen partitions are in the map."
> >>
> >> If you use Apple's "Disk Utility" to do your formatting, and you add
> >> the OS 9 drivers, your first "user" partition will be #9 of 15.
> >>
> >
> > Hurm.  Thanks for the info!  I'm going to have to reevaluate things a
> > bit then.
> 
> On the other hand... that man page dates itself March 24, 2001, which 
> is (if I'm not mistaken) the MacOS X 10.0.0 time frame.  I've seen it 
> happen before that people bring up (on Darwin mailing lists) 
> limitations mentioned in Darwin man pages, and some Apple guy says "oh, 
> we fixed that N releases ago, just never updated the man page".  So it 
> might be worth your while to do some experimentation, as this seems 
> like a prime candidate for that sort of thing.  :)
> 

Freakin' Apple....  I went into DiskUtility and created 8 partitions, then 
split each a bunch of times.. then partitioned the drive, and now..
bash-2.05a$ cd /Volumes/
bash-2.05a$ ls -l | wc -l 
      27 
bash-2.05a$ su
[puma:/Volumes] nathan# pdisk
Top level command (? for help): 
Top level command (? for help): L
/dev/rdisk0  map block size=512
   #:                 type name                  length   base      ( size )
   1:  Apple_partition_map Apple                     63 @ 1        
   2:       Apple_Driver43*Macintosh                 56 @ 64       
   3:       Apple_Driver43*Macintosh                 56 @ 120      
   4:     Apple_Driver_ATA*Macintosh                 56 @ 176      
   5:     Apple_Driver_ATA*Macintosh                 56 @ 232      
   6:       Apple_FWDriver Macintosh                512 @ 288      
   7:   Apple_Driver_IOKit Macintosh                512 @ 800      
   8:        Apple_Patches Patch Partition          512 @ 1312     
   9:            Apple_HFS Untitled           361880248 @ 1824      (172.6G)
  10:           Apple_Free                            0+@ 361882072

Device block size=512, Number of Blocks=361882080
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 120 for 36, type=0xffff
3: @ 176 for 21, type=0x701
4: @ 232 for 34, type=0xf8ff

/dev/rdisk1  map block size=512
   #:                 type name                  length   base      ( size 
)
   1:  Apple_partition_map Apple                     63 @ 1        
   2:       Apple_Driver43*Macintosh                 56 @ 64       
   3:       Apple_Driver43*Macintosh                 56 @ 120      
   4:     Apple_Driver_ATA*Macintosh                 56 @ 176      
   5:     Apple_Driver_ATA*Macintosh                 56 @ 232      
   6:       Apple_FWDriver Macintosh                512 @ 288      
   7:   Apple_Driver_IOKit Macintosh                512 @ 800      
   8:        Apple_Patches Patch Partition          512 @ 1312     
   9:            Apple_HFS Untitled_1_1        11308816 @ 1824      (  5.4G)
  10:            Apple_HFS Untitled_1_2        11308816 @ 11310640  (  5.4G)
  11:            Apple_HFS Untitled_2_1_1       5654416 @ 22619456  (  2.7G)
  12:            Apple_HFS Untitled_2_1_2       5654416 @ 28273872  (  2.7G)
  13:            Apple_HFS Untitled_2_2        11308816 @ 33928288  (  5.4G)
  14:            Apple_HFS Untitled 2_1_1       8548400 @ 45237104  (  4.1G)
  15:            Apple_HFS Untitled 2_1_2       8548400 @ 53785504  (  4.1G)
  16:            Apple_HFS Untitled 2_2_1_1     4274208 @ 62333904  (  2.0G)
  17:            Apple_HFS Untitled 2_2_1_2     4274208 @ 66608112  (  2.0G)
  18:            Apple_HFS Untitled 2_2_2       8548400 @ 70882320  (  4.1G)
  19:            Apple_HFS Untitled 3_1_1       5846736 @ 79430720  (  2.8G)
  20:            Apple_HFS Untitled 3_1_2       5846736 @ 85277456  (  2.8G)
  21:            Apple_HFS Untitled 3_2        11693472 @ 91124192  (  5.6G)
  22:            Apple_HFS Untitled 4_1_1       5846736 @ 102817664 (  2.8G)
  23:            Apple_HFS Untitled 4_1_2       5846736 @ 108664400 (  2.8G)
  24:            Apple_HFS Untitled 4_2        11693472 @ 114511136 (  5.6G)
  25:            Apple_HFS Untitled 5          18384384 @ 126204608 (  8.8G)
  26:            Apple_HFS Untitled 6_1_1       5846736 @ 144588992 (  2.8G)
  27:            Apple_HFS Untitled 6_1_2       5846736 @ 150435728 (  2.8G)
  28:            Apple_HFS Untitled 6_2_1_1     2923376 @ 156282464 (  1.4G)
  29:            Apple_HFS Untitled 6_2_1_2     2923376 @ 159205840 (  1.4G)
  30:            Apple_HFS Untitled 6_2_2       5846736 @ 162129216 (  2.8G)
  31:            Apple_HFS Untitled 7          18384384 @ 167975952 (  8.8G)
  32:            Apple_HFS Untitled 8_1_1       5079904 @ 186360336 (  2.4G)
  33:            Apple_HFS Untitled 8_1_2       5079904 @ 191440240 (  2.4G)
  34:            Apple_HFS Untitled 8_2       165361928 @ 196520144 ( 78.9G)
  35:           Apple_Free                            0+@ 361882072

Device block size=512, Number of Blocks=361882080
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 120 for 36, type=0xffff
3: @ 176 for 21, type=0x701
4: @ 232 for 34, type=0xf8ff

Whee!  This is on 10.2.6 but I bet that bugs' quashed for most of the 10.2 
series at least..  God - and I think they hate it when I file radar bugs 
about outdated manpages :)

> BTW, under Linux there are sometimes problems with large partition 
> counts: many x86 distributions used to install enough device nodes 
> under /dev for 15 or 16 partitions per drive, that already being more 
> than anybody could contemplate using with the horrible MS-DOS partition 
> table format.  YDL (at least as of several releases ago) used to do 
> this since it is a RedHat port, and let's face it, the demand for 16+ 
> partitions is small even if you have a partition table not designed in 
> the Stone Age.  After SSHing to a local RH machine, it does look as 
> though recent RH distributions install 32, but it's something to check 
> out if you run into problems.
> 

Thanks! I, in theory, could make more with makedev, that's not true for 
the installer CD :)  I'll give it a whirl and see what happens.

-n
-- 
----------------------------------------
nathan hruby <nathan@drama.uga.edu>
computer services specialist  
uga drama & theatre                        
reality is a moving target
----------------------------------------