[PATCH][WIP] populate superblock uuid at mount time

Steve French smfrench at gmail.com
Fri Mar 29 06:30:42 UTC 2024


In order to get the unique id for the volume (the 8 byte
VolumeSerialNumber) we need to issue a QUERY_INFO level 59
(FILE_ID_INFORMATION).  Today we only query the older 4 byte (not
guaranteed to be unique serial number).   See section 2.4.21 of
MS-FSCC.  Looks like Samba and ksmbd do not support this info level
though - although Windows does support it.

Any thoughts on ksmbd or Samba support for FILE_ID_INFORMATION query?

See attached work in progress patch

-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smb3-update-sb-uuid-when-full-id-information-availab.patch
Type: text/x-patch
Size: 3876 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20240329/3f440914/0001-smb3-update-sb-uuid-when-full-id-information-availab.bin>


More information about the samba-technical mailing list