Re: Problem copying files [SOLVED..]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have now, 2 min ago changed the name on it, and succsessfully moved it to the flash disk.

Thnx.
Tor Harald Thorland

Nifty Hat Mitch wrote:

On Sun, Oct 31, 2004 at 12:02:31PM +0100, Tor Harald Thorland wrote:


man, 25.10.2004 kl. 19.23 skrev Ian Malone:


Tor Harald Thorland <linux@xxxxxx> wrote:

> Hi,
>
> I have tried to copy some files with some norwegian characters in the
> file name.


....


Could not write to /mnt/.....


....


It is a flash drive.. I have enough space, the right permissions and so
on.. it is copying all the other files, except for the ones with
norwegian characters..





One of the files is called nødbrannpumpe.doc


nødbrannpumpe.doc
00000000: 6e c3 b8 64 62 72 61 6e 6e 70 75 6d 70 65 2e 64 | n..dbrannpumpe.d

$ touch 'nødbrannpumpe.doc'
touch: setting times of `nødbrannpumpe.doc': No such file or directory

The file name is not a legal file name for this type of file system.

$ df .
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1                46786         6     46780   1% /mnt/flash1
$ mount
....
/dev/sda1 on /mnt/flash1 type vfat (rw,nosuid,nodev,user=bob)
....

If I run strace on touch 'nødbrannpumpe.doc
I see the open() system call fail.
  open("nødbrannpumpe.doc", O_WRONLY|O_NONBLOCK|O_CREAT|O_NOCTTY|O_LARGEFILE, 0666) = -1 EINVAL (Invalid argument)

A bit of digging may still be required but it looks as if the two
bytes used for the multi byte character "ø" are not in the legal
character set:

 (space) ! # $ % & ' ( ) + , - . 0-9 ; = @ A-Z [ ] ^ _ ` a-z { } ~






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux