Re:Why are there no true cross-platform filesystems?
by lloeki on Sunday February 24, 2013 @06:20AM
(#5273830)
> While technically hibernate (to disk at least) should unmount all filesystems
Not a chance. Hibernate is just like Suspend to RAM: freeze all processes but core kernel, blit RAM to disk (usually stored in swap) and send poweroff command straight to CPU. Of course it doesn't unmount anything, hence there are FS data structures live in RAM. Booting an alternate system and accessing a filesystem open on the other side is like mounting twice the same filesystem and writing to it. It will blow up on you.
Re:Why are there no true cross-platform filesystems?
by e12e on Sunday February 24, 2013 @07:01AM
(#5273911)
Ah, I was thinking of the Debian package for hibernate, that has custom scripts for unmounting selected file systems, from the help text:
"If you have network shares or external devices that should be unmounted before suspending, list them here."
"Unmounts any filesystems of the given types. This is most useful for network filesystems such as smbfs and nfs."
And afaik it is perfectly possible to add ntfs mounts to that list - but I don't think any program with open files on that mount would handle it gracefully (I belive the script will figure out which processes (if any) have open files and kill them prior to hibernation).
Re:Why are there no true cross-platform filesystems?
by Shorel on Monday February 25, 2013 @04:48PM
(#5282064)
You can't change Windows code to 'add ntfs mounts to that list'.
Windows 8 will in fact do hibernation when you think you have turned off the computer.
Bottom line: You can't dual boot safely with Windows 8.
Re:Why are there no true cross-platform filesystems?
by inquist on Sunday February 24, 2013 @03:57PM
(#5275879)
Yeah this bit me recently, as I was hibernating my linux system but sometimes booting into Win7. Ended up having to reformat linux partitions, some inode information got messed up. e2fsck found and 'corrected' some errors which really didn't help at all. Lesson learned, as long as I'm dual booting, will stick with s2ram!
Re:Why are there no true cross-platform filesystems?
by qu4z-2 on Sunday February 24, 2013 @07:15PM
(#5276606)
You can suspend-to-disk just fine, as long as you remember to always boot back into the OS you suspended from. I guess suspend-to-ram forces you to do that (and my preferred option anyway), but I just wanted to make sure it was clear that there's nothing unsafe about suspend-to-disk as long as you don't let another OS get its grubby fingers on your mounted disk.
Other than that - my experience of late has been that ntfs is safe both to read and write from linux -- but as I now encrypt all my filesystems, that doesn't really help (no bitlocker support). If I actually needed to dualboot -- I suppose a separate disk/partition with truecrypt might do the trick.
My solution for the past several years have been to have all "interesting" files on a separate linux file server -- and access it with cifs/samba and/or ssh.