[Prev][Next][Index][Thread]

Re: LIP General issues



On Thu, 28 Nov 1996, Gilad Gam wrote:

> > > If it's good what is the fastest way to copy HD->HD (and Preserve all
> > > permissions and sym links) someting:
> > > cd / ; tar -cf - | tar -xf - newtarget (I din't find in tar's man page
> > > how do I specify the target dir, It's not -C!)
> > > How to avoid the recursive copying of the HD mounted under /mnt?
> > 
> > $ cd /mnt
> > $ (cd / ; tar cf - . --one-file-system) | tar xvf -
> 
> Will it copy /dev correctly?
should be ok.

> Also, it will copy /proc, which is probably unnecessary. 
the --one-file-system should take care of that...

Ira Abramov,
    testing imapd for the first time, and is pretty impressed.



   -------------------------------------------------------------
   Ira Abramov          <ira@scso.com>        Scalable Solutions
   SITE Web Presence ("webspace for rent") http://www.site.co.il
   Beeper 91826 at 058-212121                FAX (972)2-643-0471
   POBox 3600, Jerusalem 91035, Israel       Tel (972)2-642-6822
   http://www.scso.com/~ira   Check out: http://www.linux.org.il


Follow-Ups: References: