xfs
[Top] [All Lists]

Re: How to pre-allocate files for sequential access?

To: troby <Thorn.Roby@xxxxxxxxxxxxx>
Subject: Re: How to pre-allocate files for sequential access?
From: Matthias Schniedermeyer <ms@xxxxxxx>
Date: Thu, 5 Apr 2012 23:57:55 +0200
Cc: xfs@xxxxxxxxxxx
In-reply-to: <33564834.post@xxxxxxxxxxxxxxx>
References: <33564834.post@xxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On 04.04.2012 16:57, troby wrote:

...

I think the easiest solution would be to create the said number of 
files, but with dummy-filenames.

Then write a script das does a xfs_bmap on each file, sorts them and 
then renames the dummy-files to the correct-name in the order they are 
on disc.





Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

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