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 ?

Thanks.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jhead depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libjpeg-progs                 8b-1       Programs for manipulating JPEG fil

jhead recommends no packages.

jhead suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to