[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / othersrc / usr.sbin

File: [cvs.NetBSD.org] / othersrc / usr.sbin / Makefile (download)

Revision 1.2, Tue Apr 14 17:37:25 2009 UTC (12 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines

Add an experimental version of makefs based on rump file systems.
This version uses fs-utils (fsu_put) to write out the file system
data.  Creating the file system is handled with the appropriate
newfs command.

Size analysis for ffs and ext2fs is done using a modified version
of the original makefs.  It probably could be replaced by a carefully
crafted shell command, but since makefs readily handled symbolic
links, hard links, block size roundups etc. correctly, I used it
for now.

Currently supported file system: ffs, ext2fs, FAT, cd9660, sysvbfs
(udf would be supported if newfs_udf handled regular files.
puffs/FUSE file systems should be fairly easy to support, but since
we don't have newfs for any of them in base, I didn't bother for
now.  tmpfs would be easy too, but since we don't yet have persistent
tmpfs backing storage, i didn't bother with that either ... and
I'm not quite sure if I should put a ``;)'' there or not)

# 	$NetBSD: Makefile,v 1.2 2009/04/14 17:37:25 pooka Exp $
#

SUBDIR+=	fsu_chown makefs-analyzetree makefs-rump

.include <bsd.subdir.mk>