Unix administration - Re: sparse files

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > October 2004 > Re: sparse files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: sparse files
Ivan Rayner

2004-10-18, 7:50 am

Stephane CHAZELAS <this.address@is.invalid> wrote:
> 2004-10-16, 02:05(+00), Ivan Rayner:
>
> Using which API?


In IRIX you can get the block map of a file using fcntl() with either
F_GETBMAP or F_GETBMAPX, which are supported on XFS. I'm not
suggesting that this is a generally available API.

>
> That would be very surprising given that GNU cp (at least from
> coreutils 5.2.1) has no code for that. All it does is create as
> many holes as possible in the destination file if it's a regular
> file.


OK.

Ivan
--
Ivan Rayner
ivanr@sgi.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com