preallocated file size

Nicolas Williams Nicolas.Williams at wdr.com
Tue Feb 8 18:44:04 GMT 2000


On Tue, Feb 08, 2000 at 01:02:57PM -0500, Cole, Timothy D. wrote:
> > Even simpler might be the no-holey-files-by-smb-clients fix.
> > 
> 	What if the SMB client is a Unix system?
> 

Can Samba detect the type of client? If so then this behaviour might be
made configurable.

Since non-POSIX clients don't expect holey file semantics Samba could
zero-fill what would otherwise be holey files for them. The impact on
performance would not be nice though.

Hmmm, the performance problem might just argue for the truncate-on-no-space
approach instead...

Nico
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.



More information about the samba-technical mailing list