works for me too, with hebrew encodings :-)

and here is what i did on fc4 in the old style "rc.localdev" file.

if [ "${DEVICE}" != "hotplug" ] ; then
         mount -t supermount    \
             -o fs=${FS},dev=${DEVICE},--,${RW},iocharset=utf8 none
/tmp/drives/${SHARE}
       fi

and in the [globals] section i added

dos charset = UTF8


link to the complete file :
http://www.groworganic.info/ltsp/opt_ltsp/i386/etc/rc.localdev

On 11/17/06, Milan Slanař <[EMAIL PROTECTED]> wrote:

Plácido André Sousa píše v Pá 17. 11. 2006 v 05:07 +0000:
> Hi all,
>
> I can access and use usb-pendrives on thin clients/terninals,
> but have problems with non ascii caracters in file names and folders.
>
> Is there a way around this like the "fstab" iocharset or anything
similar?
>
> I have seen some info about this and it seemed
> to me that it wasn't implemented.
> Any news?
>
> Thanks.
>

What about adding utf8 option when creating fstab.

Edit /opt/ltsp/i386/etc/udev/scripts/ltsp-device.sh


It looks like this inside:
...
#
# Create the fstab entry.
#

  MOUNTDIR="/tmp/drives/${MOUNTPOINT}"
  mkdir "${MOUNTDIR}"
  if [ "${LTSP_DEVTYPE}" = "cdrom" ]; then
    echo "${DEVNAME} ${MOUNTDIR} auto ro 0 0" > /tmp/fstab.d/${MOUNTPOINT}
    echo "AddCdromDrive|${MOUNTPOINT}|${DEVNAME}|${DESCRIPTION}" \
      > /tmp/lbus.fifo
  else
    echo "${DEVNAME} ${MOUNTDIR} auto rw,utf8,noatime 0 0" \         #
<---- utf8 added HERE
      > /tmp/fstab.d/${MOUNTPOINT}
    echo
"AddBlockDevice|${MOUNTPOINT}|${DEVNAME}|0|${SIZE}|${DESCRIPTION}" \
      > /tmp/lbus.fifo
  fi
...

Works for me.

--
Milan Slanař <[EMAIL PROTECTED]>
Czech Technical University in Prague


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to