mtree spec

2013-01-08 Thread Fbsd8

I have this mtree specification file

/set type=dir uname=root gname=wheel
.
etc
..
root
..
usr
local
etc
..
..
..
..

But I want to have it behave a little differently.
What I am after is etc has to be present and any sub-directories off of 
etc is not a error. Same thing for for root and usr/local/etc


Can I do it using the nlink option on the etc level above or use some 
flag on mtree -d command I feed the above specification file to?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mtree spec

2013-01-08 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue Jan  8 07:35:39 2013
 Date: Tue, 08 Jan 2013 08:32:17 -0500
 From: Fbsd8 fb...@a1poweruser.com
 To: FreeBSD questions questi...@freebsd.org
 Subject: mtree spec

 I have this mtree specification file

 /set type=dir uname=root gname=wheel
 .
 etc
 ..
 root
 ..
 usr
 local
 etc
 ..
 ..
 ..
 ..

 But I want to have it behave a little differently.
 What I am after is etc has to be present and any sub-directories off of 
 etc is not a error. Same thing for for root and usr/local/etc


The answers to those issues are found in 'man mtree'.

IOW, RTFM applies.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mtree spec

2013-01-08 Thread Fbsd8

Robert Bonomi wrote:

From owner-freebsd-questi...@freebsd.org  Tue Jan  8 07:35:39 2013
Date: Tue, 08 Jan 2013 08:32:17 -0500
From: Fbsd8 fb...@a1poweruser.com
To: FreeBSD questions questi...@freebsd.org
Subject: mtree spec

I have this mtree specification file

/set type=dir uname=root gname=wheel
.
etc
..
root
..
usr
local
etc
..
..
..
..

But I want to have it behave a little differently.
What I am after is etc has to be present and any sub-directories off of 
etc is not a error. Same thing for for root and usr/local/etc




The answers to those issues are found in 'man mtree'.

IOW, RTFM applies.




What you think I got this far without reading the manual.
If I had greater understanding what the manual was saying
I would not be asking for help.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org