Date: Sun, 22 Dec 2002 23:46:03 -0600 From: Hari Bhaskaran <subscr@spider.netmails.net> To: freebsd-stable@freebsd.org Subject: Losing schg flags on tar/un-tar Message-ID: <20021222234603.A10494@spider.netmails.net>
next in thread | raw e-mail | index | archive | help
Hi, I was following the vinum setup instructions at http://org.netbase.org/vinum-mirrored.html and as part of it, I had to create a new /var in a vinum mirrored volume. Once I created the fs, I copied over all the contents of existing /var onto it via the command cd / mount /dev/vinum/var /mnt/var tar -cf - -C /var . | tar -xpf - -C /mnt/var However, while trying to remove the old /var, I figured out I couldn't remove /var/empty (which was then renamed as /var.old/empty. I realised it is because of schg flags on the directory. The new /var doesn't have this flag set either. I was able to delete and create it again. So what other info could I have lost with this tar/un-tar process? Is there a list of 'must have' file permissions somewhere that I can cross check against? Any help is appreciated -- Hari Bhaskaran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021222234603.A10494>