[Bug 16331] hfsplus filesystem is read-only

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Sat Oct 22 03:37:06 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=16331
Ubuntu | linux





------- Additional Comments From lydickaw at ruffledpenguin.org  2005-10-22 04:37 UTC -------

I think the current behavior is going to be pretty confusing. Enforcing the
dirty flag makes sense, but an "impolite" unplug is probably going to happen at
some point. OSX recovers from this silently -- shouldn't ubuntu try to do the same?

Even if all users follow the recommended steps (unmount before unplugging),
imagine this scenario:
 * I leave my ipod plugged in over the weekend while I'm away.
 * The power goes out with the drive marked dirty.
 * I'm stuck with a R/O device until I figure out what happened.

What would be really nice (feature enhancement) is:
* Hotplug a dirty FS.
* mount it readonly.
* notify the user that it was improperly unmounted and explain how to do it right.
* run hfsmount to clear the flag (or fsck_hfs, if it exists for linux)
* remount r/w

A quick workaround:
* Detect the dirty fs
* Mount it readonly
* Pop up an explaination of *why* the volume is r/o and the workaround to fix it.

Yet another option:
* Mount hotpluggable devices with the synchronous write flag to disable caching
and reduce the chance of data loss. This probably has performance consequences
for less frequently accessed devices (such as an external HD).

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list