Re: [osol-help] cp with jolly caracters
the real problem is another i have the same problem if i try do do the cp in 2 folder in the same disk on solaris OS This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
bash-3.00# df -kh Filesystem size used avail capacity Mounted on /dev/dsk/c1d0s04.8G 4.6G 192M97%/ /devices 0K 0K 0K 0%/devices ctfs 0K 0K 0K 0%/system/contract proc 0K 0K 0K 0%/proc mnttab 0K 0K 0K 0%/etc/mnttab swap 595M 748K 594M 1%/etc/svc/volatile objfs0K 0K 0K 0%/system/object /usr/lib/libc/libc_hwcap1.so.1 4.8G 4.6G 192M97%/lib/libc.so.1 fd 0K 0K 0K 0%/dev/fd swap 594M88K 594M 1%/tmp swap 594M36K 594M 1%/var/run /dev/dsk/c1d0s6 45G 9.8G35G22%/npadmin /dev/dsk/c1d0s7 96G 670M95G 1%/np /vol/dev/dsk/c2t0d0/noname:c 1000M 605M 395M61%/rmdisk/noname bash-3.00# mount / on /dev/dsk/c1d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=198 on Mon Apr 7 11:04:58 2008 /devices on /devices read/write/setuid/devices/dev=438 on Mon Apr 7 11:04:43 2008 /system/contract on ctfs read/write/setuid/devices/dev=43c0001 on Mon Apr 7 11:04:43 2008 /proc on proc read/write/setuid/devices/dev=440 on Mon Apr 7 11:04:43 2008 /etc/mnttab on mnttab read/write/setuid/devices/dev=4440001 on Mon Apr 7 11:04:43 2008 /etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4480001 on Mon Apr 7 11:04:43 2008 /system/object on objfs read/write/setuid/devices/dev=44c0001 on Mon Apr 7 11:04:43 2008 /lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/dev=198 on Mon Apr 7 11:04:56 2008 /dev/fd on fd read/write/setuid/devices/dev=4680001 on Mon Apr 7 11:04:58 2008 /tmp on swap read/write/setuid/devices/xattr/dev=4480002 on Mon Apr 7 11:04:59 2008 /var/run on swap read/write/setuid/devices/xattr/dev=4480003 on Mon Apr 7 11:04:59 2008 /npadmin on /dev/dsk/c1d0s6 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980006 on Mon Apr 7 11:05:31 2008 /np on /dev/dsk/c1d0s7 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980007 on Mon Apr 7 11:05:43 2008 /np/npuksv/root/dev on /np/npuksv/dev read/write/setuid/devices/zonedevfs/dev=4640001 on Mon Apr 7 11:06:04 2008 /np/npuksv/root/lib on /lib read only/setuid/nodevices/nosub/dev=198 on Mon Apr 7 11:06:04 2008 /np/npuksv/root/opt/webmin on /opt/webmin read only/setuid/nodevices/nosub/dev=198 on Mon Apr 7 11:06:04 2008 /np/npuksv/root/platform on /platform read only/setuid/nodevices/nosub/dev=198 on Mon Apr 7 11:06:04 2008 /np/npuksv/root/sbin on /sbin read only/setuid/nodevices/nosub/dev=198 on Mon Apr 7 11:06:04 2008 /np/npuksv/root/usr on /usr read only/setuid/nodevices/nosub/dev=198 on Mon Apr 7 11:06:04 2008 /np/npuksv/root/proc on proc read/write/setuid/nodevices/zone=npuksv/dev=441 on Mon Apr 7 11:06:05 2008 /np/npuksv/root/system/contract on ctfs read/write/setuid/nodevices/zone=npuksv/dev=43c0002 on Mon Apr 7 11:06:05 2008 /np/npuksv/root/etc/svc/volatile on swap read/write/setuid/nodevices/xattr/zone=npuksv/dev=4480004 on Mon Apr 7 11:06:05 2008 /np/npuksv/root/etc/mnttab on mnttab read/write/setuid/nodevices/zone=npuksv/dev=4440002 on Mon Apr 7 11:06:05 2008 /np/npuksv/root/lib/libc.so.1 on /np/npuksv/root/usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/zone=npuksv/dev=198 on Mon Apr 7 11:06:07 2008 /np/npuksv/root/dev/fd on fd read/write/setuid/nodevices/zone=npuksv/dev=4680002 on Mon Apr 7 11:06:08 2008 /np/npuksv/root/tmp on swap read/write/setuid/nodevices/xattr/zone=npuksv/dev=4480005 on Mon Apr 7 11:06:09 2008 /np/npuksv/root/var/run on swap read/write/setuid/nodevices/xattr/zone=npuksv/dev=4480006 on Mon Apr 7 11:06:09 2008 /rmdisk/noname on /vol/dev/dsk/c2t0d0/noname:c read/write/setuid/devices/nohidden/nofoldcase/dev=1741002 on Mon Apr 7 11:07:24 2008 bash-3.00# ls -l copia total 2 -rwxr--r-- 1 root root 0 Apr 7 14:33 carta sì di°.txt drwxrwxrwx 2 root root 512 Apr 7 14:33 ricopia bash-3.00# ls -l /rmdisk/noname total 1238384 -rwxrwxrwx 1 root root 40448 Dec 14 09:43 08-MI-NI-07 Adeguamento aula Corsi.doc -rwxrwxrwx 1 root root 2658304 Mar 8 11:42 3CRUSB10075_06August_2007.exe -rwxrwxrwx 1 root root 142462482 Feb 7 08:05 Acronis.True.Image.v11.0.Home.Build.8053.Retail.en.rar -rwxrwxrwx 1 root root1342 Jan 27 08:55 BOOTEX.LOG -rwxrwxrwx 1 root root 505390 Mar 16 12:02 Copertina.zip -rwxrwxrwx 1 root root 1123328 Dec 5 15:53 CorsoPowerPoint.ppt -rwxrwxrwx 1 root root 1035776 Jun 13 2007 EXPLORER.EXE -rwxrwxrwx 1 root root 5819936 Apr 7 14:40 Firefox Setup 2.0.0.5.exe -rwxrwxrwx 1 root
Re: [osol-help] cp with jolly caracters
Sounds like a limitation of FAT, esp. if the Solaris PCFS implementation isn't doing the UTF-16 encoding of the long file names as it is (if I understand correctly) supposed to. (The Solaris PCFS implementation is also said to perform quite poorly, and is in need of a major rewrite. I think someone was looking at that, but don't recall what the latest status is, except that last I heard, it was happening _very_ slowly, being more or less good enough as-is for most paying customers, or whatever, and therefore getting very little in the way of resources.) This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
Sounds like a limitation of FAT, esp. if the Solaris PCFS implementation isn't doing the UTF-16 encoding of the long file names as it is (if I understand correctly) supposed to. (The Solaris PCFS implementation is also said to perform quite poorly, and is in need of a major rewrite. I think someone was looking at that, but don't recall what the latest status is, except that last I heard, it was happening _very_ slowly, being more or less good enough as-is for most paying customers, or whatever, and therefore getting very little in the way of resources.) Its not good enough for USB MEM sticks , probably because the USB sticks are made by too many different maunfacturers and simply are not similar enough. As the Days of the Floppy has now ended and USB mem sticks are used for moving data around , this is a Emerging problem. //Lars This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
thaks but the problem is another, i don't copy i file but a folder and i don't kwon how many file and what name they have! thanks again This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
with folder you have to use -r .. it could be easier if you execute the command and copy the result into here. Regards Ether.pt This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
i create a folder, i copy insite the file with jolly characters but when i try to do : cp -r copia/* /rmdisk/noname give me the same error : cp:cannot create /rmdisk/noname / : invalid argument Thanks This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
Hi, Do this and provide the results: df -kh mount ls -l copia ls -l /rmdisk/noname cp -r copia /rmdisk/noname by the way ... the rmdisk/noname is a usb pen? Regards Ether.pt This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
[osol-help] cp with jolly caracters
hi! i have a problem i have some file called like ( andrà or darò ) what i can use for copy this caracters? with normal cp continued to give me error! Thanks This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
I'm not sure, but it can be something with your locale setting. I'm using: LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_ALL= touch andrà cp andrà daró ls -l andrà -rw-r--r-- 1 aalves aalves 0 Apr 4 16:48 andrà ls -l daró -rw-r--r-- 1 aalves aalves 0 Apr 4 16:49 daró Regards Ether.pt This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org
Re: [osol-help] cp with jolly caracters
try cp andr?xxx cp dar? //Lars This message posted from opensolaris.org ___ opensolaris-help mailing list opensolaris-help@opensolaris.org