Hello,
i am using a solaris thinclient that tries to connecting to a terminalserver. (RDP) Everything works fine, but the usb redirection. If i put in a usb stick i always get 2 usb-drives mounted. If i look in /tmp/SUNWut/mnt/<name of the host> i see 2 devices. One with the name of the usb-stick and one like diskx ( x is a number between 0 and 99). How can i manage it that only one device will be mounted ( the one with the name of the usb stick).
i got that line in my script, that do the usb redirection:
PHP Code:
/opt/SUNWuttsc/bin/uttsc -m -b -l de -O -r disk:USBDRV=/tmp/SUNWut/mnt/${LOGNAME} ${__UTTSC_ARGS} ${1} || \
${LOGNAME} ${__UTTSC_ARGS} ${1} -> that part stand for--e.g utku1 or utku 19
maybe i can add some lines into the skript that will only mount the device which name is not like diskx.
like:
PHP Code:
/opt/SUNWuttsc/bin/uttsc -m -b -l de -O -r disk:USBDRV=/tmp/SUNWut/mnt/${LOGNAME} ${__UTTSC_ARGS} ${1} || \
if devicename == disk then not mount;
i dont know. i am a absolutly newbie in solaris scripting.
I hope you guys unterstand my problem despite my bad english.
Cheers -anarcy