freebsd-dev/etc/mtree/BSD.include.dist
Marcel Moolenaar 0974f66d06 In order to allow mkimg(1) (and other tools) to become a build tool
that can be compiled on various OSes (including on older versions
of FreeBSD), make it possible to have it include the partitioning
scheme definitions without pulling in FreeBSD specifics.
In particular this means:
 o  move the scheme definitions iand related defines to header files
    under sys/disk,
 o  make them (more) portable by using uint#_t (where applicable)
    and renaming defines so that they at least have a good prefix,
 o  make the new headers stand-alone so that they don't need FreeBSD
    definitions, like struct uuid(*)
 o  keep the original headers for compatibility, but rewrite them to
    get the scheme definitions from <sys/disk/$scheme.h>.

(*) since UUID/GUID type definitions are non-portable and the GPT
scheme uses them, make it possible to have the scheme definitions
use an external type by allowing consumers of the header to set
GPT_UUID_TYPE. When GPT_UUID_TYPE has not been defined, the header
will use it's own type definition, which is the same as struct uuid.
The gpt_uuid_t typedef is created to abstract the details and allows
consumers to refer to a single type.

There is not conflict between the partitioning scheme headers and
what is defined in them. All headers can be included in the same
source files.

Note: consumers of the old headers have not been changed yet. Such
will be done if and when needed/beneficial.

Reviewed by:	imp, jhb
MFC after:	1 month
Sponsored by:	Bracket Computing
2016-10-07 15:42:20 +00:00

355 lines
5.0 KiB
Plaintext

# $FreeBSD$
#
# Please see the file src/etc/mtree/README before making changes to this file.
#
/set type=dir uname=root gname=wheel mode=0755
.
arpa
..
atf-c
..
atf-c++
..
bsm
..
bsnmp
..
c++
4.2
backward
..
bits
..
debug
..
ext
pb_ds
detail
basic_tree_policy
..
bin_search_tree_
..
binary_heap_
..
binomial_heap_
..
binomial_heap_base_
..
cc_hash_table_map_
..
eq_fn
..
gp_hash_table_map_
..
hash_fn
..
left_child_next_sibling_heap_
..
list_update_map_
..
list_update_policy
..
ov_tree_map_
..
pairing_heap_
..
pat_trie_
..
rb_tree_map_
..
rc_binomial_heap_
..
resize_policy
..
splay_tree_
..
thin_heap_
..
tree_policy
..
trie_policy
..
unordered_iterator
..
..
..
..
tr1
..
..
v1
experimental
..
ext
..
tr1
..
..
..
cam
ata
..
nvme
..
scsi
..
..
casper
..
crypto
..
dev
acpica
..
agp
..
an
..
bktr
..
ciss
..
evdev
..
filemon
..
firewire
..
hwpmc
..
ic
..
iicbus
..
io
..
lmc
..
mfi
..
mpt
mpilib
..
..
nand
..
nvme
..
ofw
..
pbio
..
pci
..
powermac_nvram
..
ppbus
..
smbus
..
speaker
..
usb
..
utopia
..
vkbd
..
wi
..
..
devdctl
..
edit
readline
..
..
fs
cuse
..
devfs
..
fdescfs
..
msdosfs
..
nandfs
..
nfs
..
nullfs
..
procfs
..
smbfs
..
udf
..
unionfs
..
..
gcc
4.2
..
..
geom
cache
..
concat
..
eli
..
gate
..
journal
..
label
..
mirror
..
mountver
..
multipath
..
nop
..
raid
..
raid3
..
shsec
..
stripe
..
virstor
..
..
gnu
posix
..
..
gssapi
..
infiniband
complib
..
iba
..
opensm
..
vendor
..
..
isofs
cd9660
..
..
kadm5
..
krb5
..
lib80211
..
libmilter
..
libxo
..
lzma
..
machine
pc
..
..
net
altq
..
..
net80211
..
netgraph
atm
..
bluetooth
include
..
..
netflow
..
..
netinet
cc
..
..
netinet6
..
netipsec
..
netnatm
api
..
msg
..
saal
..
sig
..
..
netpfil
pf
..
..
netsmb
..
nfs
..
nfsclient
..
nfsserver
..
openssl
..
pcap
..
protocols
..
rdma
..
rpc
..
rpcsvc
..
security
audit
..
mac_biba
..
mac_bsdextended
..
mac_lomac
..
mac_mls
..
mac_partition
..
..
ssp
..
sys
disk
..
..
teken
..
ufs
ffs
..
ufs
..
..
vm
..
xlocale
..
..