I think this is going to be very helpful - there are many examples where I have needed to write a quick script to query debug information or metadata only available via FSCTL On Thu, Mar 14, 2019 at 7:42 PM ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > > Note that we pass NULL as indata for SMB2_ioctl_init() so for the time > being we can only use this for those ioctl/fcntl that does not > write data to the server. But there are very many of those. > > We can start populating smb2info.c with handlers for this and once it > all looks good we can add support to also write to the server (which > will be easy to do but it would make the patch bigger) > > On Fri, Mar 15, 2019 at 10:21 AM Steve French <smfrench@xxxxxxxxx> wrote: > > > > Forwarding Ronnie's patch to the broader list > > > > For debugging purposes we often have to be able to query > > additional information only available via SMB3 FSCTL > > from the server from user space tools (e.g. like > > cifs-utils's smbinfo). See MS-FSCC and MS-SMB2 protocol > > specifications for more details. > > > > -- > > Thanks, > > > > Steve -- Thanks, Steve