3 Apprentice
•
864 メッセージ
0
968
[Unity]ピリオドが付いているフォルダ名のサポート有無について
UnityのCIFS共有しているファイルシステム上に、ピリオドがついたフォルダ名の保存はサポートされているでしょうか。
例:test.
Windowsとしては
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
の
Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. However, it is acceptable to specify a period as the first character of a name. For example, ".temp".
のように基本的には非推奨という認識ですが、Unityのファイルシステムとしてどうなのか明記されているKBや資料があるか探しております。
※なおIsilonだと以下のようなKBがありました。
https://emcservice.force.com/CustomersPartners/kA2j0000000R566CAC
ayas
Moderator
Moderator
•
6.5K メッセージ
0
2020年11月24日 17:00
keis3456さん
文字数制限等に関してはESSM での制限(*下記参照)の明記がありますが
文字に関してはNASサーバー名ではスペース、前後- を付けるのがNG、/が最初に来るシェア名はNG(**下記参照)という制限以外、文字に関しての制限を明記しているものはないです。
*ESSM
Page22
•Pathname length – 1024 characters (CIFS), NFS has no limit
•File system name length – 95 characters
•File /directory name length – 255 bytes for NFS and 255 characters for CIFS
**CLI Guide
Page 126
Specifies the NAS server name
Note
NAS server names can contain alphanumeric characters, a single dash, and a single underscore.
Server names cannot contain spaces or begin or end with a dash.
You can create NAS server names in four parts that are separated by periods(example: https://dell.to/3fwhTCR.dd).
Names can contain up to255 characters, but the first part of the name(before the first period) is limited to 15 characters.
Page 428 You cannot use the / character as the first character of the share name
また対応履歴ではファイル名およびディレクトリ名末尾のピリオド (.)は可能、
ファイル名およびディレクトリ名の引用符("),アステリスク(*),斜線(/),コロン(:),始め山括弧(<),終わり山括弧(>),疑問符(?),円記号(\)および縦線(|)というUnityでの検証結果がありましたのでお知らせまで。
keis3456
3 Apprentice
3 Apprentice
•
864 メッセージ
0
2020年11月24日 17:00
ayasさん
ご返信ありがとうございます。
--
対応履歴ではファイル名およびディレクトリ名末尾のピリオド (.)は可能、
ファイル名およびディレクトリ名の引用符("),アステリスク(*),斜線(/),コロン(:),始め山括弧(<),終わり山括弧(>),疑問符(?),円記号(\)および縦線(|)というUnityでの検証結果
--
の部分ですが、ファイル名、ディレクトリ名の末尾のピリオドは可能なのですね。
実際にWindow上から、unityのSMB共有領域に試しにtest. (ピリオド)でディレクトリを作成したところ、
Windowsから見ると、test(ピリオド無し)で作成されました。
また引用符(")などは、作成時点で「ファイル名には次の文字は使用できません」といった形で作成できませんでしたが、上記対応履歴の結果とはなにか違うのでしょうか。
ayas
Moderator
Moderator
•
6.5K メッセージ
0
2020年11月25日 00:00
keis3456さん
お知らせした検証結果とkeis3456さんの結果が異なる理由として
環境の違い(Windows 環境の違い、Unity OEの違い、など)もあると思います。
keis3456
3 Apprentice
3 Apprentice
•
864 メッセージ
0
2020年11月25日 03:00
データにアクセスする環境によって結果も変わってくるということですね。
ありがとうございます。