Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!rutgers!cbmvax!grr From: grr@cbmvax.commodore.com (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: Using "dd" copy copy disk partitions Message-ID: <21709@cbmvax.commodore.com> Date: 18 May 91 19:52:00 GMT References: <8410@jhunix.HCF.JHU.EDU> Reply-To: grr@cbmvax.commodore.com (George Robbins) Organization: Commodore, West Chester, PA Lines: 21 In article <8410@jhunix.HCF.JHU.EDU> barrett@jhunix.HCF.JHU.EDU (Dan Barrett) writes: > > I have used "dd" to copy one disk partition to another over > ethernet (dd if=/dev/foo | rsh another dd of=/dev/bar). Unfortunately, > this causes the destination partition to believe it is the SAME SIZE > as the original partition, despite how it was created by newfs. Given that the partition is self described in the super block and that there are secondary structures on cylinder group basis this is not a reasonable expectatation. The partition is only a container, the filesystem is a structure that may or may not use the entire area. For that matter you can create a "filesystem" structure in places other than disk partitions, though unix may decline to mount the structure and many of the tools are special cased to the point of being broken these days... -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing: domain: grr@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)