Re: Maximum file name length?
Re: Maximum file name length?
- Subject: Re: Maximum file name length?
- From: Brian Bergstrand <email@hidden>
- Date: Mon, 14 Nov 2005 22:51:54 -0600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Nov 14, 2005, at 9:24 PM, Ryan Britton wrote:
You can't check this programmatically as far as I know. Give this
a shot:
Sure you can:
man pathconf
Specifically, the _PC_PATH_MAX selector.
http://en.wikipedia.org/wiki/Comparison_of_file_systems
On Nov 14, 2005, at 6:09 PM, email@hidden wrote:
I've searched the archives and found questions without answers.
I've searched the documentation and learned nothing.
How do I know what the maximum allowed filename length is for a
given file system?
NSFileManager comes close with fileSystemAttributesAtPath in that
it gives me meta-data about the path, but it tells me nothing of
the format of the drive or path lengths or file name lengths or
anything useful.
(If you say "try Carbon" please also reference a function because
that's lacking this information as well as far as I can tell ...)
Thanks!
Brian Bergstrand
<http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDeWlxedHYW7bHtqIRAjM5AJ0Siomf4YvKzZZXO6RZJILlQxGMZwCg6oud
sHazZsMbSQ5b8TtvsAYPzo8=
=K0IG
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden