linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] HFS+ journal improvement - take 6
@ 2008-11-21  4:01 Warren Turkal
  2008-11-21  4:01 ` [PATCH 1/2] Identify journal info block in volume header Warren Turkal
  0 siblings, 1 reply; 12+ messages in thread
From: Warren Turkal @ 2008-11-21  4:01 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-fsdevel, Warren Turkal

This is a patchset to change the way that the HFS+ filesystem detects
whether a volume has a journal or not.

The code currently mounts an HFS+ volume read-only by default when a
journal is detected. One can force a read/write mount by giving the
"force" mount option. The current code has this behavior since there is
no support for the HFS+ journal.

My problem is that the detection of the journal could be better. The
current code tests the attribute bit in the volume header that
indicates there is a journal. If that bit is set, the code assumes
that there is a journal.

Unfortunately, this is not enough to really determine if there is a
journal or not. When that bit is set, one must also examine the journal
info block field of the volume header. If this field is 0, there is no
journal, and the volume can be mounted read/write.

Thanks,
wt

Warren Turkal (2):
  Identify journal info block in volume header.
  Fix journal detection on HFS+.

 fs/hfsplus/hfsplus_raw.h |    2 +-
 fs/hfsplus/super.c       |   10 ++++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/2] HFS+ journal improvement - take 5
@ 2008-11-20  2:25 Warren Turkal
  2008-11-20  2:25 ` [PATCH 1/2] Identify journal info block in volume header Warren Turkal
  0 siblings, 1 reply; 12+ messages in thread
From: Warren Turkal @ 2008-11-20  2:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-fsdevel, Warren Turkal

This is a patchset to change the way that the HFS+ filesystem detects
whether a volume has a journal or not.

The code currently mounts an HFS+ volume read-only by default when a
journal is detected. One can force a read/write mount by giving the
"force" mount option. The current code has this behavior since there is
no support for the HFS+ journal.

My problem is that the detection of the journal could be better. The
current code tests the attribute bit in the volume header that
indicates there is a journal. If that bit is set, the code assumes
that there is a journal.

Unfortunately, this is not enough to really determine if there is a
journal or not. When that bit is set, one must also examine the journal
info block field of the volume header. If this field is 0, there is no
journal, and the volume can be mounted read/write.

Thanks,
wt

Warren Turkal (2):
  Identify journal info block in volume header.
  Fix journal detection on HFS+.

 fs/hfsplus/hfsplus_raw.h |    2 +-
 fs/hfsplus/super.c       |   13 ++++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-12-01 14:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21  4:01 [PATCH 0/2] HFS+ journal improvement - take 6 Warren Turkal
2008-11-21  4:01 ` [PATCH 1/2] Identify journal info block in volume header Warren Turkal
2008-11-21  4:01   ` [PATCH 2/2] Fix journal detection on HFS+ Warren Turkal
2008-11-23  4:52     ` Roman Zippel
2008-11-25 23:45       ` Warren Turkal
2008-11-27 16:21         ` Roman Zippel
2008-12-01 10:28           ` Warren Turkal
2008-12-01 14:27             ` Roman Zippel
2008-12-01 14:49             ` Roman Zippel
  -- strict thread matches above, loose matches on Subject: below --
2008-11-20  2:25 [PATCH 0/2] HFS+ journal improvement - take 5 Warren Turkal
2008-11-20  2:25 ` [PATCH 1/2] Identify journal info block in volume header Warren Turkal
2008-11-20  2:26   ` [PATCH 2/2] Fix journal detection on HFS+ Warren Turkal
2008-11-20 11:29     ` Jörn Engel
2008-11-20 17:02       ` Warren Turkal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).