Why l1_idFileSystem is answered by st.st_ex_dev?

withlog at yahoo.com withlog at yahoo.com
Wed Oct 26 12:22:22 UTC 2016


 
 Hi, everybody:
       I read the function smbd_do_qfsinfo.  I found that in case SMB_INFO_ALLOCATION, there is following  sentence:
      SIVAL(pdata,l1_idFileSystem,st.st_ex_dev);
      My question is why use  st.st_ex_dev ?  Actually, according to [MS-CIFS], it is the id of file system. If we call the function statfs, we will get the  struct statfs *buf.  In this struct, there is a "fsid_t f_fsid;". Why not use this  f_fsid?


      Thanks!


      Andy,
      10, 26th

Sent from Yahoo Mail. Get the app


More information about the samba-technical mailing list