Jean-Yves Migeon
dc207e4669
Hide *lafe_progname and provide getter/setter instead.
...
This factorizes some code between binaries like bsdtar, bsdcpio, and
the soon-to-be mtree.
2013-09-06 17:17:57 +02:00
Jean-Yves Migeon
7ba6dff66d
st_dev field corresponds to dev{major,minor} and not rdev{major,minor}.
2013-09-05 16:42:17 +02:00
Jean-Yves Migeon
a79624032e
Bug fix (segfault): check filename against NULL in case we want
...
the output to go to stdout.
2013-09-05 15:27:52 +02:00
Jean-Yves Migeon
c1890af4f5
Document "resdevice" and "inode".
2013-09-04 19:08:21 +02:00
Jean-Yves Migeon
2c271b395a
Implement "resdevice" and "inode" in the mtree(5) spec.
...
- resdevice is the keyword that corresponds to the "resident" device,
e.g. the one where the entry resides;
- inode is entry's inode number.
2013-09-04 18:58:47 +02:00
Jean-Yves Migeon
b2803b4222
Small typo fix in parse_device()'s description.
2013-09-04 15:11:59 +02:00
Jean-Yves Migeon
450986f975
Start implementing the "resdevice" (resident device) keyword. It
...
corresponds to the st_dev field of stat(2), e.g. the ID of the
device that contains the inode.
Change parse_device() prototype so it can be used for "device"
and "resdevice", and call the appropriate archive_entry_set_{,r}dev()
function to store the field value.
2013-09-04 15:08:20 +02:00
Jean-Yves Migeon
4e002d9a92
Add the device parsing logic. It allows mtree's libarchive to
...
parse device entries like NetBSD's mtree and its multiple possible
format: native, 386bsd, 4bsd, bsdos, freebsd, hpux, isc, linux, netbsd,
osf1, sco, solaris, sunos, svr3, svr4, and ultrix.
2013-09-03 16:12:37 +02:00
Jean-Yves Migeon
33fdc394c7
Document the "device" keyword and its value.
2013-09-03 11:45:32 +02:00
Jean-Yves Migeon
04600e84c7
Typo fix.
2013-08-30 17:03:39 +02:00
Jean-Yves Migeon
651c7d7cd5
"optional" is also supported, so add it to mtree.5.
2013-08-29 17:01:27 +02:00
Jean-Yves Migeon
be78a6bace
sha384 and sha512 are supported tags, add them to mtree.5.
2013-08-29 16:28:59 +02:00