3 fs_cscpolicy - Change client side caching policy for AFS shares [Windows only]
10 B<fs cscpolicy> S<<< [B<-share> I<sharename> [B<-manual>|B<-programs>|B<-documents>|B<-disable>] ] >>>
17 The fs cscpolicy command sets the client side caching policy for a
18 particular AFS share, or displays a list of policies.
20 This command can change the policy of only one share at a time.
22 Only one of the policy options B<-manual>, B<-programs>, B<-documents>, or
23 B<-disable>, may be selected. The default policy is B<-manual>.
25 After changing the policy for a share, you must close all applications
26 that accessed files on this share, or restart AFS Client, for the change
31 This command is only available on Windows.
33 Use of this functionality is not recommended. Windows Offline Folders do
34 not work well with AFS since the AFS server is always present. When this
35 functionality was contributed and incorporated, it was believed to be safe
36 for the AFS cache manager to return BADNETPATH errors when a single file
37 server or volume was inaccessible. It is now known that returning such
38 errors causes the Microsoft SMB redirector to drop the connection to the
39 AFS server resulting in serious side effects.
41 This functionality is specific to use with the Microsoft SMB redirector.
42 Client Side Caching (Offline Folders) is built into that driver and will
43 not be present in the native AFS redirector, so this functionality will be
44 removed at a future date.
50 =item B<-share> I<sharename>
52 The name of the share whose policy is to be changed. (If omitted, no
53 share policy is changed.)
57 Specifies manual caching of documents.
61 Specifies automatic caching of programs and documents.
65 Specifies automatic caching of documents.
75 When changing the policy of a share, the output is:
77 CSC policy on share "share" changed to "policy".
78 Close all applications that accessed files on this share or restart AFS Client for the change to take effect.
80 When displaying policies, the output is:
86 The following command disables all caching on the share "AFS1":
88 % fs cscpolicy -share AFS1 -disable
90 The following command displays all policies currently in effect:
94 =head1 PRIVILEGE REQUIRED
96 The issuer must be have AFS Client Administrator access, either to display
99 In addition, to change policies, the issuer must be a Windows
100 Administrator, since policy information is stored in a protected area of
101 the Windows Registry.
105 This document was written by Mike Robinson, and is released under the IBM
106 Public License Version 1.0. Jeffrey Altman made several corrections,
107 clarifications, and additions.