Date: Fri, 27 Oct 2000 19:24:12 -0500 (CDT)
From: Andre van Straaten <[EMAIL PROTECTED]>
Subject: Re: Hibernation partition on a large disk

>> 
>> I don't think BIOS creates a partition to hibernate at all. It just
write
>> directly to the area where it thinks it should be.
>> 
>What I plan to do (and the only safe method I can think of), is
>to create a small Unix partition at the start of the disk, write
>a bit code to fill the rest of the disk with a known byte pattern,
>then run a similar bit of code to report the range of physical
>addresses that have been changed after a hibernate.
>
>It won't be quick, but it should answer the question once and for
>all.
> 

When I installed FreeBSD relaese 3.3 on my Toshiba Libretto 50CT notebook,
I had to generate a second raw hibernation partition. 
The raw hibernation partition generated by Windows 95 is not used by the
BIOS when hibernating in FreeBSD. Instead, the hibernation data are
written into the "/usr" slice which destroys the main partition and leaves
only a rudimentary operating system in "/root". 
This happens indepedently from having APM enabled or not as it is a BIOS
function. If you have re-compiled your kernel with the APM option, the
only difference is that you can manually hibernate before your battery is
empty. 
To avoid crashing the hibernation data into my "/usr" slice, I generated a
second raw hibernation partition from the FreeBSD installation program. 

The HD used has 4 GB.

-- avs

Andre van Straaten
[EMAIL PROTECTED]
http://www.vanstraatensoft.com





**************************************************************
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...                           
**************************************************************

Reply via email to