HFS filesystems read/write

Carlos Perelló Marín carlos.perello at canonical.com
Sun Nov 7 01:15:31 UTC 2004


On Sun, 2004-11-07 at 09:56 +0900, David Chart wrote:
> On Sat, 2004-11-06 at 18:14 -0600, Tommy Trussell wrote:
> 
> > 
> > Can you post the fstab lines you tried?
> 
> I tried yours. Didn't work. I also tried defaults,umask=777 (which
> previously gave all users rwx access to the disk), but that didn't work
> either.
> 
> Actually, I now think this may be a Warty bug. When I mount the disk in
> verbose mode, it says:
> 
> /dev/hda4 on /transfer type hfs (rw,noexec,nosuid,nodev,user=david)
> 
> where I assume 'rw' means 'read/write', but when I try to write to the
> disk, I am told that it is a read-only file system.
> 
> No sign of it in bugzilla, but is this actually a bug?

I saw something similar sometime ago.

Could you look at the output related to HFS+ from the dmesg command just
after mount the volume?

If you read something like it needs to run fsck and mounting as
readonly, you have two options:

1.- Check it from MacOSX
2.- Use hfsplus tools (hpmount your device and then, hpumount)

That way the incorrect umount flag will be reset and you will be able to
mount it again as read/write.

The best option is the MacOSX one because I think hpmount/hpumount just
resets the flag without checking the filesystem.

Cheers.

> -- 
> David Chart
> http://www.davidchart.com/
> PGP Key: 1786 15B1 53A3 7ED0 CBD4 AFBE 9B61 6D10 46C9 1CBE
> 

-- 
Carlos Perelló Marín
Ubuntu Warty (PowerPC)  => http://www.ubuntulinux.org
Linux Registered User #121232
mailto:carlos at pemas.net || mailto:carlos at gnome.org
http://carlos.pemas.net
Valencia - Spain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041107/13c440a2/attachment.sig>


More information about the ubuntu-users mailing list