xfs
[Top] [All Lists]

Re: Mounting IRIX disk on Linux

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: Mounting IRIX disk on Linux
From: Timothy Shimmin <tes@xxxxxxx>
Date: Wed, 13 Sep 2006 11:03:30 +1000
Cc: Mogens Kjaer <mk@xxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <4506D66D.8060206@sandeen.net>
References: <45053B2D.50203@crc.dk> <4505712E.5070801@oss.sgi.com> <4506529F.9030109@crc.dk> <4506831A.3000001@sgi.com> <4506D66D.8060206@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)
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


<Prev in Thread] Current Thread [Next in Thread>