Module: RubySMB::SMB1::Packet::Trans2::QueryFsInformationLevel

Defined in:
lib/ruby_smb/smb1/packet/trans2/query_fs_information_level.rb,
lib/ruby_smb/smb1/packet/trans2/query_fs_information_level/query_fs_attribute_info.rb

Overview

SMB_QUERY_FS_ATTRIBUTE_INFO Class as defined in 2.2.8.2.6 SMB_QUERY_FS_ATTRIBUTE_INFO

Defined Under Namespace

Classes: QueryFsAttributeInfo

Constant Summary collapse

SMB_INFO_ALLOCATION =

[LANMAN2.0] Query file system allocation unit information.

0x0001
SMB_INFO_VOLUME =

[LANMAN2.0] Query volume name and serial number.

0x0002
SMB_QUERY_FS_VOLUME_INFO =

[NT LANMAN] Query the creation timestamp, serial number, and Unicode-encoded volume label.

0x0102
SMB_QUERY_FS_SIZE_INFO =

[NT LANMAN] Query 64-bit file system allocation unit information.

0x0103
SMB_QUERY_FS_DEVICE_INFO =

[NT LANMAN] Query a file system's underlying device type and characteristics.

0x0104
SMB_QUERY_FS_ATTRIBUTE_INFO =

[NT LANMAN] Query file system attributes.

0x0105

Class Method Summary collapse

Class Method Details

.name(value) ⇒ Object

261



31
32
33
# File 'lib/ruby_smb/smb1/packet/trans2/query_fs_information_level.rb', line 31

def self.name(value)
  constants.select { |c| c.upcase == c }.find { |c| const_get(c) == value }
end