Re: [PATCH 6/7] cifs: Fix creating of SFU fifo and socket special files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Pali,

Am Sun, Sep 15, 2024 at 07:41:26PM +0200 schrieb Pali Rohár:
> Now I have figured out that even the latest Windows Server 2022 version
> provides interoperability of FIFOs in SFU format with Windows NFS 4.1
> Server. So if you configure on Windows Server 2022 one share which is
> exported over SMB and also NFS at the same time, and over SMB you create
> SFU-style fifo, then Windows NFS4.1 server recognize it and properly
> reports nfs4type as NFS4FIFO for NFSv4.1 client.

it might work in this direction. However, in my tests if you create a
fifo over NFS you end up with a NFS-style reparse point, which is much
less prone to misinterpretation. So my suggestion would be to use the
way that Microsoft properly documented in

https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/ff4df658-7f27-476a-8025-4074c0121eec

for anything that is newly created on all servers that can do reparse
points. For servers that don't support reparse points, WSL might be an
alternative. For me it would be highly confusing to add yet another
representation of unix special files from new code.

Reading existing special files -- sure, where strictly required for
compat reasons. Creating them? No. Too many options make the test
matrix explode.

Volker




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux