-mode <offline | online>
This turns "disconnected mode" on or off. If "offline" is specified, the client will go into
disconnected mode, and the client will no longer make any effort to reach any server over the
network.
If "online" is specified, the client will come out of disconnected mode, and any pending changes will
be sent to the relevant server. If there are errors when synchronizing changes to the server, the
client will stay in disconnected mode, unless the -force flag is also given. See -force.
-policy <client | server>
This specifies the conflict resolution policy when resynchronizing data afer coming back online. A
conflict resolution policy is needed when changes have been made locally on the client while in
disconnected mode, and different changes have occurred on the server while we were in disconnected
mode. When this happens, there are two different possible results:
If "client" is specified, the local changes on the client will overwrite any conflicting changes on
the server. This means that if we change a file locally while in disconnected mode, and another user
changes the same file in the same place on the fileserver while we are disconnected, the other user's
changes will be lost.
If "server" is specified, the conflicting changes on the server will overwrite our local changes.
This means that if we change a file locally while in disconnected mode, and another user changes the
same file in the same place on the fileserver while we are disconnected, our local changes will be
lost.
The default value is "server".
-force
If -force is specified when coming back online, any errors during resynchronization are ignored by
throwing away our local changes. That is, if we write our local pending changes to a server while
coming back online, and there is an error while writing those changes, those changes will be lost.
Without -force, such an error causes the client to stay offline.
-uid <uid>
When resynchronizing local pending changes to the relevant fileserver, by default we use the
credentials of the user issuing fsdiscon to send the changes to the fileserver. If -uid is
specified, we will instead use the credentials for the specified uid.
Note that this will only use the PAG-less credentials of the specified uid. It is currently not
possible to specify an arbitrary PAG here.
-help
Prints the online help for this command. All other valid options are ignored.