Hi everyone! First post, please be nice!
For a few months, I've had problems with some of my older archived BBS files, mainly games in .zip format with filenames that start with a "#" character disappearing (#1DUKE.ZIP, for example). I traced it down to the ZFS scrub which I set to run once every 7 days. I found that the # character in a filename is not allowed for ZFS file systems. But, after some experimenting, I can create files that have "#" in them with SMB shares on ZFS file systems, I can create files with "#" in the filename logged in as root using csh, but I can't create with "#" in the name logged in as root using bash.
Fortunately, I have backups of all those old games and didn't loose any data, but I wonder if there is a way to prevent super user or anyone else to create files with illegal characters on a ZFS file system.
I only have 37 of these files with "#" in the name and could rename them along with reconfiguring the BBS software (runs on a vm and accessible via telnet to a terminal server) to know the new filenames. But, shouldn't ZFS not allow illegal characters in a filename no matter what or how they are created?
-Dan
For a few months, I've had problems with some of my older archived BBS files, mainly games in .zip format with filenames that start with a "#" character disappearing (#1DUKE.ZIP, for example). I traced it down to the ZFS scrub which I set to run once every 7 days. I found that the # character in a filename is not allowed for ZFS file systems. But, after some experimenting, I can create files that have "#" in them with SMB shares on ZFS file systems, I can create files with "#" in the filename logged in as root using csh, but I can't create with "#" in the name logged in as root using bash.
Fortunately, I have backups of all those old games and didn't loose any data, but I wonder if there is a way to prevent super user or anyone else to create files with illegal characters on a ZFS file system.
I only have 37 of these files with "#" in the name and could rename them along with reconfiguring the BBS software (runs on a vm and accessible via telnet to a terminal server) to know the new filenames. But, shouldn't ZFS not allow illegal characters in a filename no matter what or how they are created?
-Dan