mangle a character or forbid/prohibit it's use when creating files/folders

Jeremy Allison jra at samba.org
Mon Nov 21 13:15:21 MST 2011


On Sat, Nov 19, 2011 at 04:39:51PM -0500, David Collier-Brown wrote:
> Mangle map was used to map strings to one another, such as .htm to .hml.
> I suspect the elegant way to deal with blanks in filenames is through a
> virtual filesystem.
> You can make "albert alligator.doc" be stored as "albert_alligator.doc", and
> honor lookups for both forms.
> 
> It's been years since I wrote a vfs, but I speculate you're looking at
> about 50 lines of code...

Yeah, a small VFS module would do this.


More information about the samba-technical mailing list