Re: [PATCH 18/62] cifs: Check if server supports reparse points before using them

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

 



That is a good point. But question is: are there such broken servers
which do not correctly announce support for reparse points? I was
thinking that such servers would be rather rare or maybe not exist at
all as even Windows SMB client would not work correctly against them for
symlinks and other reparse points. IMHO there are more servers which
either do not support reparse point at all (older Samba servers) or
servers which supports them, but underlying filesystem not (e.g. Windows
SMB server with FAT32 filesystem).

On Wednesday 29 January 2025 18:00:21 Steve French wrote:
>  I was thinking about the possibility that there a servers with bugs
> (ie that support it but don't set the flag right) - so haven't merged
> this one yet - so I want to know how bad end result is if server is
> correctly behaving but doesn't advertise reparse points and you try to
> create one that leaves debris (file/directory).
> 
> On Wed, Jan 29, 2025 at 5:39 PM Steve French <smfrench@xxxxxxxxx> wrote:
> >
> > In the patch below, do you have an example you tried where server
> > without reparse point support that left a file/directory around after
> > a failed attempt to create FIFO/SYMLINK or other special file via
> > reparse point?
> >
> > [PATCH 18/62] cifs: Check if server supports reparse points before using them
> >
> > Do not attempt to query or create reparse point when server fs does not
> > support it. This will prevent creating unusable empty object on the server.
> >
> > --
> > Thanks,
> >
> > Steve
> 
> 
> 
> -- 
> Thanks,
> 
> Steve




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

  Powered by Linux