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  
Stephane CHAZELAS


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


 
10-18-04 12:50 PM

2004-10-15, 15:58(-07), Frank Cusack:
[...]
> Actually they can, if the kernel can make that info available.  I
> think star has taken advantage of this on some platforms.  Hopefully
> Joerg will speak up here.
[...]

From star web site:
* accurate sparse files
star is able to reproduce holes in sparse files
accurately if the OS includes the needed support
functions. This is currently true for Solaris-2.3 to
Solaris-2.5.1

and, as it seems, only for the super-user. From star manpage:
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.


There seems to be a _FIOAI on Solaris 8, but it's defined as:
#define _FIOAI          _FIOOBSOLETE67          /* get allocation info is */

And star doesn't replicate the holes on Solaris 8.

--
Stephane





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:39 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