Mailinglist Archive: opensuse-mobile (36 mails)

< Previous Next >
Re: [opensuse-mobile] two issues with suspend to disk in Suse 10.2
  • From: Pramod <mail2pramod@xxxxxxxxx>
  • Date: Wed, 2 May 2007 11:27:09 +0200
  • Message-id: <39fa5d8f0705020227y3ad0946ejc39fa40478623e6@xxxxxxxxxxxxxx>
On 5/2/07, Martin Hofius <Martin@xxxxxxxxxxxxxxxxx> wrote:
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...

I wrote the file made_in_win.txt and made_in_linux.txt before resuming windows.
I did not try writing something after resuming XP. I did look at the
two files after
XP resumed and they looked fine. I'm not saying everything is safe as
I have done only
this one test. Does this answer your question?


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

Thanks.
I'll take a look at this possibility. Actually, for me I almost never
write the same files
to the fat partition or share data between XP and Linux. I only use
Windows (actually
my wife does) for video chatting and thing like that. And I thought it
is very convenient
for many other people who dual-boot to have this option if it can work safely.

 Best,
 Pramod
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-mobile+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-mobile+help@xxxxxxxxxxxx

< Previous Next >
List Navigation