Skip to contentSkip to conversation

Allowed characters in nfsv4 filenames

DISCUSSION Alexander Bergolth 1 participant 1 message Jul 10, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi!

When I'm trying to access files on a NFSv4 mounted server containing=20 Latin-1 characters, those files are displayed in the directory listing=20 but cannot be opened or stat'ed.
Does NFSv4 only accept filenames in UTF-8?

[root@barney nfstest]# ls --show-control-chars server-created-=E4=F6=FC
[root@barney nfstest]# ls -b
server-created-\344\366\374
[root@barney nfstest]# ls -l --show-control-chars
total 0
?--------- ? ? ? ? ? server-created-=E4=F6=FC
[root@barney nfstest]# ls --show-control-chars server-created-=E4=F6=FC
ls: server-created-=E4=F6=FC: Invalid argument
[root@barney nfstest]# stat server-created-=E4=F6=FC
stat: cannot stat `server-created-\344\366\374': Invalid argument

Moreover I cannot create files on the client containing Latin-1 character= s:

[root@barney nfstest]# touch client-=E4=F6=FC
touch: setting times of `client-\344\366\374': Invalid argument [root@barney nfstest]# ls -l client*
ls: client*: No such file or directory

Is this the expected behavior?
Is there any way to use ISO-8859-1 filenames with NFSv4?

Thanks in advance,
--leo

P.S.: I am using kernel 2.6.6-1.435 from Fedora Core 2.

--=20
-------------------------------------------------------
Alexander (Leo) Bergolth [email protected]
WU-Wien - Zentrum fuer Informatikdienste - Projektbuero

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs