NEW TAR

Matthias Buelow mkb at mukappabeta.de
Tue Jul 20 11:00:59 PDT 2004


Peter Jeremy writes:

>Actually, it's not possible to accurately determine the holes in a
>file by reading it - you can't differentiate between a hole and a
>allocated block of zeroes.  What you need is a (new) syscall that

but that's the point, isn't it.  if you get a larger block of zeroes,
you seek forward that number in the output file, and let the
filesystem create (any) holes.

>invokes a new VOP_... and returns a bitmap of allocated blocks.  This
>would be non-trival unfortunately.

this is completely unnecessary and wouldn't work across filesystems
anyways.

-- 
  Matthias Buelow; mkb@{mukappabeta,informatik.uni-wuerzburg}.de


More information about the freebsd-current mailing list