Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/usr.sbin



Module Name:    othersrc
Committed By:   pooka
Date:           Tue Apr 14 17:37:26 UTC 2009

Modified Files:
        othersrc/usr.sbin: Makefile
Added Files:
        othersrc/usr.sbin/makefs-analyzetree: Makefile ext2fs.c ext2fs.h ffs.c
            ffs.h makefs.c makefs.h walk.c
        othersrc/usr.sbin/makefs-rump: Makefile makefs-rump

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/usr.sbin/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/usr.sbin/makefs-analyzetree/Makefile \
    othersrc/usr.sbin/makefs-analyzetree/ext2fs.c \
    othersrc/usr.sbin/makefs-analyzetree/ext2fs.h \
    othersrc/usr.sbin/makefs-analyzetree/ffs.c \
    othersrc/usr.sbin/makefs-analyzetree/ffs.h \
    othersrc/usr.sbin/makefs-analyzetree/makefs.c \
    othersrc/usr.sbin/makefs-analyzetree/makefs.h \
    othersrc/usr.sbin/makefs-analyzetree/walk.c
cvs rdiff -u -r0 -r1.1 othersrc/usr.sbin/makefs-rump/Makefile \
    othersrc/usr.sbin/makefs-rump/makefs-rump

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index