lscifsmnt Command

Purpose

Lists the CIFS mounts defined in the /etc/filesystems file.

Syntax

lscifsmnt [-c | -l | -p] [FileSystem]

Description

The lscifsmnt command lists the specified CIFS mounts that are defined in the /etc/filesystems file.

Flags

Item Description
-c Specifies that the CIFS mount be listed in colon delimited format.
-l Specifies that the CIFS mount be listed in standard format with each field separated by whitespace. This is the default.
-p Specifies that the CIFS mount be listed in pipe delimited format.

Parameters

Item Description
FileSystem Specifies which file system to list the characteristics of. The default is to list all CIFS file systems.

Exit Status

Item Description
0 The command completed successfully.
>0 An error occurred.

Examples

  1. To list all CIFS mounts defined in /etc/filesystems, enter:
    lscifsmnt 

Location

/usr/sbin/lscifsmnt