
Instead of copulating with newfs to produce a new FFS image into memory, mmap() a given existing image and pass that as the backing store. If -s is given, mmap is done with MAP_SHARED and changes are kept across mounts, else MAP_COPY (i.e. MAP_PRIVATE for us) is done and changes are lost when the server exits. Note: -s does not guarantee any kind of file system safety whatsoever and in case of kill, crash, exit or other form of elusion, everything will be, according to our theme, quite screwed.
13 lines
228 B
Makefile
13 lines
228 B
Makefile
# $NetBSD: Makefile,v 1.1 2010/03/08 12:46:33 pooka Exp $
|
|
#
|
|
|
|
PROG= rump_nqmfs
|
|
|
|
LDADD+= -lrumpfs_mfs -lrumpfs_ffs
|
|
|
|
ISRUMP= # affirmative
|
|
NOMAN= # si, signor
|
|
RUMP_DISKFS= # well, uh, yea, but there's ffs
|
|
|
|
.include <bsd.prog.mk>
|