gcp seems to have a bug when copying empty directories from an mvfs.  mvfs
is the filesystem used with Rational's ClearCase.  This occurs on hpux
and aix.  Doesn't occur on solaris.  Here are the details.

fileutils v3.16
aix 4.2.1.0
hpux 10.20


hendrix (bmetcalf_91) nms $ uname -a
HP-UX hendrix B.10.20 A 9000/785 2011029407 two-user license
hendrix (bmetcalf_91) nms $ ls -ld om
drwxrwxr-x   2 cmvobadm   engineer         0 May  1 13:58 om/
hendrix (bmetcalf_91) nms $ ls -l om
total 0
hendrix (bmetcalf_91) nms $ gcp -av om ~/tmp
om -> /bnw/home/bmetcalf/tmp/om
Memory fault(coredump)


rhiannon (bmetcalf_91) nms $ uname -a
AIX rhiannon 2 4 000115CB4C00
rhiannon (bmetcalf_91) nms $ gcp -av om ~/tmp
om -> /bnw/home/bmetcalf/tmp/om
gcp: om: A system call received a parameter that is not valid.


In both cases, the target directory gets created, but gcp dumps core in
one case and exits with a non-zero status in both cases.  This behavior
does not occur on solaris 2.6.

Brandon

Reply via email to