| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_mtree.c | 935 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1044 if (mtree->indent || mtree->classic) in write_mtree_entry() 1049 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1074 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1077 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1081 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1131 mtree->depth++; in write_mtree_entry_tree() 1258 free(mtree); in archive_write_mtree_free() 1386 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1394 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
| H A D | archive_read_support_format_mtree.c | 215 struct mtree *mtree; in archive_read_format_mtree_options() local 217 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 271 struct mtree *mtree; in archive_read_support_format_mtree() local 277 mtree = (struct mtree *)calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 299 struct mtree *mtree; in cleanup() local 302 mtree = (struct mtree *)(a->format->data); in cleanup() 1054 mtree->this_entry = mtree->entries; in read_mtree() 1114 struct mtree *mtree; in read_header() local 1869 struct mtree *mtree; in read_data() local 1890 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/usr.sbin/mtree/ |
| H A D | t_mtree.sh | 96 FLAVOR=mtree create_head 105 FLAVOR=mtree create_body 133 FLAVOR=mtree check_head 142 FLAVOR=mtree check_body 165 FLAVOR=mtree convert_C_head 295 mtree -F ${FLAVOR} -c | mtree -F ${FLAVOR} -Ck uid,gid,mode > mtree.spec 310 FLAVOR=mtree ignore_head 319 FLAVOR=mtree ignore_body 352 FLAVOR=mtree merge_head 361 FLAVOR=mtree merge_body [all …]
|
| /freebsd-13.1/tools/tools/build_option_survey/ |
| H A D | reduce.sh | 15 if [ ! -f $1/_.mtree ] ; then 18 if [ ! -f $2/_.mtree ] ; then 22 mtree -k uid,gid,mode,nlink,size,link,type,flags \ 23 -f ${1}/_.mtree -f $2/_.mtree > $2/_.mtree.all.txt || true 24 grep '^ ' $2/_.mtree.all.txt > $4/$3.mtree.chg.txt || true 25 grep '^[^ ]' $2/_.mtree.all.txt > $4/$3.mtree.sub.txt || true 26 grep '^ [^ ]' $2/_.mtree.all.txt > $4/$3.mtree.add.txt || true 27 a=`wc -l < $4/$3.mtree.add.txt` 28 s=`wc -l < $4/$3.mtree.sub.txt` 29 c=`wc -l < $4/$3.mtree.chg.txt`
|
| /freebsd-13.1/usr.sbin/fmtree/test/ |
| H A D | test00.sh | 13 TMP=/tmp/mtree.$$ 21 mtree -c -p ${TMP}/mr | mtree -U -r -p ${TMP}/mt > /dev/null 2>&1 31 mtree -c -p ${TMP}/mr | mtree -U -r -p ${TMP}/mt > /dev/null 2>&1 41 mtree -c -p ${TMP}/mr | mtree -U -r -p ${TMP}/mt > /dev/null 2>&1 50 mtree -c -p ${TMP}/mr > ${TMP}/_ 51 if mtree -U -r -p ${TMP}/mt < ${TMP}/_ > /dev/null 2>&1 ; then
|
| H A D | test03.sh | 13 TMP=/tmp/mtree.$$ 27 mtree -c -K $K -p .. > ${TMP}/_r 28 mtree -c -K $K -p .. > ${TMP}/_r2 39 mtree -c -K $K -p .. > ${TMP}/_t 43 if mtree -f ${TMP}/_r -f ${TMP}/_r2 ; then 50 if mtree -f ${TMP}/_r -f ${TMP}/_t > ${TMP}/_ ; then
|
| H A D | test04.sh | 13 TMP=/tmp/mtree.$$ 24 mtree -c -p ${TMP}/mr > ${TMP}/_r 25 mtree -c -p ${TMP}/mt > ${TMP}/_t 27 if mtree -f ${TMP}/_r -f ${TMP}/_t > ${TMP}/_ ; then 38 if mtree -f ${TMP}/_t -f ${TMP}/_r > ${TMP}/_ ; then
|
| H A D | test02.sh | 13 TMP=/tmp/mtree.$$ 21 mtree -c -p ${TMP}/mr > ${TMP}/_ 23 mtree -U -r -p ${TMP}/mt < ${TMP}/_ > /dev/null
|
| H A D | test01.sh | 13 TMP=/tmp/mtree.$$ 20 mtree -c -p ${TMP}/mr > ${TMP}/_ 22 if mtree -U -r -p ${TMP}/mt < ${TMP}/_ > /dev/null 2>&1 ; then
|
| H A D | test05.sh | 8 TMP=`mktemp -d /tmp/mtree.XXXXXX` 12 mtree -c -p ${TMP}/mr > ${TMP}/_ 14 mtree -p ${TMP}/mr -K optional < ${TMP}/_ > /dev/null
|
| /freebsd-13.1/usr.sbin/nmtree/ |
| H A D | Makefile | 5 .PATH: ${SRCTOP}/contrib/mtree 7 PACKAGE= mtree 9 PROG= mtree 10 MAN= mtree.5 mtree.8 11 SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \ 21 LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree 22 MLINKS= mtree.8 nmtree.8
|
| /freebsd-13.1/etc/ |
| H A D | Makefile | 56 ${_+_}cd ${.CURDIR}/mtree; ${MAKE} install 101 MTREES= mtree/BSD.root.dist / \ 102 mtree/BSD.var.dist /var \ 103 mtree/BSD.usr.dist /usr \ 104 mtree/BSD.include.dist /usr/include \ 105 mtree/BSD.debug.dist /usr/lib 107 MTREES+= mtree/BSD.lib32.dist /usr 111 MTREES+= mtree/BSD.libsoft.dist /usr 119 MTREES+= mtree/BSD.sendmail.dist / 121 .for mtree in ${LOCAL_MTREE} [all …]
|
| /freebsd-13.1/libexec/rc/rc.d/ |
| H A D | var | 45 /usr/sbin/mtree -deiU -f /etc/mtree/BSD.var.dist -p /var > /dev/null 50 /usr/sbin/mtree -deiU -f /etc/mtree/BSD.sendmail.dist -p / > /dev/null 88 elif [ -x /usr/sbin/mtree ] ; then 95 if [ ! -x /usr/sbin/mtree ] ; then
|
| /freebsd-13.1/tools/boot/ |
| H A D | lua-img.sh | 21 mtree -deUW -f etc/mtree/BSD.root.dist -p ${dir} 22 mtree -deUW -f etc/mtree/BSD.usr.dist -p ${dir}/usr
|
| /freebsd-13.1/usr.sbin/makefs/tests/ |
| H A D | makefs_ffs_tests.sh | 64 mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR 87 mtree -cp $TEST_INPUTS_DIR 92 cp $TEST_SPEC_FILE spec2.mtree 94 cat $TEST_SPEC_FILE spec2.mtree 112 mtree -cp $TEST_INPUTS_DIR 131 mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR
|
| H A D | makefs_cd9660_tests.sh | 77 mtree -cp $TEST_INPUTS_DIR 82 cp $TEST_SPEC_FILE spec2.mtree 84 cat $TEST_SPEC_FILE spec2.mtree 102 mtree -cp $TEST_INPUTS_DIR 122 mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR
|
| H A D | makefs_tests_common.sh | 72 mtree_file=input_spec.mtree 74 mtree -c -k $mtree_keywords -p $directory $mtree_excludes_arg 82 mtree -UW -f $mtree_file \
|
| /freebsd-13.1/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-13.1/tools/tools/tinybsd/ |
| H A D | tinybsd | 278 mtree -deU -f /etc/mtree/BSD.root.dist -p ${WORKDIR} 279 mtree -deU -f /etc/mtree/BIND.chroot.dist -p ${WORKDIR} 280 mtree -deU -f /etc/mtree/BSD.usr.dist -p ${WORKDIR}/usr 281 mtree -deU -f /etc/mtree/BSD.local.dist -p ${WORKDIR}/usr/local 282 mtree -deU -f /etc/mtree/BSD.var.dist -p ${WORKDIR}/var
|
| /freebsd-13.1/ |
| H A D | Makefile.libcompat | 77 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.usr.dist \ 79 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.include.dist \ 81 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.lib${libcompat}.dist \ 84 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ 86 ${WORLDTMP_MTREE} -f ${.CURDIR}/etc/mtree/BSD.lib${libcompat}.dist \
|
| /freebsd-13.1/usr.sbin/makefs/ |
| H A D | Makefile | 15 mtree.c \ 28 .PATH: ${SRCTOP}/contrib/mtree 29 CFLAGS+=-I${SRCTOP}/contrib/mtree
|
| /freebsd-13.1/etc/mtree/ |
| H A D | README | 16 mtree -c option, which was implemented that way for the same reason. 23 this procedure (the sed -e is ugly, but fixing mtree -c to 27 mtree -deU -f BSD.X.dist -p /tmp/MTREE 28 mtree -cdin -k uname,gname,mode -p /tmp/MTREE | \ 35 sections. This is caused by mtree not having a look ahead
|
| H A D | Makefile | 5 PACKAGE= mtree 33 FILESDIR= /etc/mtree
|
| /freebsd-13.1/usr.bin/xinstall/ |
| H A D | Makefile | 13 .PATH: ${SRCTOP}/contrib/mtree 14 CFLAGS+= -I${SRCTOP}/contrib/mtree
|
| /freebsd-13.1/usr.sbin/fmtree/ |
| H A D | Makefile | 10 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c 18 fmtree.8: mtree.8
|