mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Colin Leroy <colin@colino.net>
To: Klaus Halfmann <klaus.halfmann@t-online.de>, ")"@colino.net
Cc: Roman Zippel <zippel@linux-m68k.org>, linux-kernel@vger.kernel.org
Subject: hpfsck question
Date: Thu, 21 Apr 2005 08:52:37 +0200	[thread overview]
Message-ID: <20050421085237.14376aef@colin.toulouse> (raw)

Hi Klaus,

Yesterday I tried to mount my iPod as usual, but the hfsplus kernel
module complained the following:

  HFS+-fs warning: Filesystem was not cleanly unmounted, running
  fsck.hfsplus is recommended.  mounting read-only.

So I installed your hfsplusutils package and ran hpfsck. After that I
tried to remount /dev/sda3, and sure enough, the kernel spit out the
same message.

After a bit of time debugging what was wrong during the hpfsck run, I
found out that the filesystem is opened read-only:

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

Hence, the volume_close() call couldn't write anything like
HFSPLUS_VOL_UNMNT in the FS' attributes... Once I changed that to open
the device read-write, the next mount attempt worked. Is there any
reason why hpfsck would attempt to fix a filesystem read-only ?

-- 
Colin

                 reply	other threads:[~2005-04-21  6:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050421085237.14376aef@colin.toulouse \
    --to=colin@colino.net \
    --cc=")"@colino.net \
    --cc=klaus.halfmann@t-online.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®