Re: sparse files
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Re: sparse files




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: sparse files  
Barry Margolin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-04 01:48 AM

In article <slrncn75f3.2ec.stephane.chazelas@spam.is.invalid>,
Stephane CHAZELAS <this.address@is.invalid> wrote:

>  On Solaris-2.3   ...  Solaris-2.5.1  there  is  a  special
>  ioctl() called _FIOAI  that  allows  root  to  get  the
>  allocation info more efficiently.  Other operating sys- tems
>  lack support to get the real allocation  list  and force  star
>  to  scan the files to look for blocks that only contain null
>  characters.  This may star to  assume more  holes to be present
>  than the number that the file really contains.

Is there a problem with this assumption?  The usual objective is to
optimize disk space.  If the new file uses even less space than the
original file, because the original had some real disk blocks that were
all-zero, isn't that even *better* than reproducing the holes accurately?

The main benefit of the ioctl() is that it allows the holes to be
reproduced more efficiently, since star doesn't have to do any scanning.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:23 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register