~ubuntu-branches/ubuntu/maverick/samba/maverick-security

« back to all changes in this revision

Viewing changes to docs/htmldocs/manpages/vfs_cacheprime.8.html

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-01-29 06:16:15 UTC
  • mfrom: (0.27.9 upstream) (0.34.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100129061615-37hs6xqpsdhjq3ld
Tags: 2:3.4.5~dfsg-1ubuntu1
* Merge from debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - Add "(Samba, Ubuntu)" to server string.
    - Comment out the default [homes] share, and add a comment about "valid users = %s"
      to show users how to restrict access to \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are allowed to create
      public shares in additon to authenticated ones.
    - add map to guest = Bad user, maps bad username to gues access.
  + debian/samba-common.conf:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/mksambapasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd.
  + debian/control: 
    - Make libswbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against ctdb, since its not in main yet.
  + debian/rules:
    - Enable "native" PIE hardening.
    - Add BIND_NOW to maximize benefit of RELRO hardening.
  + Add ufw integration:
    - Created debian/samba.ufw.profile.
    - debian/rules, debian/samba.dirs, debian/samba.files: install
  + Add apoort hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + debian/rules, debian/samba.if-up: allow "NetworkManager" as a recognized address
    family... it's obviously /not/ an address family, but it's what gets
    sent when using NM, so we'll cope for now.  (LP: #462169). Taken from karmic-proposed.
  + debian/control: Recommend keyutils for smbfs (LP: #493565)
  + Dropped patches:
    - debian/patches/security-CVE-2009-3297.patch: No longer needed
    - debian/patches/fix-too-many-open-files.patch: No longer needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfs_cacheprime</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="vfs_cacheprime.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfs_cacheprime &#8212; prime the kernel file data cache</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">vfs objects = cacheprime</code></p></div></div><div class="refsect1" lang="en"><a name="id2522928"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfs_cacheprime</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="vfs_cacheprime"><a name="vfs_cacheprime.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfs_cacheprime &#8212; prime the kernel file data cache</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">vfs objects = cacheprime</code></p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id2528903"></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_cacheprime</code> VFS module reads chunks
3
3
        of file data near the range requested by clients in order to
4
4
        make sure the data is present in the kernel file data cache at
7
7
        cacheprime:rsize option. All disk read operations are aligned
8
8
        on boundaries that are a multiple of this size. Each range of
9
9
        the file data is primed at most once during the time the client
10
 
        has the file open. </p><p>This module is stackable.</p></div><div class="refsect1" lang="en"><a name="id2483351"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">cacheprime:rsize = BYTES</span></dt><dd><p>The number of bytes with which to prime
11
 
                the kernel data cache.</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="id2483410"></a><h2>EXAMPLES</h2><p>For a hypothetical disk array, it is necessary to ensure
 
10
        has the file open. </p><p>This module is stackable.</p></div><div class="refsect1" title="OPTIONS"><a name="id2489313"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">cacheprime:rsize = BYTES</span></dt><dd><p>The number of bytes with which to prime
 
11
                the kernel data cache.</p><p>The following suffixes may be applied to BYTES:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="literal">K</code> - BYTES is a number of kilobytes</p></li><li class="listitem"><p><code class="literal">M</code> - BYTES is a number of megabytes</p></li><li class="listitem"><p><code class="literal">G</code> - BYTES is a number of gigabytes</p></li></ul></div></dd></dl></div></div><div class="refsect1" title="EXAMPLES"><a name="id2489371"></a><h2>EXAMPLES</h2><p>For a hypothetical disk array, it is necessary to ensure
12
12
        that all read operations are of size 1 megabyte (1048576 bytes),
13
13
        and aligned on 1 megabyte boundaries:
14
14
        </p><pre class="programlisting">
15
15
        <em class="parameter"><code>[hypothetical]</code></em>
16
16
        <a class="link" href="smb.conf.5.html#VFSOBJECTS" target="_top">vfs objects = cacheprime</a>
17
17
        <a class="link" href="smb.conf.5.html#CACHEPRIME:RSIZE" target="_top">cacheprime:rsize = 1M</a>
18
 
</pre></div><div class="refsect1" lang="en"><a name="id2483669"></a><h2>CAVEATS</h2><p><code class="literal">cacheprime</code> is not a a substitute for
 
18
</pre></div><div class="refsect1" title="CAVEATS"><a name="id2489645"></a><h2>CAVEATS</h2><p><code class="literal">cacheprime</code> is not a a substitute for
19
19
        a general-purpose readahead mechanism. It is intended for use
20
20
        only in very specific environments where disk operations must
21
21
        be aligned and sized to known values (as much as that is possible).
22
 
        </p></div><div class="refsect1" lang="en"><a name="id2483687"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite.
23
 
        </p></div><div class="refsect1" lang="en"><a name="id2483698"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
 
22
        </p></div><div class="refsect1" title="VERSION"><a name="id2489663"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite.
 
23
        </p></div><div class="refsect1" title="AUTHOR"><a name="id2489674"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
24
24
        were created by Andrew Tridgell. Samba is now developed
25
25
        by the Samba Team as an Open Source project similar
26
26
        to the way the Linux kernel is developed.</p></div></div></body></html>