| /freebsd-14.2/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_mtree.c | 934 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1043 if (mtree->indent || mtree->classic) in write_mtree_entry() 1048 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1073 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1076 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1080 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1130 mtree->depth++; in write_mtree_entry_tree() 1257 free(mtree); in archive_write_mtree_free() 1385 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1393 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
| H A D | archive_read_support_format_mtree.c | 214 struct mtree *mtree; in archive_read_format_mtree_options() local 216 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 270 struct mtree *mtree; in archive_read_support_format_mtree() local 276 mtree = calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 298 struct mtree *mtree; in cleanup() local 301 mtree = (struct mtree *)(a->format->data); in cleanup() 1055 mtree->this_entry = mtree->entries; in read_mtree() 1115 struct mtree *mtree; in read_header() local 1884 struct mtree *mtree; in read_data() local 1905 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/release/tools/ |
| H A D | oci-image-static.conf | 10 mtree -deU -p $m/ -f /etc/mtree/BSD.root.dist > /dev/null 11 mtree -deU -p $m/var -f /etc/mtree/BSD.var.dist > /dev/null 12 mtree -deU -p $m/usr -f /etc/mtree/BSD.usr.dist > /dev/null 13 mtree -deU -p $m/usr/include -f /etc/mtree/BSD.include.dist > /dev/null 14 mtree -deU -p $m/usr/lib -f /etc/mtree/BSD.debug.dist > /dev/null
|
| /freebsd-14.2/usr.sbin/nmtree/ |
| H A D | Makefile | 4 .PATH: ${SRCTOP}/contrib/mtree 6 PACKAGE= mtree 8 PROG= mtree 9 MAN= mtree.5 mtree.8 10 SRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \ 20 LINKS= ${BINDIR}/mtree ${BINDIR}/nmtree 21 MLINKS= mtree.8 nmtree.8
|
| /freebsd-14.2/etc/ |
| H A D | Makefile | 58 ${_+_}cd ${.CURDIR}/mtree; ${MAKE} install 103 MTREES= mtree/BSD.root.dist / \ 104 mtree/BSD.var.dist /var \ 105 mtree/BSD.usr.dist /usr \ 106 mtree/BSD.include.dist /usr/include \ 107 mtree/BSD.debug.dist /usr/lib 110 MTREES+= mtree/BSD.lib${libcompat}.dist /usr 115 MTREES+= mtree/BSD.tests.dist ${TESTSBASE} 119 MTREES+= mtree/BSD.sendmail.dist / 121 .for mtree in ${LOCAL_MTREE} [all …]
|
| /freebsd-14.2/libexec/rc/rc.d/ |
| H A D | var | 44 /usr/sbin/mtree -deiU -f /etc/mtree/BSD.var.dist -p /var > /dev/null 49 /usr/sbin/mtree -deiU -f /etc/mtree/BSD.sendmail.dist -p / > /dev/null 87 elif [ -x /usr/sbin/mtree ] ; then 94 if [ ! -x /usr/sbin/mtree ] ; then
|
| H A D | var_run | 22 mtree -U -i -q -f ${var_run_mtree} -p /var/run > /dev/null 29 mtree -dcbj -p /var/run > ${var_run_mtree}
|
| /freebsd-14.2/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-14.2/usr.sbin/makefs/tests/ |
| H A D | makefs_ffs_tests.sh | 60 mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR 83 mtree -cp $TEST_INPUTS_DIR 88 cp $TEST_SPEC_FILE spec2.mtree 90 cat $TEST_SPEC_FILE spec2.mtree 108 mtree -cp $TEST_INPUTS_DIR 127 mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR
|
| H A D | makefs_cd9660_tests.sh | 74 mtree -cp $TEST_INPUTS_DIR 79 cp $TEST_SPEC_FILE spec2.mtree 81 cat $TEST_SPEC_FILE spec2.mtree 99 mtree -cp $TEST_INPUTS_DIR 119 mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR
|
| H A D | makefs_tests_common.sh | 69 mtree_file=input_spec.mtree 71 mtree -c -k $mtree_keywords -p $directory $mtree_excludes_arg 79 mtree -UW -f $mtree_file \
|
| /freebsd-14.2/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-14.2/usr.sbin/makefs/ |
| H A D | Makefile | 14 mtree.c \ 38 .PATH: ${SRCTOP}/contrib/mtree 39 CFLAGS+=-I${SRCTOP}/contrib/mtree
|
| /freebsd-14.2/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 -cdin -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. 64 mtree
|
| H A D | BSD.var.dist | 2 # Please see the file src/etc/mtree/README before making changes to this file. 48 mtree
|
| /freebsd-14.2/contrib/sendmail/ |
| H A D | FREEBSD-upgrade | 42 etc/mtree/BSD.include.dist 43 etc/mtree/BSD.sendmail.dist 44 etc/mtree/BSD.usr.dist 45 etc/mtree/BSD.var.dist
|
| /freebsd-14.2/usr.bin/xinstall/ |
| H A D | Makefile | 12 .PATH: ${SRCTOP}/contrib/mtree 13 CFLAGS+= -I${SRCTOP}/contrib/mtree
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | mountro2.sh | 46 mtree -deU -f /etc/mtree/BSD.usr.dist -p $mntpoint/ >> /dev/null
|
| /freebsd-14.2/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-14.2/release/scripts/ |
| H A D | mm-mtree.sh | 141 MTREENEW=`mktemp -t mergemaster.mtree` 142 mtree -nci -p ${TEMPROOT} -k size,md5digest > ${MTREENEW} 2>/dev/null
|
| /freebsd-14.2/tools/tools/nanobsd/ |
| H A D | legacy.sh | 132 ( cd ${MNT} && mtree -c ) > ${NANO_OBJ}/_.mtree
|