Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Aug 2000 20:58:11 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Josef Karthauser <joe@pavilion.net>
Cc:        Warner Losh <imp@village.org>, Robert Watson <rwatson@FreeBSD.org>, Josef Karthauser <joe@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: cvs commit: src/sbin/i386/fdisk fdisk.c 
Message-ID:  <200008071958.UAA02006@hak.lan.Awfulhak.org>
In-Reply-To: Message from Josef Karthauser <joe@pavilion.net>  of "Mon, 07 Aug 2000 12:03:16 BST." <20000807120316.C499@pavilion.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sun, Aug 06, 2000 at 10:23:25PM -0600, Warner Losh wrote:
> > : Cool.  Now we just need the auto-partitioner under sysinstall to ask for
> > : confirmation before whiping out a suspend-to-disk partition when
> > : allocating all space to FreeBSD.  Or better yet to ask if the
> > : suspend-to-disk partition should be preserved, and all other space used
> > : instead.
> > 
> > Except that the suspend to disk partitions are not standard in many of 
> > the laptops.  Librettos have missing space (and that missing space
> > must be in the lower 6G or so).  VAIOs I think have them.  Other
> > machines do things differently (some even have files on a FAT file
> > system, if reports are to be believed).
> 
> True - mine's a VAIO:
> 
> ******* Working on device /dev/ad0 *******
> parameters extracted from in-core disklabel are:
> cylinders=2584 heads=240 sectors/track=63 (15120 blks/cyl)
> 
> [cut]
> The data for partition 3 is:
> sysid 160,(Suspend to Disk)
>     start 15120, size 408240 (199 Meg), flag 0
> 	beg: cyl 1/ sector 1/ head 0;
> 	end: cyl 27/ sector 63/ head 239
> [cut]
> 
> 
> It doesn't need to be on the beginning of the disk AFAIK, but I
> put it there to make my life easier (I installed a 20gb drive and
> had to do some juggling around to get my old data back online.)

Bah !

******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=2432 heads=255 sectors/track=63 (16065 blks/cyl)
[.....]
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 38539872 (18818 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 1023/ sector 63/ head 254
The data for partition 2 is:
sysid 160,(Suspend to Disk)
    start 38539935, size 530145 (258 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 63/ head 254
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

and it doesn't work :-(  I may try writing a small program to 
``shift'' my partition....

> Joe

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008071958.UAA02006>