#7854: BVolume method to ask which characters a filesystem considers invalid ------------------------------+------------------------------ Reporter: jonas.kirilla | Owner: axeld Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: Kits/Storage Kit | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | ------------------------------+------------------------------ Copying filesets to non-BFS filesystems in Tracker often stalls on filenames having characters not allowed on the target filesystem. It would be nice if Tracker's pre-copy analysis could be extended to also check for filenames that would be invalid on the target volume, and warn about these before starting the copy process. One could provide a method status_t BVolume::InvalidCharacters(BString& string) which would populate the given string with characters considered invalid by the volume's filesystem, using a syscall to ask the filesystem for its set of invalid characters. It's not unthinkable that some filesystems have more complex naming rules, but perhaps this API is sufficient. It is advisory rather than authoritative/final. -- Ticket URL: <http://dev.haiku-os.org/ticket/7854> Haiku <http://dev.haiku-os.org> Haiku - the operating system.