Date: Wed, 12 Sep 2001 19:15:46 -0400
From: "Eiren K. Smith" <[EMAIL PROTECTED]>
Subject: Re: Hibernation theory
Instead of writing ones to the empty area of a partition, you could write a
(huge) file to a partition and fill it with a constant value. Thus, you
could put a big partition near the end of the disk, then write something
quick and dirty in C to create a text file with the character repeated in it
until the file is the same size (or a byte less or whatever) than the
partition it is on. That's a solution for "filling a partition with 1's"
that's easy in any operating system.
-e.
----- Original Message -----
From: "Michael Miller" <[EMAIL PROTECTED]>
To: "Libretto" <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 6:25 PM
Subject: Hibernation theory
> Date: Fri, 13 Jul 2001 18:12:58 -0400 (EDT)
> From: Michael Miller <[EMAIL PROTECTED]>
> Subject: Hibernation theory
>
> > If you know how to write binary 1's to the HD and can figure out the
exact
> > location of the hibernation partition from that, you won't have to leave
as
> > much empty space. However, thus far, not one of the findings from
others has
> > shown that the hibernation space is located in the exact same spot, or
is the
> > exact same size between HDs.
>
> Here's a theory (I have one data point to support it!) At least in my
> Lib70 with a 10GB HD:
>
> <THEORY>
> The hibernation area begins at cylinder 1023, and goes up "as far as
> needed" (maximum RAM + video memory).
> </THEORY>
>
> To test this theory (on a newly-installed HD larger than 8.4GB):
>
> 1) Boot to Win9x or DOS without a disk manager, put in a partition at the
> very end of the disk, and see what cylinder number it ends at (if the
> THEORY is correct, it would always end at cylinder 1022).
>
> 2) Get your partitioning software to see the whole drive (I put a Linux
> partition above the 8.4GB mark; thereafter PartitionMagic could see the
> entire drive), skip the amount of space theorized for the partition area,
> and create an "important" partition just after that (I created my Linux
> /usr partition there). Note: since PM insists on starting at cylinder
> boundaries, the possible "edges" of partitions on my drive were spaced
> every 7.8MB, so I was forced to leave 5 cylinders = 39MB free.
>
> 3) Hibernate a bunch and see if the "important" partition gets corrupted
> (mine hasn't). (I'm guessing that most OS's write first to the beginning
> of a partition - if so, corruption should be readily apparent.)
>
> So, if you can provide evidence for or against this theory, please post it
> to the list!!
>
> Mike
>
>
>
>
> **************************************************************
> http://libretto.basiclink.com - Libretto mailing list
> http://libretto.basiclink.com/archive - Archives
> http://www.picante.com/~gtaylor/portable/faq.html - FAQ
> -------UNSUBSCRIBE-------
> mailto:[EMAIL PROTECTED]?subject=cmd:unsubscribe
> --------UNSUBSCRIBE DIGEST------
> Use above but add DIGEST to the subject line...
> **************************************************************
>
>
**************************************************************
http://libretto.basiclink.com - Libretto mailing list
http://libretto.basiclink.com/archive - Archives
http://www.picante.com/~gtaylor/portable/faq.html - FAQ
-------UNSUBSCRIBE-------
mailto:[EMAIL PROTECTED]?subject=cmd:unsubscribe
--------UNSUBSCRIBE DIGEST------
Use above but add DIGEST to the subject line...
**************************************************************