Le 31/12/10 18:12, mougly a écrit :
Package: jhead
Version: 1:2.90-2
Severity: normal

Hi,

When I tried to move some photos, I typed :
pwd = /home/$USER/venus/Vero/photos-PAT
jhead -nf/home/$USER/photos/%Y/%Y-%m-PAT/%f 10*.jpg
This doesn't work (directory creation is OK)

If I try
jhead -nf/home/$USER/venus/photos/%Y/%Y-%m-PAT/%f 10*.jpg
This work.

Important : venus is a mountpoint for another HDD :

/etc/fstab :
LABEL=home       /home           ext3    defaults,noatime,nodiratime        0   
    2
LABEL=VENUS       /home/batbat/venus    ext3    users,noatime,nodiratime    0   
    0

Looking with strace, I found :
rename("100_1610.jpg", "/home/$USER/photos/2008/2008-01-Patricia/100_1610.jpg") 
= -1 EXDEV (Invalid cross-device link)
write(1, "Error: Couldn't rename '100_1610"..., 98) = 98

This is why I think it's because of the 2 devices.

Maybe it's a bug for the author and not for the package ?

I think you are right. I will forward the bug report to the upstream author.

Thanks

--
 Dr. Ludovic Rousseau



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to