Home
last modified time | relevance | path

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

123

/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_mtree.c361 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 Darchive_read_support_format_mtree.c100 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 Dt_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/tools/tools/build_option_survey/
H A Dreduce.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/release/tools/
H A Doci-image-static.conf12 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 DMakefile3 .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 DMakefile61 ${_+_}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 Dvar47 /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 Dvar_run25 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 Dlua-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/usr.sbin/makefs/tests/
H A Dmakefs_tests_common.sh70 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 DMakefile6 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 Dmtree.ucl22 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 DMakefile1 WORLDPACKAGE= mtree
/freebsd/usr.sbin/makefs/
H A DMakefile13 mtree.c \
36 .PATH: ${SRCTOP}/contrib/mtree
37 CFLAGS+=-I${SRCTOP}/contrib/mtree
/freebsd/etc/mtree/
H A DREADME14 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 DMakefile5 PACKAGE= mtree
31 FILESDIR= /etc/mtree
H A DBSD.root.dist2 # Please see the file src/etc/mtree/README before making changes to this file.
70 mtree tags=package=mtree
H A DBSD.var.dist2 # Please see the file src/etc/mtree/README before making changes to this file.
50 mtree
/freebsd/contrib/sendmail/
H A DFREEBSD-upgrade40 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 DMakefile10 .PATH: ${SRCTOP}/contrib/mtree
11 CFLAGS+= -I${SRCTOP}/contrib/mtree
/freebsd/tools/test/stress2/misc/
H A Dmountro2.sh46 mtree -deU -f /etc/mtree/BSD.usr.dist -p $mntpoint/ >> /dev/null
/freebsd/release/scripts/
H A Dpkg-stage.sh122 mtree -c -p $ROOTDIR | mtree -C -k type,mode,link,size | \
/freebsd/tools/pkgbase/
H A DREADME.md5 the script accepts an mtree file in a format that's returned by
6 `mtree -c | mtree -C`
/freebsd/packages/rc/
H A DMakefile9 PKG_DEPS.rc+= mtree

123