Re: renaming a file with special/reserved characters in name
Re: renaming a file with special/reserved characters in name
- Subject: Re: renaming a file with special/reserved characters in name
- From: Martin Wierschin <email@hidden>
- Date: Thu, 26 Feb 2009 21:05:53 -0800
Hi Michael,
There *can't* be an API for it. Take the case of NFS. NFS has no
character set restrictions beyond the basics that apply to all UNIXen.
But the underlying filesystem that the NFS server is writing things to
may well have more restrictions.
The server has some way to talk to the drive, so I don't see why the
character restrictions couldn't be communicated and reported back
through the NFS API.
You could have an NFS server that serves files off a FAT32 drive,
for example.
Or a special NFS server that requires every third byte of a
filename to be an
even number.
I find it hard to accept that any file system would need such complex
validation rules. Is there some underlying reason for dynamic
validation? I know very little about file systems. Out of curiosity,
is there an exotic file system that does more than reject a fixed set
of characters?
~Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden