Re: Mounting IRIX disk on Linux

Timothy Shimmin
2006-09-13T02:07:49Z

Eric Sandeen wrote:
> Timothy Shimmin wrote:
>
>>> This gives me:
>>>
>>
>>> versionnum = 0x1084
>>
>> #define XFS_SB_VERSION_DIRV2BIT 0x2000
>>
>> So, yes it doesn't look like you have v2 directories
>> and there is no support for it in Linux.
>
> Hm, the kernel should probably print something more helpful in that case :)
>
> -Eric

Good point.
And indeed it should have:

xfs_mount.c/xfs_mount_validate_sb()
...
/*
* Version 1 directory format has never worked on Linux.
*/
if (unlikely(!XFS_SB_VERSION_HASDIRV2(sbp))) {
xfs_fs_mount_cmn_err(flags,
"file system using version 1 directory format");
return XFS_ERROR(ENOSYS);
}

Did this not happen, Mogens?

--Tim