1SMBINFO(1) SMBINFO(1)
2
3
4
6 smbinfo - Userspace helper to display SMB-specific file information for
7 the Linux SMB client file system (CIFS)
8
10 smbinfo [-v] [-V] {command} {file system object}
11
13 This tool is part of the cifs-utils suite.
14
15 smbinfo is a userspace helper program for the Linux SMB client file
16 system (CIFS). It is intended to display SMB-specific file informations
17 such as Security Descriptors and Quota.
18
19 This tool works by making an CIFS_QUERY_INFO IOCTL call to the Linux
20 SMB client which in turn issues a SMB Query Info request and returns
21 the result. This differs from getcifsacl which uses extended file
22 attributes.
23
25 -v Print version number and exit.
26
27 -V Verbose output.
28
30 fileaccessinfo: Prints the FileAccessInformation class
31
32 filealigninfo: Prints the FileAlignmentInformation class
33
34 fileallinfo: Prints the FileAllInformation class
35
36 filebasicinfo: Prints the FileBasicInformation class
37
38 fileeainfo: Prints the FileEaInformation class
39
40 filefsfullsizeinfo: Prints the FileFsFullSizeInformation class
41
42 fileinternalinfo: Prints the FileInternalInformation class
43
44 filemodeinfo: Prints the FileModeInformation class
45
46 filepositioninfo: Prints the FilePositionInformation class
47
48 filestandardinfo: Prints the FileStandardInformation class
49
50 fsctl-getobjid: Prints the ObjectID
51
52 list-snapshots: Lists the previous versions of the volume that backs
53 this file
54
55 quota: Print the quota for the volume in the form - SID Length - Change
56 Time - Quota Used - Quota Threshold - Quota Limit - SID
57
58 secdesc: Print the security descriptor in the form - Revision - Control
59 - Owner SID - Group SID - ACL - File types - File flags
60
62 Kernel support for smbinfo utilities requires the CIFS_QUERY_INFO IOCTL
63 which was initially introduced in the 4.20 kernel and is only impleā
64 mented for mount points using SMB2 or above (see mount.cifs(8) vers
65 option).
66
68 mount.cifs(8), getcifsacl(1)
69
71 Ronnie Sahlberg wrote the smbinfo program.
72
73 The Linux CIFS Mailing list is the preferred place to ask questions
74 regarding these programs.
75
76
77
78
79 SMBINFO(1)