Re: mergemaster: schg flag for temproot/var/emtpy ??
On Sun, Sep 14, 2003 at 06:08:57PM +0900, Rob Lahaye wrote: Is there any reason why it is like that? Yes, it's used to chroot into, and must not be writable. Kris pgp0.pgp Description: PGP signature
Re: mergemaster: schg flag for temproot/var/emtpy ??
Hi, I am trying to learn the buildworld and mergemaster process from the Handbook. The handbook says: [...] To begin simply type mergemaster at your prompt, and watch it start going. [..] SO I did type mergemaster and all went well. Decided then to remove the temproot directory, but failed! # rm -rf /var/tmp/temproot rm: /var/tmp/temproot/var/empty: Operation not permitted rm: /var/tmp/temproot/var: Directory not empty rm: /var/tmp/temproot/: Directory not empty Took me a long while to figure out the /var/tmp/temproot/var/empty direcoty has the schg flag set. Very, very confusing. Is there any reason why it is like that? If not, then do not create the empty directory with schg !! Because /var/empty should not be deleted. Some programs use it. I don't know about that particilar variation. jerry Regards, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: mergemaster: schg flag for temproot/var/emtpy ??
SO I did type mergemaster and all went well. Decided then to remove the temproot directory, but failed! # rm -rf /var/tmp/temproot rm: /var/tmp/temproot/var/empty: Operation not permitted rm: /var/tmp/temproot/var: Directory not empty rm: /var/tmp/temproot/: Directory not empty Took me a long while to figure out the /var/tmp/temproot/var/empty direcoty has the schg flag set. Very, very confusing. Is there any reason why it is like that? If not, then do not create the empty directory with schg !! Because /var/empty should not be deleted. Some programs use it. I don't know about that particilar variation. I'm confused here, but that's nothing new... I'm running 4.8-RELEASE-p4. I can read what Jerry says, but does he mean that /var/empty should not be deleted, or that /var/tmp/temproot/var/empty should not be deleted? These two directories are completely different, and if I'm rebuilding from source for, say, the second time, then /var/tmp/temproot/var/empty might exist and definitly should be deleted, right? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mergemaster: schg flag for temproot/var/emtpy ??
On Sun, Sep 14, 2003 at 03:26:43PM -0500, Charles Howse wrote: SO I did type mergemaster and all went well. Decided then to remove the temproot directory, but failed! # rm -rf /var/tmp/temproot rm: /var/tmp/temproot/var/empty: Operation not permitted rm: /var/tmp/temproot/var: Directory not empty rm: /var/tmp/temproot/: Directory not empty Took me a long while to figure out the /var/tmp/temproot/var/empty direcoty has the schg flag set. Very, very confusing. Is there any reason why it is like that? If not, then do not create the empty directory with schg !! Because /var/empty should not be deleted. Some programs use it. I don't know about that particilar variation. I'm confused here, but that's nothing new... I'm running 4.8-RELEASE-p4. I can read what Jerry says, but does he mean that /var/empty should not be deleted, or that /var/tmp/temproot/var/empty should not be deleted? These two directories are completely different, and if I'm rebuilding from source for, say, the second time, then /var/tmp/temproot/var/empty might exist and definitly should be deleted, right? /var/tmp/temproot/var/empty should be deleted by mergemaster along with the rest of temproot. There were some modifications a few months back to enable it to deal with the .../var/empty directory -- essentially it just does a 'rm -rf' to get rid of as much as possible, then a 'chflags -R 0' to de-flag the rest and 'rm -rf' again to finish off the job. Perhaps you have an older version of mergemaster before that capability was added. Anyhow, feel free to zap the contents of /var/tmp/temproot manually. Leave /var/empty alone, unless you've got something against ssh(1) working properly. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature