| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_mtree.c | 361 mtree_indent(struct mtree_writer *mtree) in mtree_indent() argument 366 if (mtree->classic) { in mtree_indent() 367 if (mtree->indent) { in mtree_indent() 369 pd = mtree->depth * 4; in mtree_indent() 371 nd = mtree->depth?4:0; in mtree_indent() 377 s = r = mtree->ebuf.s; in mtree_indent() 385 archive_strappend_char(&mtree->buf, ' '); in mtree_indent() 386 archive_strncat(&mtree->buf, s, r - s); in mtree_indent() 388 archive_strncat(&mtree->buf, " \\\n", 3); in mtree_indent() 390 archive_strappend_char(&mtree->buf, ' '); in mtree_indent() [all …]
|
| H A D | archive_read_support_format_mtree.c | 100 struct mtree { struct 126 struct mtree *, struct mtree_entry *, int *); argument 129 struct mtree *, struct mtree_entry *, int *); 130 static int parse_keyword(struct archive_read *, struct mtree *, 134 static ssize_t readline(struct archive_read *, struct mtree *, char **, ssize_t); 215 struct mtree *mtree; in archive_read_format_mtree_options() local 217 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 221 mtree->checkfs = 0; in archive_read_format_mtree_options() 223 mtree->checkfs = 1; in archive_read_format_mtree_options() 271 struct mtree *mtree; in archive_read_support_format_mtree() local [all …]
|
| /freebsd/contrib/netbsd-tests/usr.sbin/mtree/ |
| H A D | t_mtree.sh | 88 ( cd create && mtree -F ${FLAVOR} -c -k type,nlink,link,size,sha256 ) >output.raw \ 96 FLAVOR=mtree create_head 105 FLAVOR=mtree create_body 126 ( cd create && mtree -F ${FLAVOR} ) <"$(atf_get_srcdir)/${FLAVOR}_d_create.out" >output \ 133 FLAVOR=mtree check_head 142 FLAVOR=mtree check_body 159 mtree -F ${FLAVOR} -C -K all <"$(atf_get_srcdir)/d_convert.in" >output 165 FLAVOR=mtree convert_C_head 174 FLAVOR=mtree convert_C_body 191 mtree -F ${FLAVOR} -C -S -K all <"$(atf_get_srcdir)/d_convert.in" >output [all …]
|
| /freebsd/tools/tools/build_option_survey/ |
| H A D | reduce.sh | 14 if [ ! -f $1/_.mtree ] ; then 17 if [ ! -f $2/_.mtree ] ; then 21 mtree -k uid,gid,mode,nlink,size,link,type,flags \ 22 -f ${1}/_.mtree -f $2/_.mtree > $2/_.mtree.all.txt || true 23 grep '^ ' $2/_.mtree.all.txt > $4/$3.mtree.chg.txt || true 24 grep '^[^ ]' $2/_.mtree.all.txt > $4/$3.mtree.sub.txt || true 25 grep '^ [^ ]' $2/_.mtree.all.txt > $4/$3.mtree.add.txt || true 26 a=`wc -l < $4/$3.mtree.add.txt` 27 s=`wc -l < $4/$3.mtree.sub.txt` 28 c=`wc -l < $4/$3.mtree.chg.txt`
|
| /freebsd/release/tools/ |
| H A D | oci-image-static.conf | 12 mtree -deU -p $m/ -f ${srcdir}/etc/mtree/BSD.root.dist > /dev/null 13 mtree -deU -p $m/var -f ${srcdir}/etc/mtree/BSD.var.dist > /dev/null 14 mtree -deU -p $m/usr -f ${srcdir}/etc/mtree/BSD.usr.dist > /dev/null 15 mtree -deU -p $m/usr/include -f ${srcdir}/etc/mtree/BSD.include.dist > /dev/null 16 mtree -deU -p $m/usr/lib -f ${srcdir}/etc/mtree/BSD.debug.dist > /dev/null
|
| /freebsd/usr.sbin/nmtree/ |
| H A D | Makefile | 3 .PATH: ${SRCTOP}/contrib/mtree 5 PACKAGE= mtree 7 PROG= mtree 8 MAN= mtree.5 mtree.8 9 SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \ 19 LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree 20 MLINKS= mtree.8 nmtree.8
|
| /freebsd/etc/ |
| H A D | Makefile | 61 ${_+_}cd ${.CURDIR}/mtree; ${MAKE} install 113 MTREES= mtree/BSD.root.dist / \ 114 mtree/BSD.var.dist /var \ 115 mtree/BSD.usr.dist /usr \ 116 mtree/BSD.include.dist /usr/include \ 117 mtree/BSD.debug.dist /usr/lib 120 MTREES+= mtree/BSD.lib${libcompat}.dist /usr 121 MTREES+= mtree/BSD.lib${libcompat}.dist /usr/lib/debug/usr 125 MTREES+= mtree/BSD.tests.dist ${TESTSBASE} 126 MTREES+= mtree/BSD.tests.dist /usr/lib/debug${TESTSBASE} [all …]
|
| /freebsd/libexec/rc/rc.d/ |
| H A D | var | 47 /usr/sbin/mtree -deiU -f /etc/mtree/BSD.var.dist -p /var > /dev/null 52 /usr/sbin/mtree -deiU -f /etc/mtree/BSD.sendmail.dist -p / > /dev/null 90 elif [ -x /usr/sbin/mtree ] ; then 97 if [ ! -x /usr/sbin/mtree ] ; then
|
| H A D | var_run | 25 mtree -U -i -q -f "${var_run_mtree}" -p /var/run > /dev/null 33 mtree -dcbj -p /var/run > "${var_run_mtree}"
|
| /freebsd/tools/boot/ |
| H A D | lua-img.sh | 20 mtree -deUW -f etc/mtree/BSD.root.dist -p ${dir} 21 mtree -deUW -f etc/mtree/BSD.usr.dist -p ${dir}/usr
|
| /freebsd/usr.sbin/makefs/tests/ |
| H A D | makefs_tests_common.sh | 70 mtree_file=input_spec.mtree 72 mtree -c -k $mtree_keywords -p $directory $mtree_excludes_arg 79 atf_check mtree -UW -f $mtree_file \ 86 mtree -k "$DEFAULT_MTREE_KEYWORDS" -cp "$TEST_INPUTS_DIR" | \ 87 mtree -C > "$TEST_SPEC_FILE"
|
| /freebsd/contrib/mtree/ |
| H A D | Makefile | 6 PROG= mtree 9 MAN= mtree.8 10 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \
|
| /freebsd/packages/mtree/ |
| H A D | mtree.ucl | 22 mtree(1) is a utility for managing filesystem hierarchies based on a 23 specification. mtree can generate a specification from an existing 27 This package also provides mtree(1) definitions for the base system 28 filesystem in /etc/mtree.
|
| H A D | Makefile | 1 WORLDPACKAGE= mtree
|
| /freebsd/usr.sbin/makefs/ |
| H A D | Makefile | 13 mtree.c \ 36 .PATH: ${SRCTOP}/contrib/mtree 37 CFLAGS+=-I${SRCTOP}/contrib/mtree
|
| /freebsd/etc/mtree/ |
| H A D | README | 14 mtree -c option, which was implemented that way for the same reason. 21 this procedure (the sed -e is ugly, but fixing mtree -c to 25 mtree -deU -f BSD.X.dist -p /tmp/MTREE 26 mtree -bcdjn -F freebsd9 -k uname,gname,mode -p /tmp/MTREE | \ 33 sections. This is caused by mtree not having a look ahead
|
| H A D | Makefile | 5 PACKAGE= mtree 31 FILESDIR= /etc/mtree
|
| H A D | BSD.root.dist | 2 # Please see the file src/etc/mtree/README before making changes to this file. 70 mtree tags=package=mtree
|
| H A D | BSD.var.dist | 2 # Please see the file src/etc/mtree/README before making changes to this file. 50 mtree
|
| /freebsd/contrib/sendmail/ |
| H A D | FREEBSD-upgrade | 40 etc/mtree/BSD.include.dist 41 etc/mtree/BSD.sendmail.dist 42 etc/mtree/BSD.usr.dist 43 etc/mtree/BSD.var.dist
|
| /freebsd/usr.bin/xinstall/ |
| H A D | Makefile | 10 .PATH: ${SRCTOP}/contrib/mtree 11 CFLAGS+= -I${SRCTOP}/contrib/mtree
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | mountro2.sh | 46 mtree -deU -f /etc/mtree/BSD.usr.dist -p $mntpoint/ >> /dev/null
|
| /freebsd/release/scripts/ |
| H A D | pkg-stage.sh | 122 mtree -c -p $ROOTDIR | mtree -C -k type,mode,link,size | \
|
| /freebsd/tools/pkgbase/ |
| H A D | README.md | 5 the script accepts an mtree file in a format that's returned by 6 `mtree -c | mtree -C`
|
| /freebsd/packages/rc/ |
| H A D | Makefile | 9 PKG_DEPS.rc+= mtree
|