[prev in list] [next in list] [prev in thread] [next in thread] 

List:       voyage-linux
Subject:    [Voyage-linux] Copying data between /ro and /rw
From:       Pascal de Bruijn <pmjdebruijn () gmail ! com>
Date:       2006-08-01 12:35:22
Message-ID: 1154435722.15385.7.camel () localhost
[Download RAW message or body]

Hi,

I noticed something peculiar when data is being copy forward and
backward between /ro and /rw. 


mountall.sh:
------------
tar -C /ro -cf - . | tar -C /rw -xf -  > /dev/null 2>&1

voyage-util:
------------
cp -Rp $DIR/* /ro$DIR/

Why is tar piped to tar in one case and a plain copy in the other case?

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://del.icio.us/pmjdebruijn/
http://www.flickr.com/photos/pmjdebruijn/



_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic