tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: remove sparse check in vnd

> I think that the sparseness check should stay until vnd supports
> sparse files.

It already does, under some circumstances (eg, NFS-remote).

I _would_ prefer to see an override for cases like NFS, or where the
values returned trip the test even though the file is not sparse in the
sense vnd cares about.

Of course, still better would be to fix vnd, though I'm not sure what
the right fix would be.  (Hmm, read-only, synthesize a block of 0s;
read-write, write a block of 0s first?  That's the cheap and simple
fix, though ISTM ideally the write should be delayed until the block is
written in the read-write case.)

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index