[ILUG] Partition scheme

Liam Bedford lbedford at lbedford.org
Sun Sep 23 11:43:17 IST 2001


On Sat, Sep 22, 2001 at 11:48:10PM +0100, Robert Gallagher came forth with:
> I'm trying to create a partition scheme in NetBSD that will allow me to use
> the entire disk (4gigs) as the /var partition. My problem is that I can't
> really
> figure the disk geometry that disklabel outputs:
> 
> #        size   offset     fstype   [fsize bsize cpg/sgs]
>   a:   131072        0     unused        0     0         # (Cyl.    0 - 57*)
>   b:   262144   131072     unused        0     0         # (Cyl.   57*-
> 173*)
>   c:  8380080        0   FILECORE                        # (Cyl.    0 -
> 3707)
>   g:  3993432   393216     unused        0     0         # (Cyl.  173*-
> 1940*)
>   h:  3993432  4386648     unused        0     0         # (Cyl. 1940*-
> 3707)
> 
> Is there a way I could create a 4.2BSD filesystem using all the free space
> on
> the drive in say, sd0a ?
> 
> There is probably an easier way of working this out :)
Well, apart from mailing the BSD Users group (bugi at redbrick.dcu.ie).

/dev/sd0c is the entire disk. you can use that if you want.

or delete one of the partitions that is there, and recreate it going from 0
-> 3707.

L.
-- 
     dBP   dBBBBb | If you're looking at me to be an accountant
              dBP | Then you will look but you will never see
   dBP    dBBBK'  | If you're looking at me to start having babies
  dBP    dB' db   | Then you can wish because I'm not here to fool around
 dBBBBP dBBBBP'   | Belle & Sebastian (Family Tree)




More information about the ILUG mailing list