Re: [CentOS] random file

2008-06-22 Thread William L. Maltby
On Sun, 2008-06-22 at 14:14 -0400, Mag Gam wrote: > even seeking thru it requires a sequential scan, right? If Linux FS systems work like real *IX, it depends. The underlying C/system calls should be smart enough to calculate an offset that traverses inode information to cause a direct access see

Re: [CentOS] random file

2008-06-22 Thread Mag Gam
even seeking thru it requires a sequential scan, right? On Sun, Jun 22, 2008 at 1:57 PM, Frank Cox <[EMAIL PROTECTED]> wrote: > On Sun, 22 Jun 2008 11:20:22 -0400 > Mag Gam <[EMAIL PROTECTED]> wrote: > > > Is it possible to create a file on a random inode on a file system? > > Wouldn't it be e

Re: [CentOS] random file

2008-06-22 Thread Frank Cox
On Sun, 22 Jun 2008 11:20:22 -0400 Mag Gam <[EMAIL PROTECTED]> wrote: > Is it possible to create a file on a random inode on a file system? Wouldn't it be easier (and safer) to create a large file, then seek within it? -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___

[CentOS] random file

2008-06-22 Thread Mag Gam
Is it possible to create a file on a random inode on a file system? I am trying to simulate a random read and write for testing purposes. TIA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos