[Top] [All Lists]

Re: 32bit apps and inode64

To: Stefan Priebe - Profihost AG <s.priebe@xxxxxxxxxxxx>
Subject: Re: 32bit apps and inode64
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 19 Feb 2013 09:06:39 +1100
Cc: Ben Myers <bpm@xxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <5121E253.8000400@xxxxxxxxxxxx>
References: <4FA77842.5010703@xxxxxxxxxxxx> <4FA7FA14.6080700@xxxxxxxxxxxxxxxxx> <4FA82B07.1020102@xxxxxxxxxxxx> <4FAA153D.1030606@xxxxxxxxxxxxxxxxx> <20120509070450.GP5091@dastard> <511E4F00.2010703@xxxxxxxxxxxx> <20130215214653.GP22182@xxxxxxx> <F4526E0F-2DDC-4FB4-927D-BFD8AD489D55@xxxxxxxxxxxx> <20130217213359.GA26694@dastard> <5121E253.8000400@xxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Feb 18, 2013 at 09:12:03AM +0100, Stefan Priebe - Profihost AG wrote:
> Hi,
> Am 17.02.2013 22:33, schrieb Dave Chinner:
> >>> xfs_reno was ported to linux in '07 and was most recently reposted by 
> >>> Jeff Liu:
> >>> http://oss.sgi.com/archives/xfs/2012-11/msg00425.html
> >>>
> >>> It isn't in xfsprogs today.
> > 
> > Simple answer: mount with inode32, run find to print out all the
> > filenames in the filesystem and their inode number, copy the files
> > with inodes numbers greater than 32 bit to a temporary file and then
> > rename them over the top of the original.
> Thanks, what about directories? Is renaming / moving using mv enough?

Same thing - create a new temp directory, mv all the entries (which
will be  a rename operation, anyway) from the old directory into the
temp directory, rename the temp dir over the top of the old one.


Dave Chinner

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