[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HFS+ rw and french keyboard under X



> Just a guess here: perhaps you are using a HFS+ partition with 
> journalling enabled? I don't know if the hfsplus driver copes correctly 
> with journalled filesystems (or if it copes with journalling at all).
> 
> But I don't know which kernel you are using. I don't know, OTOH, if 
> kernel 2.6 has any hfsplus driver, since I've been quite busy lately, am 
> living under the rock and still use an ancient 2.4.2x kernel.

I'm ashamed I forgot to precise this...
I am running a 2.6.2-benh kernel. The hfsplus driver is supposed to be
read/write enabled, though I don't know about its support for the journal.
However, what I can tell you is that I've mounted my partition rw a number of
times before the first failure. Then, while I was copying files from my ext3
partition to the hfs+ one, the cp failed saying "memory allocation failed" or
something like that. Some time later, while I was trying to modify some file
permission on the hfs+ partition, I noticed that it was mounted read-only. As I
said, Apple's fsck equivalent didn't notice anything wrong, and hpfsck doesn't
run at all:

sensei@electron:~$ sudo hpfsck /dev/hda5
*** Checking Volume Header:
Volume is inconsistent
Reserved attribute in use: 2000
Volume was last Mounted by unknnown implemenatation:
HFSJ
Invalid total blocks D99F0C, expected 0                                       
Done ***
*** Checking Backup Volume Header:
Unexpected Volume signature '  ' expected 'H+'
hpfsck: hpfsck: This is not a HFS+ volume (Unknown error 4294967295)
sensei@electron:~$ sudo mac-fdisk -l /dev/hda
/dev/hda
        #                    type name                  length   base      (
size )  system
/dev/hda1     Apple_partition_map Apple                     63 @ 1         (
31.5k)  Partition map
/dev/hda2         Apple_Bootstrap bootstrap               1600 @ 64       
(800.0k)  NewWorld bootblock
/dev/hda3         Apple_UNIX_SVR2 swap                 1048576 @ 1664     
(512.0M)  Linux swap
/dev/hda4         Apple_UNIX_SVR2 root                41155008 @ 1050240   (
19.6G)  Linux native
/dev/hda5               Apple_HFS Apple_HFS_Untitled_3 114096224 @ 42205248  (
54.4G)  HFS
/dev/hda6              Apple_Free                           16 @ 156301472 ( 
8.0k)  Free space
 
Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0

Any more ideas ?

-- 
Le Sensei...



Reply to: