new package aufs2-util
[openadk.git] / package / aufs2-util / src / c2tmac.c
blob0018763b42e0c8d1fb0366c5bd35d1ba24502c03
2 /*
3 * Copyright (C) 2005-2009 Junjiro Okajima
5 * This program, aufs is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #include <stdio.h>
21 #include <linux/aufs_type.h>
23 int
24 main(int argc, char *argv[])
26 #define p(m, v, fmt) printf(".ds %s " fmt "\n", m, v)
27 #define pstr(m) p(#m, m, "%s")
28 #define pint(m) p(#m, m, "%d")
29 pstr(AUFS_VERSION);
30 pstr(AUFS_XINO_FNAME);
31 pstr(AUFS_XINO_DEFPATH);
32 pint(AUFS_DIRWH_DEF);
33 pstr(AUFS_WH_PFX);
34 pint(AUFS_WH_PFX_LEN);
35 pstr(AUFS_WKQ_NAME);
36 pint(AUFS_NWKQ_DEF);
37 pstr(AUFS_WH_DIROPQ);
38 pstr(AUFS_WH_BASE);
39 pstr(AUFS_WH_PLINKDIR);
40 pint(AUFS_MFS_SECOND_DEF);
41 pint(AUFS_RDBLK_DEF);
42 pint(AUFS_RDHASH_DEF);
43 return 0;