Copy directories with fcopy

Henning Glawe glaweh at physik.fu-berlin.de
Wed Jan 12 19:05:26 CET 2005


On Wed, Jan 12, 2005 at 07:58:20PM +0200, Markus T�rnqvist wrote:
> nurse:/mnt/z/fai/files/etc# ls -l passwd
> total 4
> -rw-r--r--  1 root root 1463 Jan 10 18:53 USERS
> nurse:/mnt/z/fai/files/etc# ls -ld passwd
> drwxr-xr-x  2 root root 72 Jan 12 18:00 passwd
> 
> Basically I can do it in a separate script, I mean, write the
> passwd and group files, but is this a feature that passwd etc
> are not copied?
> 
> This is mildly annoying :)

1) copying passwd is not a good idea: it contains many dynamic entries
   generated by packages (and thus changes quite often)
2) unless you run fcopy recursively somewhere you need to call it for each
   file.

-- 
c u
henning



More information about the linux-fai mailing list