[rescue] Solaris cp question

Jonathan C. Patschke jp at celestrion.net
Fri Mar 21 23:47:37 CST 2003


On Fri, 21 Mar 2003, Joshua D. Boyd wrote:

> Now, on solaris, I know how to edit my /etc/vfstab, but the copy step is
> kicking my but.  I can't seem to identify a set of cp switches that
> copies symlinks and pipes correctly while preserving the ACL.

mount /dev/dsk/....... /newusr
cd /usr
ufsdump 0f - /usr | (cd /newuser && ufsrestore xrf - )
vi /etc/vfstab
umount /newuser
reboot

-- 
Jonathan Patschke  *) "Saying 8MB of RAM doesn't do as much anymore is
Thorndale, TX      (*  like saying a gallon of water holds more than it
                   *)  did in 1988."                    --George Adkins


More information about the rescue mailing list