mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] hfsplus: add an option to force r/w mount
       [not found] <20050420220242.48cb1427@jack.colino.net>
@ 2005-04-20 20:29 ` Roman Zippel
  2005-04-21  1:34   ` Colin Leroy
  2005-04-21  2:18   ` Colin Leroy
  0 siblings, 2 replies; 3+ messages in thread
From: Roman Zippel @ 2005-04-20 20:29 UTC (permalink / raw)
  To: Colin Leroy; +Cc: linux-kernel, Andrew Morton

Hi,

On Wed, 20 Apr 2005, Colin Leroy wrote:

> for some reason yet unknown, fsck.hfsplus doesn't correctly set the
> HFSPLUS_VOL_UNMNT flag here.

If fsck doesn't mark it clean, there must be a reason and that also means 
you shouldn't mount it writable.

bye, Roman


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

* Re: [PATCH] hfsplus: add an option to force r/w mount
  2005-04-20 20:29 ` [PATCH] hfsplus: add an option to force r/w mount Roman Zippel
@ 2005-04-21  1:34   ` Colin Leroy
  2005-04-21  2:18   ` Colin Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Colin Leroy @ 2005-04-21  1:34 UTC (permalink / raw)
  To: Roman Zippel; +Cc: linux-kernel, Andrew Morton

On 20 Apr 2005 at 22h04, Roman Zippel wrote:

Hi, 

> Hi,
> 
> On Wed, 20 Apr 2005, Colin Leroy wrote:
> 
> > for some reason yet unknown, fsck.hfsplus doesn't correctly set the
> > HFSPLUS_VOL_UNMNT flag here.
> 
> If fsck doesn't mark it clean, there must be a reason and that also
> means you shouldn't mount it writable.

that's what i thought too, but adding debug printf() to it, i see that
it marks it clean at the end. However that doesn't seem to effectively
land on the disc. imho the patch has an interest anyway...

-- 
Colin

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

* Re: [PATCH] hfsplus: add an option to force r/w mount
  2005-04-20 20:29 ` [PATCH] hfsplus: add an option to force r/w mount Roman Zippel
  2005-04-21  1:34   ` Colin Leroy
@ 2005-04-21  2:18   ` Colin Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Colin Leroy @ 2005-04-21  2:18 UTC (permalink / raw)
  To: Roman Zippel; +Cc: linux-kernel, Andrew Morton

On 20 Apr 2005 at 22h04, Roman Zippel wrote:

Hi, 

> > for some reason yet unknown, fsck.hfsplus doesn't correctly set the
> > HFSPLUS_VOL_UNMNT flag here.
> 
> If fsck doesn't mark it clean, there must be a reason

By the way, the reason is that this stupid utility opens the device
read-only (hence it can't fix nothing).

from hfsplusutils/libhfsp/src/fscheck.c:

    result = fscheck_volume_open(&vol, device, HFSP_MODE_RDONLY);

Seeing that it has been untouched since 2002, I guess it'll be hard to
get it fixed. Or maybe it's just me being idiot and I should use
another fsck ?

-- 
Colin

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

end of thread, other threads:[~2005-04-21  2:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050420220242.48cb1427@jack.colino.net>
2005-04-20 20:29 ` [PATCH] hfsplus: add an option to force r/w mount Roman Zippel
2005-04-21  1:34   ` Colin Leroy
2005-04-21  2:18   ` Colin Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®