- Timestamp:
- May 27, 2009, 9:08:03 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/htmldocs/manpages/vfs_prealloc.8.html
r226 r231 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfs_prealloc</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 3.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="vfs_prealloc.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfs_prealloc — preallocate matching files to a predetermined size</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">vfs objects = prealloc</code></p></div></div><div class="refsect1" lang="en"><a name="id2518308"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfs_prealloc</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the 2 2 <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The <code class="literal">vfs_prealloc</code> VFS module preallocates 3 3 files to a specified size each time a new file is created. This 4 4 is useful in environments where files are of a predetermined 5 5 size will be written to a disk subsystem where extending file 6 allocations is expensive. </p><p>This module is stackable.</p></div><div class="refsect1" lang="en"><a name="id2 480126"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">prealloc:EXT = BYTES</span></dt><dd><p>Preallocate all files with the extension EXT to6 allocations is expensive. </p><p>This module is stackable.</p></div><div class="refsect1" lang="en"><a name="id2"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">prealloc:EXT = BYTES</span></dt><dd><p>Preallocate all files with the extension EXT to 7 7 the size specified by BYTES. 8 </p><p>The following suffixes may be applied to BYTES:</p><div class="itemizedlist"><ul type="disc"><li><p><code class="literal">K</code> - BYTES is a number of kilobytes</p></li><li><p><code class="literal">M</code> - BYTES is a number of megabytes</p></li><li><p><code class="literal">G</code> - BYTES is a number of gigabytes</p></li></ul></div></dd></dl></div></div><div class="refsect1" lang="en"><a name="id248 0186"></a><h2>EXAMPLES</h2><p>A process writes TIFF files to a Samba share, and the8 </p><p>The following suffixes may be applied to BYTES:</p><div class="itemizedlist"><ul type="disc"><li><p><code class="literal">K</code> - BYTES is a number of kilobytes</p></li><li><p><code class="literal">M</code> - BYTES is a number of megabytes</p></li><li><p><code class="literal">G</code> - BYTES is a number of gigabytes</p></li></ul></div></dd></dl></div></div><div class="refsect1" lang="en"><a name="id248"></a><h2>EXAMPLES</h2><p>A process writes TIFF files to a Samba share, and the 9 9 is known these files will almost always be around 4 megabytes 10 10 (4194304 bytes): </p><pre class="programlisting"> 11 11 <em class="parameter"><code>[frames]</code></em> 12 <a class="link" href="smb.conf.5.html#PATH" >path = /data/frames</a>13 <a class="link" href="smb.conf.5.html#VFSOBJECTS" >vfs objects = prealloc</a>14 <a class="link" href="smb.conf.5.html#PREALLOC:TIFF" >prealloc:tiff = 4M</a>15 </pre></div><div class="refsect1" lang="en"><a name="id248 2584"></a><h2>CAVEATS</h2><p><code class="literal">vfs_prealloc</code> is not supported on all12 <a class="link" href="smb.conf.5.html#PATH">path = /data/frames</a> 13 <a class="link" href="smb.conf.5.html#VFSOBJECTS">vfs objects = prealloc</a> 14 <a class="link" href="smb.conf.5.html#PREALLOC:TIFF">prealloc:tiff = 4M</a> 15 </pre></div><div class="refsect1" lang="en"><a name="id248"></a><h2>CAVEATS</h2><p><code class="literal">vfs_prealloc</code> is not supported on all 16 16 platforms and filesystems. Currently only XFS filesystems on 17 17 Linux and IRIX are supported. 18 </p></div><div class="refsect1" lang="en"><a name="id248 2600"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite.19 </p></div><div class="refsect1" lang="en"><a name="id248 2611"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities18 </p></div><div class="refsect1" lang="en"><a name="id248"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite. 19 </p></div><div class="refsect1" lang="en"><a name="id248"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities 20 20 were created by Andrew Tridgell. Samba is now developed 21 21 by the Samba Team as an Open Source project similar
Note:
See TracChangeset
for help on using the changeset viewer.
