1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NAS200 Character Set Support

Discussion in 'Cisco/Linksys Network Storage Devices' started by lingenfr, Dec 24, 2010.

  1. lingenfr

    lingenfr Networkin' Nut Member

    I am trying to copy mp3's to my NAS200 (from my Linux box) and the filenames that include punctuation such as ? or * won't copy. I am using JAC4 but had the same problem with the latest version from Linksys. Anyway to support filenames with punctuation or special characters? Don't need any non-english punctuation as I delete that myself when naming the files. Thanks.
     
  2. jac_goudsmit

    jac_goudsmit Super Moderator Staff Member Member

    The NAS200 uses Linux as well, and uses the ext2 and XFS file systems. Just like with most other file systems, some characters such as * or ? have special meaning (wildcards) and should be avoided.

    File names with punctuation should be supported in a pass-through sort of way: if you save a file with punctuation from one system and retrieve it on the same system the name should be unchanged, but if you retrieve it with another system the punctuation character may not show up correctly.

    I don't know of any way to correct any problems you have with punctuation characters. I have to admit I usually avoid the problem by using only ASCII characters in file names... The Linksys/Sercomm firmware (and therefore my firmware too) uses Samba 3.22; I wonder if the documentation says something about limitations in the character set...

    That said, if you're using Linux you could always put your files in a loopback-mounted file system that's stored in a file on the NAS, that way you will avoid all NAS200 specific problems altogether. Something like this (untested):

    # Create a 20MB file on the NAS, adjust count as needed
    dd if=/dev/zero of=/path/to/the/nas200/my_filename bs=512 count=40960
    # Create a file system, for example this is for ext2; this may give a warning message
    mke2fs /path/to/the/nas200/my_filename
    # Mount loopback file system
    sudo mount -o loop -t ext2 /path/to/the/nas200/my_filename /path/where/to/mount

    Hope this helps!

    ===Jac
     

Share This Page