Mailinglist Archive: opensuse-mobile (36 mails)

< Previous Next >
Re: [opensuse-mobile] two issues with suspend to disk in Suse 10.2
  • From: Martin Hofius <Martin@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 2 May 2007 10:47:36 +0200
  • Message-id: <200705021047.36385.Martin@xxxxxxxxxxxxxxxxx>
Am Mittwoch, 2. Mai 2007 09:32 schrieb Pramod:
> > What's about the next step? Linux writes somes files to the fat32
> > partition and windows resumes? Windows does'nt know anything about other
> > operating systems ("I am windows, your operation system. You may not use
> > other systems than windows ;-))
>
> Dear Martin,
> I did a simple test and found your comment to be very valid. I did the
> following:
>
> 1) I booted into XP and created a file made_in_win.txt. Then suspended
> XP to disk.
> 2) Switched on the machine and Grub gave me XP and Suse as choices and
> I chose Suse.
>     (choosing XP would have resumed the suspended WIndows session)
> 3) In the freshly booted Suse I can see the made_in_win.txt file. Now
> I generated a new
>     file in the same fat32 partition and called it made_in_linux.txt.
> 4) I shutdown Linux and restarted, chose the suspended XP and resumed it.
>     The file made_in_linux.txt was not to be seen! As you said XP did
> not realise it was
>     created. 
>     However, when I shutdown XP and restarted it the file was 
> recognised. At least
>    it was not lost.
Did You write anything on this partition after resumung XP and before You 
shutdown XP? If XP doesn't know anything about the file made_in_linux.txt, 
how can it savely write new data to this partition? I would expect that in 
some cases the file made_in_linux.txt is damaged or cross linked with the new 
file written in XP. FAT32 is very simple and the damaged regions are very 
small in common. I would not dare to test it with a nt or reiser partition...

Concerning Your question about USB sticks: if a media is recocniced as 
"removable", most OS present a function to remove it savely (XP: in the tray, 
openSuSE 10.2: in the context menu in the workplace listing). This function 
starts a "sync" and cleans the cached structures - the same procedure as a 
regular umount in previous linux kernel versions.
Perhaps You can give an "umount" to the common partitions before supending 
linux (should be immediate berfore supending to prevent a new "auto mount" ). 
I think there are some freeware proggys for windows to define a partition as 
"removable" - therefore You can "umount" it with the tray icon...

Greetings
Martin

>
> Even with this situation, I would still be interested in having the
> option to switch OS by
> merely suspending to disk :-).
>
>   Best regards,
>   Pramod
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: opensuse-mobile+unsubscribe@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse-mobile+help@xxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-mobile+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-mobile+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups