Package: cpio
Version: 2.9-13
Severity: normal

I was attempting to copy from a local vfat filesystem to a remote 
ntfs-3g filesystem preserving the modification times of files.

The source filesystem is mounted as:

/dev/hda1 on /victoriac type vfat (rw,uid=65534,gid=65534,umask=000)

The destination filesystem is mounted as:

//10.0.0.5/bigstore on /bigstore type cifs (rw,mand)

I attempted a cpio first by doing:

cd "/victoriac/some-directory"
find . -print0|cpio -pmdv0 /bigstore/some-other-directory 

but found the modification times of directories and files moved set to 
the present time.

I also tried:

find . -print0|cpio -p -mdv0 /bigstore/some-other-directory

with the same result.

However, if I logged on to the remote system which has the source and 
destination filesystems mounted as follows:

Source:

//10.0.0.1/victoriac on /victoriac type cifs (rw,mand)

Destination:

/dev/hda5 on /bigstore type fuseblk (rw,allow_other,blksize=4096)

the directory modification times were set to the present and the file 
modification times were preserved as the old times when using the 
following command:

cd /victoriac/somedir
find . -print0|cpio -p -mdv0 /bigstore/some-other-dir

This also preserved file modification times:

find . -print0|cpio -pmdv0 /bigstore/some-other-dir  

Is this a bug with cpio, or limitation of the vfat, smbfs, or ntfs-3g 
filesystem, or combination of the above?

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

Kernel: Linux 2.6.27-rc5 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cpio depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

cpio recommends no packages.

cpio suggests no packages.

-- no debconf information



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

Reply via email to