Package: cpio
Version: 2.6-1
Severity: important

The cpio docs say:

`-L, --dereference'
     Copy the file that a symbolic link points to, rather than the
     symbolic link itself.

This implies that the normal behavior is to copy the symlink, and
that has been the behavior until now. However:


$ ls -l
total 65
-rw-------  1 tom tom 65000 Aug 11 13:55 big_file
lrwxrwxrwx  1 tom tom     8 Aug 11 13:56 link_to_bf -> big_file

$ ls link_to_bf | cpio -o > cpio_file
128 blocks

$ ls -l
total 130
-rw-------  1 tom tom 65000 Aug 11 13:55 big_file
-rw-------  1 tom tom 65536 Aug 11 13:57 cpio_file
lrwxrwxrwx  1 tom tom     8 Aug 11 13:56 link_to_bf -> big_file


>From the dates on various files I can tell this changed after July 4,
so it has to be something in 2.6-1, the only revision since then.
(Unless it's in some library instead.) I looked through the code a
little but nothing leaped out at me.

Thanks,
Tom Zych
[EMAIL PROTECTED]


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.24
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cpio depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an

cpio recommends no packages.

-- no debconf information


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

Reply via email to