Hello all! I have this script that copies all files from my digital camera into a new folder upon execution. But now and again (Not always) i get an error like: cp: skipping file `/media/usbdisk/dcim/100pentx/imgp0099.jpg', as it was replaced while being copied The card is automounted and not touched while the script is ran. So why is the filesystem on the card touched and (apparently) changed? This is /var/log/messages during the session: Jun 20 21:02:26 sparhawk kernel: SCSI device sda: 1998848 512-byte hdwr sectors (1023 MB) Jun 20 21:02:26 sparhawk kernel: sda: Write Protect is off Jun 20 21:02:26 sparhawk kernel: sda: Mode Sense: 02 00 00 00 Jun 20 21:02:26 sparhawk kernel: sda: assuming drive cache: write through Jun 20 21:02:26 sparhawk kernel: SCSI device sda: 1998848 512-byte hdwr sectors (1023 MB) Jun 20 21:02:26 sparhawk kernel: sda: Write Protect is off Jun 20 21:02:26 sparhawk kernel: sda: Mode Sense: 02 00 00 00 Jun 20 21:02:26 sparhawk kernel: sda: assuming drive cache: write through Jun 20 21:02:26 sparhawk kernel: sda: sda1 Jun 20 21:02:28 sparhawk hal-subfs-mount[9228]: SYMLINKS:: disk/by-id/usb-Generic_STORAGE_DEVICE disk/by-path/usb-0x05e3-0x0705:0:0:0 Jun 20 21:02:28 sparhawk hal-subfs-mount[9228]: MOUNT_POINT:: /media/usbdisk Jun 20 21:02:28 sparhawk hal-subfs-mount[9228]: MOUNTPOINT:: /media/usbdisk Jun 20 21:02:28 sparhawk hal-subfs-mount[9228]: Collected mount options and Called(0) /bin/mount -t subfs -o fs=floppyfss,sync,procuid,nosuid,nodev,exec,utf8=true /dev/sda1 "/media/usbdisk" Jun 20 21:02:28 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'mount' Jun 20 21:02:31 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Jun 20 21:02:32 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'mount' Jun 20 21:02:35 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Jun 20 21:02:57 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'mount' --- This is where the script is ran. --- Jun 20 21:06:19 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Jun 20 21:06:19 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'mount' Jun 20 21:08:54 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Jun 20 21:08:55 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'mount' Jun 20 21:09:21 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Jun 20 21:14:59 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'mount' Jun 20 21:15:03 sparhawk udevd[2231]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Jun 20 21:15:17 sparhawk kernel: Device not ready. Make sure there is a disc in the drive. Jun 20 21:15:17 sparhawk kernel: Device not ready. Make sure there is a disc in the drive. Jun 20 21:15:17 sparhawk hal-subfs-mount[11380]: By hald-subfs-mount created dir /media/usbdisk got removed. Jun 20 21:15:48 sparhawk kernel: usb 1-1.2: USB disconnect, address 4 uname -r => 2.6.13-15-default -- /Rikard ----------------------------------------------------------------------------- email : rikard.j@rikjoh.com web : http://www.rikjoh.com mob: : +46 (0)763 19 76 25 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >