Source-Changes archive

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

CVS commit: basesrc/sbin/newfs



Module Name:    basesrc
Committed By:   simonb
Date:           Mon Jan  7 12:00:10 UTC 2002

Modified Files:
        basesrc/sbin/newfs: extern.h mkfs.c mount_mfs.8 newfs.c

Log Message:
Add the ability for the user, group and permissions of an MFS to be set
on the command line with the -u, -g and -p options respectively.
The old malloc() replacement (and related functions) didn't work with
the libc get{pw,gr}nam() functions so it was removed and a separate
memory allocation function added that is only called to allocate the
space for the MFS file system.
Also use a table for the usage flags instead of multiple fprintf()'s
with "if (mfs)" checks sprinkled through.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/sbin/newfs/extern.h
cvs rdiff -r1.59 -r1.60 basesrc/sbin/newfs/mkfs.c
cvs rdiff -r1.1 -r1.2 basesrc/sbin/newfs/mount_mfs.8
cvs rdiff -r1.53 -r1.54 basesrc/sbin/newfs/newfs.c

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