Kevin Falcone on Thu, 6 Jul 2000 10:56:43 -0400 (EDT)


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

Re: [PLUG] copying a complete system to new HD


>>>>> "JS" == Jason Staloff <jasons@dca.net> writes:

  JS> Getting a recursive copy without mangled permissions isn't the
  JS> problem per se. For ordinary directories, cp -pdr (or cp -a)
  JS> works fine. But /dev can't be handled that way:

  JS>    [root@bug jason]# cp -pdr /dev testdev/

Please note, cp -a is like cp -pdR, not cp -pdr
-R can copy special files such as /dev, -r can't

-kevin

-- 
Kevin Falcone <kevinfal@seas.upenn.edu>

Don't get suckered in by the comments -- they can be terribly
misleading.  Debug only code.  
	--Dave Storer

______________________________________________________________________
Philadelphia Linux Users Group       -       http://plug.nothinbut.net
Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce
General Discussion   -   http://lists.nothinbut.net/mail/listinfo/plug