----- Oorspronkelijk e-mail -----
> On 02/12/2012 06:49 PM, francky.l...@telenet.be wrote:
> > 
> > Hello,
> > 
> > I have a PC wich runs under Windows 7.
> > On top of that I have a Virtual Box which runs Windows Xp
> > and Ubuntu 11.04.
> > 
> > Under Ubuntu I have a problem with the mv command.
> > Whenever I execute it, it doesn't work, the machine hangs,
> > and I have to terminate it with ctrl-c. Als alternative,
> > I use a cp and a rm.
> > 
> > Why is this?
> 
> We don't have enough to go on there.
> Would it be possible to install strace on the ubuntu guest,
> and get some output from running the mv command?
> 
> Note none of the machine, host or guest seem to
> have hung if you can Ctrl-C


ubuntu@ubuntu-VirtualBox:~/.gvfs/account on stockholm$ strace mv source.pdf 
target.pdf
execve("/home/ubuntu/.gvfs/account on stockholm/Documents/03 
professional/structured_documentation/unix_routines/bin/mv", ["mv", 
"source.pdf", "target.pdf"], [/* 41 vars */]) = -1 ENOEXEC (Exec format error)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb77e5000
_llseek(3, 0, 0xbfa6fdc4, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
close(3)                                = 0
munmap(0xb77e5000, 4096)                = 0
exit_group(1)                           = ?
ubuntu@ubuntu-VirtualBox:~/.gvfs/account on stockholm$ 


The used file system is NTFS.

Best regards,

Francky



Reply via email to