summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs
Commit message (Collapse)AuthorAgeFilesLines
* Add support for using mtree(5) manifest files to define the imagemarcel2011-06-197-18/+1111
| | | | | | | | | | | | | | | | | | | | to be created. The support is based on mtree version 2.0, as used in libarchive, but adds new features on top of it. The current implementation is fully functional, but is envisioned to grow at least the following additional features over time: o Add support for the /include special command so that manifest files can be constructed using includable fragments. o Add support specifying a search path to locate content files. o Content file filters: commands that provide file contents on stdout. The manifest file eliminates the need to first construct a tree as root in order to create an image and allows images (releases) to be created directly from object trees and/or source trees. Reviewed by: deo Sponsored by: Juniper Networks, Inc
* Drop the include of <ufs/ffs/ffs_extern.h> from usr.sbin/makefs/ffs/ffs_bswap.cmckusick2011-06-162-16/+1
| | | | | | | | | and usr.sbin/makefs/ffs/ffs_subr.c as they have no need of anything in that file. No other programs or libraries include <ufs/ffs/ffs_extern.h> (nor should they as it is totally in-kernel interfaces). For added protection I enclosed the entire contents of <ufs/ffs/ffs_extern.h> in ifdef _KERNEL. Feedback from: Bruce Evans and Tai-hwa Liang
* Use alternative, less messy solution to avoid breakage after r223020:dim2011-06-132-6/+0
| | | | | | put the snapdata structure between #ifdef _KERNEL guards. Suggested by: kib
* Apparently makefs needs a few more system headers to compile duringdim2011-06-132-0/+5
| | | | buildworld.
* Unbreak usr.sbin/makefs after r223020.dim2011-06-121-0/+1
| | | | Pointy hat to: mckusick
* Add analogs to the -chrp-boot and -prep-boot options to mkisofs.nwhitehorn2011-05-224-10/+82
|
* Simplify this code somewhat by only writing a 512-byte-sector APM map.nwhitehorn2011-05-061-29/+18
| | | | | | All firmwares can read it, we need to write one anyway for old OF versions, and if a 512-byte one is present, OS X ignores the 2048-byte one in favor of it.
* Fix boot on old machines (e.g. blue and white G3s) by synthesizing anwhitehorn2011-05-051-0/+19
| | | | 512-byte sector map instead unused space in the first 2048-byte sector.
* Add support for synthesizing an APM partition map to map Mac PowerPCnwhitehorn2011-05-031-0/+79
| | | | | | bootstrap partitions from the ISO9660 boot catalog. This preserves OS X's ability to mount the CD, while allowing us a way to provide HFS-ified bootstrap code for Open Firmware.
* Really fix the confusion, sorry for noisebapt2011-03-241-2/+2
| | | | | Submitted by: avg Approved by: cognet
* Fix confusion between a-characters and d-charactersbapt2011-03-241-2/+2
| | | | | Submitted by: avg Approved by: cognet
* The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilitiesmckusick2011-01-242-0/+2
| | | | | | | | | | | | | | include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs and the POSIX definitions. This commit replaces sys/time.h where necessary with time.h. The commit also includes some minor style(9) header fixup in newfs. This commit is part of a larger effort by Garrett Cooper started in //depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more POSIX compliant. Submitted by: Garrett Cooper yanegomi at gmail dot com
* Sync with the latest version from NetBSD. It notably addds ISO9660 support.cognet2010-11-0725-383/+6510
| | | | Submitted by: bapt
* Fix typos and spelling mistakes.joel2010-08-061-1/+1
|
* - Merge soft-updates journaling from projects/suj/head into head. Thisjeff2010-04-241-2/+0
| | | | | | | | brings in support for an optional intent log which eliminates the need for background fsck on unclean shutdown. Sponsored by: iXsystems, Yahoo!, and Juniper. With help from: McKusick and Peter Holm
* The NetBSD Foundation has given permission to remove clause 3 and 4imp2010-02-163-21/+0
| | | | | | from their liceense. Obtained from: NetBSD
* Correct copy-paste typo from previous option description.jmallett2010-01-271-1/+1
|
* Fix LLVM compiler errors related to K&R declarations with ANSI prototypes.ed2009-02-261-9/+3
| | | | Submitted by: Pawel Worach <pawel.worach@gmail.com>
* fix pathnames to work w/ buildworldsam2008-12-191-4/+4
|
* fix 64-bit buildsam2008-12-191-1/+1
|
* import netbsd makefs toolsam2008-12-1922-0/+7262
OpenPOWER on IntegriCloud