Dag-Erling Smorgrav wrote: > > Marcel Moolenaar <[EMAIL PROTECTED]> writes: > > According to the manpage, if you remove -U it doesn't create new > > directories or symlinks. At least that's how I interpret it. > > You interpret it wrong. -U just tells mtree to fix permissions. The > canonical way to use the mtree files in /etc/mtree is 'mtree -deU -f > <file> -p <path>', e.g. 'mtree -deU -f /etc/mtree/BSD.root.dist -p /'. See src/usr.sbin/mtree/verify.c, line 211. This is the only occurence of mkdir and thus the only place where directories are created. The mkdir(2) is in the then-part of the if-statement on line 194 and is only executed if uflag != 0. uflag is set by options -U or -u. Ergo: without -U or -u no directories are created. -- Marcel Moolenaar mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] tel: (408) 447-4222 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Bootstrapping issues with groff(1) Ruslan Ermilov
- Re: Bootstrapping issues with groff(1) Marcel Moolenaar
- Re: Bootstrapping issues with groff(1) Ruslan Ermilov
- Re: Bootstrapping issues with groff(1) Marcel Moolenaar
- Re: Bootstrapping issues with groff(1... David O'Brien
- Re: Bootstrapping issues with gr... Marcel Moolenaar
- Re: Bootstrapping issues wit... David O'Brien
- Re: using mtree in our b... Marcel Moolenaar
- Re: Bootstrapping issues with groff(1... Dag-Erling Smorgrav
- Re: Bootstrapping issues with gr... Marcel Moolenaar
- Re: Bootstrapping issues with gr... Bruce Evans
- Re: Bootstrapping issues with groff(1... Ruslan Ermilov
- Re: Bootstrapping issues with gr... Marcel Moolenaar
- Re: Bootstrapping issues wit... Ruslan Ermilov
- Re: Bootstrapping issues with groff(1) Marcel Moolenaar
- Re: Bootstrapping issues with groff(1) Matt Dillon
- Re: Bootstrapping issues with groff(1) Marcel Moolenaar
- Re: Bootstrapping issues with groff(1) assar
- Re: Bootstrapping issues with groff(1) Ruslan Ermilov
- Re: Bootstrapping issues with groff(1) Marcel Moolenaar