Marcus Sundman wrote: > I'm unable to find more info about this. E.g., what does "reject file > names" mean in practice? E.g., if a program tries to create a file > using an utf8-incompatible filename, what happens? Does the fopen() > fail? Would this normally be a problem? E.g., do tar and similar > programs convert utf8-incompatible filenames to utf8 upon extraction if > my locale (or wherever the fs encoding is taken from) is set to use > utf-8? If they don't, then what happens with archives containing > utf8-incompatible filenames?
Note that the normal ZFS behavior is exactly what you'd expect: you get the filenames you wanted; the same ones back you put in. The trick is that in order to support such things as casesensitivity=false for CIFS, the OS needs to know what characters are uppercase vs lowercase, which means it needs to know about encodings, and reject codepoints which cannot be classified as uppercase vs lowercase. If you're not running a CIFS server, the defaults will allow you to create files w/ utf8 names very happily. : [EMAIL PROTECTED]; cat test Τη γλώσσα μου έδωσαν ελληνική : [EMAIL PROTECTED]; cat > "`cat test`" this is a test w/ a utf8 filename : [EMAIL PROTECTED]; ls -l total 10 -rw-r--r-- 1 barts staff 37 Oct 22 15:45 Makefile -rw-r--r-- 1 barts staff 0 Oct 22 15:46 bar -rw-r--r-- 1 barts staff 0 Oct 22 15:46 foo -rw-r--r-- 1 barts staff 55 Feb 27 19:45 test -rw-r--r-- 1 barts staff 301 Feb 27 19:44 test~ -rw-r--r-- 1 barts staff 34 Feb 27 19:46 Τη γλώσσα μου έδωσαν ελληνική : [EMAIL PROTECTED]; df -h . Filesystem size used avail capacity Mounted on zfs/home 228G 136G 48G 74% /export/home/cyber : [EMAIL PROTECTED]; - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss