Home
last modified time | relevance | path

Searched refs:mtree (Results 1 – 25 of 70) sorted by relevance

123

/freebsd-13-stable/contrib/libarchive/libarchive/
HDarchive_write_set_format_mtree.c360 mtree_indent(struct mtree_writer *mtree) in mtree_indent() argument
365 if (mtree->classic) { in mtree_indent()
366 if (mtree->indent) { in mtree_indent()
368 pd = mtree->depth * 4; in mtree_indent()
370 nd = mtree->depth?4:0; in mtree_indent()
376 s = r = mtree->ebuf.s; in mtree_indent()
384 archive_strappend_char(&mtree->buf, ' '); in mtree_indent()
385 archive_strncat(&mtree->buf, s, r - s); in mtree_indent()
387 archive_strncat(&mtree->buf, " \\\n", 3); in mtree_indent()
389 archive_strappend_char(&mtree->buf, ' '); in mtree_indent()
[all …]
HDarchive_read_support_format_mtree.c99 struct mtree { struct
125 struct mtree *, struct mtree_entry *, int *); argument
128 struct mtree *, struct mtree_entry *, int *);
129 static int parse_keyword(struct archive_read *, struct mtree *,
133 static ssize_t readline(struct archive_read *, struct mtree *, char **, ssize_t);
214 struct mtree *mtree; in archive_read_format_mtree_options() local
216 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options()
220 mtree->checkfs = 0; in archive_read_format_mtree_options()
222 mtree->checkfs = 1; in archive_read_format_mtree_options()
270 struct mtree *mtree; in archive_read_support_format_mtree() local
[all …]
/freebsd-13-stable/contrib/netbsd-tests/usr.sbin/mtree/
HDt_mtree.sh88 ( 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-13-stable/tools/tools/build_option_survey/
HDreduce.sh14 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-13-stable/usr.sbin/fmtree/test/
HDtest00.sh12 TMP=/tmp/mtree.$$
20 mtree -c -p ${TMP}/mr | mtree -U -r -p ${TMP}/mt > /dev/null 2>&1
30 mtree -c -p ${TMP}/mr | mtree -U -r -p ${TMP}/mt > /dev/null 2>&1
40 mtree -c -p ${TMP}/mr | mtree -U -r -p ${TMP}/mt > /dev/null 2>&1
49 mtree -c -p ${TMP}/mr > ${TMP}/_
50 if mtree -U -r -p ${TMP}/mt < ${TMP}/_ > /dev/null 2>&1 ; then
HDtest03.sh12 TMP=/tmp/mtree.$$
26 mtree -c -K $K -p .. > ${TMP}/_r
27 mtree -c -K $K -p .. > ${TMP}/_r2
38 mtree -c -K $K -p .. > ${TMP}/_t
42 if mtree -f ${TMP}/_r -f ${TMP}/_r2 ; then
49 if mtree -f ${TMP}/_r -f ${TMP}/_t > ${TMP}/_ ; then
HDtest04.sh12 TMP=/tmp/mtree.$$
23 mtree -c -p ${TMP}/mr > ${TMP}/_r
24 mtree -c -p ${TMP}/mt > ${TMP}/_t
26 if mtree -f ${TMP}/_r -f ${TMP}/_t > ${TMP}/_ ; then
37 if mtree -f ${TMP}/_t -f ${TMP}/_r > ${TMP}/_ ; then
HDtest02.sh12 TMP=/tmp/mtree.$$
20 mtree -c -p ${TMP}/mr > ${TMP}/_
22 mtree -U -r -p ${TMP}/mt < ${TMP}/_ > /dev/null
HDtest01.sh12 TMP=/tmp/mtree.$$
19 mtree -c -p ${TMP}/mr > ${TMP}/_
21 if mtree -U -r -p ${TMP}/mt < ${TMP}/_ > /dev/null 2>&1 ; then
HDtest05.sh7 TMP=`mktemp -d /tmp/mtree.XXXXXX`
11 mtree -c -p ${TMP}/mr > ${TMP}/_
13 mtree -p ${TMP}/mr -K optional < ${TMP}/_ > /dev/null
/freebsd-13-stable/usr.sbin/nmtree/
HDMakefile4 .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-13-stable/etc/
HDMakefile55 ${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
96 MTREES= mtree/BSD.root.dist / \
97 mtree/BSD.var.dist /var \
98 mtree/BSD.usr.dist /usr \
99 mtree/BSD.include.dist /usr/include \
100 mtree/BSD.debug.dist /usr/lib
102 MTREES+= mtree/BSD.lib32.dist /usr
103 MTREES+= mtree/BSD.lib32.dist /usr/lib/debug/usr
106 MTREES+= mtree/BSD.libsoft.dist /usr
107 MTREES+= mtree/BSD.libsoft.dist /usr/lib/debug/usr
[all …]
/freebsd-13-stable/libexec/rc/rc.d/
HDvar44 /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
HDvar_run27 mtree -U -i -q -f "${var_run_mtree}" -p /var/run > /dev/null
35 mtree -dcbj -p /var/run > "${var_run_mtree}"
/freebsd-13-stable/tools/boot/
HDlua-img.sh20 mtree -deUW -f etc/mtree/BSD.root.dist -p ${dir}
21 mtree -deUW -f etc/mtree/BSD.usr.dist -p ${dir}/usr
/freebsd-13-stable/usr.sbin/makefs/tests/
HDmakefs_ffs_tests.sh60 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
HDmakefs_cd9660_tests.sh74 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
HDmakefs_tests_common.sh69 mtree_file=input_spec.mtree
71 mtree -c -k $mtree_keywords -p $directory $mtree_excludes_arg
79 mtree -UW -f $mtree_file \
/freebsd-13-stable/contrib/mtree/
HDMakefile6 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-stable/tools/tools/tinybsd/
HDtinybsd277 mtree -deU -f /etc/mtree/BSD.root.dist -p ${WORKDIR}
278 mtree -deU -f /etc/mtree/BIND.chroot.dist -p ${WORKDIR}
279 mtree -deU -f /etc/mtree/BSD.usr.dist -p ${WORKDIR}/usr
280 mtree -deU -f /etc/mtree/BSD.local.dist -p ${WORKDIR}/usr/local
281 mtree -deU -f /etc/mtree/BSD.var.dist -p ${WORKDIR}/var
/freebsd-13-stable/
HDMakefile.libcompat77 ${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-stable/usr.sbin/makefs/
HDMakefile14 mtree.c \
27 .PATH: ${SRCTOP}/contrib/mtree
28 CFLAGS+=-I${SRCTOP}/contrib/mtree
/freebsd-13-stable/etc/mtree/
HDREADME14 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
/freebsd-13-stable/usr.bin/xinstall/
HDMakefile12 .PATH: ${SRCTOP}/contrib/mtree
13 CFLAGS+= -I${SRCTOP}/contrib/mtree
/freebsd-13-stable/usr.sbin/fmtree/
HDMakefile9 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
17 fmtree.8: mtree.8

123