Displaying 2 results from an estimated 2 matches for "char_flag".
Did you mean:
char_flags
2019 Nov 08
2
Recent inability to view long filenames stored with scp via samba mount
Greetings Jeremy,
Jeremy Allison wrote:
> On Sun, Nov 03, 2019 at 06:37:57AM -0500, Michael Lueck via samba wrote:
>>
>>
>> mdlueck at ldslnx01:/srv/shares/data/Nodes/jacob/home/mdlueck/Music/Alfred Brendel$ find
>> .
>> ./Beethoven Piano Sonatas Vol I
>> ./Beethoven Piano Sonatas Vol I/Disc 1 - 01 - Piano Sonata No. 29 in B-flat major, op. 106
2019 Nov 08
0
Recent inability to view long filenames stored with scp via samba mount
...; So what is a complete list of not allowable chars for SMB compatibility? I intent to purge my MP3 collection of all invalid chars.
In the code it's:
for (i=1;i<128;i++) {
if (i <= 0x1f) {
/* Control characters. */
char_flags[i] |= FLAG_ILLEGAL;
}
....
if (strchr("*\\/?<>|\":", i)) {
char_flags[i] |= FLAG_ILLEGAL;
}
....
}
but we must also mangle names ending in '.' and any
names that match DOS reserved...