 |
» |
|
|
 |
Synopsis |  |
cifsclient { command } cifsclient fuser [-v] mountpoint
[...] cifsclient force_umount mountpoint
[...] Description |  |
This shell script is used to start and stop the HP CIFS Client,
and perform other useful tasks. Only users with root capabilities
can invoke start, stop, restart, fuser, and force_umount (see also the -a option to klist and kdestroy). Any user can invoke status, klist, kdestroy, and ver. cifsclient without
any additional command is equivalent to cifsclient start. Commands |  |
- start
Starts the deamon. - stop
Shut down the daemon. - restart Stop,
sleep 1 second, start.
- status
Display information about
daemon. - klist [-a]
Display the contents of all
of the invoking user’s CIFS Client Kerberos credentials
files. This command provides a shortcut that invokes klist(1) on all of the user’s
credentials files, automatically appending the -c {filename} option
for each file. -a (recognized
only for root) lists entries
for all users. CIFS Client Kerberos credentials files will be present
on the system only if the configuration parameter, rmTmpKerbCredFiles, has been set to
no. The files are located in
/var/opt/cifsclient/krb5_tmp. - kdestroy [-a]
Destroy all of the invoking
user’s CIFS Client Kerberos credentials files, using
kdestroy(1). To destroy a single
CIFS Kerberos credentials file, use kdestroy(1) directly,
specifying the -c {filename} option.
CIFS Client Kerberos credentials files are located in /var/opt/cifsclient/krb5_tmp. These
files will be present on the system only if the configuration parameter,
rmTmpKerbCredFiles, has been
set to no. -a (regnized
only for root) destroys all
files for all users. - ver [-vx]
Report version information. The following modifiers are
also recognized: -v Verbose:
display what(1) strings for binaries, scripts and configuration
files. -x Extra: display versions
of component source files. This option is useful only to HP support
personnel. - fuser [-v] mountpoint [...]
Run fuser -fu (see fuser(1M)) against the given CIFS
filesystem mountpoint and each of its subdirectories. This is useful
for determining which users are accessing the mount, in the event
that unmounting fails with a “Device busy” message.
You must be logged into the mounted CIFS fileserver for this command
to be effective. -v produces
verbose output (all subdirectories are shown), otherwise, only directories
with active user processes are shown. NOTE: The execution time for
this command is proportional to the number of entries in the mounted filesystems. - force_umount mountpoint [...]
Forcibly unmount given mountpoints; this is an emergency procedure
to be used only in case of failure of the standard umount commands: umount mountpoint or cifsumount mountpoint Cannot be used unless the CIFS Client is down.
Files |  |
/etc/opt/cifsclient/cifsclient.cfg This file contains run-time configuration options for the
HP CIFS Client. For detailed information see Chapter 7. /var/opt/cifsclient/krb5_tmp/krb5cc_<server>_<uid> Temporary CIFS Client Kerberos credentials file. <server> is
the name of the CIFS server to which the user has been authenticated, <uid> is
the decimal UID of the user. See
Also |  |
cifslist, cifslogin, cifslogout,
fuser(1M), kdestroy(1), klist(1), mount_cifs, umount_cifs
|