ONTAP Discussions

files get stange names in windows

Niclas
2,167 Views

On a unix style volume when it is cifs/smb mounted to a windows host some file names get a stange naming like ~AHSGT00000

but only some of them.

When you do a listing in linux all file have the correct names.

1 ACCEPTED SOLUTION

Niclas
2,163 Views

The reason for this is Windows.

 

On Windows, you can’t have a file named file and another file named FILE in the same folder. The Windows file system isn’t case sensitive, so it treats these names as the same file.

On Linux, the file system is case sensitive. This means that you could have files named file, File, and FILE in the same folder. Each file would have different contents – Linux treats capitalized letters and lower-case letters as different characters.

 

This means that the wierd looking files are files that windows could handle.

 

View solution in original post

1 REPLY 1

Niclas
2,164 Views

The reason for this is Windows.

 

On Windows, you can’t have a file named file and another file named FILE in the same folder. The Windows file system isn’t case sensitive, so it treats these names as the same file.

On Linux, the file system is case sensitive. This means that you could have files named file, File, and FILE in the same folder. Each file would have different contents – Linux treats capitalized letters and lower-case letters as different characters.

 

This means that the wierd looking files are files that windows could handle.

 

Public