From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5fcdd8f0340bd3e9 X-Google-Attributes: gidfa528,public From: "Adam Price" Subject: Re: Expanding root partition Date: 2000/09/14 Message-ID: <968967459.22376.1.nnrp-09.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 669802503 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <39BD2F6F.66B03770@nospam.guacamole.com> <513trskt630cfv6d6uh0u40dgu32pr95ed@4ax.com> <39BF8FE0.B5F3C927@nospam.guacamole.com> <39BFA0B6.3941373D@compaq.com> <39BFB7E1.8FD9565D@nospam.guacamole.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 968967459 nnrp-09:22376 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Reply-To: "Adam Price" Newsgroups: comp.unix.tru64 Marble Head wrote in message <39BFB7E1.8FD9565D@nospam.guacamole.com>... >I agree advfs is better. But I've got about 1/2 dozen machines, and >this is an old one, so I don't plan to migrate it. :-) > >vdump -0f - -D /mnt |vrestore -xf - -D /mnt2 >(cd /mnt; tar cf - ) | (cd /mnt2; tar xpf -) > >Do these two commands effectively do the same thing? Is there some >subtle difference? > The difference on Tru64 is that tar doesn't preserve the setuid bit, this means that many system binaries and X programs simply don't work after the copy. >When talking about dump and vdump, why is there any distinguishing >between ufs and advfs? dump/vdump act at a lower level than the filesystem, they parse the filesystem from the raw disk. > Can't a program simply traverse the tree >structure and copy files with no regard to the fs, provided that the >same permissions, characteristics, and attributes are supported? As you say the tool can and does do just that. The advantage of always using vdump is that it works for both of the normal Tru64 filesystems and so the tool will always do the job. BTW if you want to use a 'tar' compatable tool for this then check out pax the posix archive tool. On tru64 cpio and tar are implemented using pax and the tool is extremley flexable and supposedly a posix standard tool. Hope this helps Adam