From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,2ebdc372caccdfbb X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,2ebdc372caccdfbb X-Google-Attributes: gidfee84,public From: peng@infinite.cs.swt.edu (Wuxu Peng) Subject: Re: moving a filesystem to another partition Date: 1996/06/20 Message-ID: <4qcf35$86v@pirates.cs.swt.edu>#1/1 X-Deja-AN: 161268887 references: <4qc3r4$r2a@ctsc.hkbc.hk> followup-to: comp.unix.questions,comp.unix.osf.osf1 organization: Computer Science Department, Southwest Texas State University newsgroups: comp.unix.questions,comp.unix.osf.osf1 Wong Pui Ming (s11976@net2.hkbu.edu.hk) wrote: : I was trying to copy the entire filesystem (mounted on /userhome) : to another larger filesystem (/dev/rz3c) since the old one is running : out of space. What i did are: : mount /dev/rz3c /mnt : tar cf - . | (cd /mnt && tar xpf - ) : umount /mnt : umount /userhome : mount /dev/rz3c /userhome : BUT after i did the tar, I found that the ownerships of the subdirectories : under /mnt are wrong (being owner root, group system), yet those of the : files are correct. What have I done wrong ? : Any suggestion for an alternative way to move the partition ? : (P.S. the unix conerned is Digital Unix 3.0) My guess: you should do a tar cpf - . | ... The "p" flag preserves the onwer and group information. -- --wuxu (peng@cs.swt.edu)