The NetBSD Project

CVS log for src/usr.sbin/makefs/makefs.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / makefs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55 / (download) - annotate - [select for diffs], Sat Apr 9 10:05:35 2022 UTC (9 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.54: +6 -6 lines
Diff to previous 1.54 (colored)

makefs(8): Nix trailing whitespace.

Computed by machine, eyeballed by hand, so to speak.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Apr 3 14:10:56 2021 UTC (21 months, 4 weeks ago) by simonb
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.53: +11 -5 lines
Diff to previous 1.53 (colored)

Add a -L option to follow all symbolic links.  Useful if you have symlinks
in a makefs directory tree but want to refer to the actual file.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Nov 27 15:10:32 2015 UTC (7 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Don't pass garbage to parsedate, but do use the return value.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Nov 25 16:32:20 2015 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Sort options in usage to match man page order.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Nov 25 00:48:49 2015 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.50: +51 -7 lines
Diff to previous 1.50 (colored)

Provide a -T option to set timestamps to a consistent value for MKREPRO

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:09 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.35.2.1: +3 -2 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:43:05 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.30.2.3: +123 -28 lines
Diff to previous 1.30.2.3 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.50 / (download) - annotate - [select for diffs], Mon Aug 5 14:41:57 2013 UTC (9 years, 5 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored)

Implement `makefs -t udf'.

Formatting options may be enhanced to make it more in line with newfs_udf on
say labeling.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:44 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.35: +122 -28 lines
Diff to previous 1.35 (colored)

resync with head

Revision 1.49 / (download) - annotate - [select for diffs], Sun Feb 3 06:16:53 2013 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.48: +10 -6 lines
Diff to previous 1.48 (colored)

add a replace flag so we can overlay exiting files when we merge directories.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Feb 2 20:42:02 2013 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.47: +10 -5 lines
Diff to previous 1.47 (colored)

add and document offset.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Feb 1 14:02:17 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored)

remove bogus err.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Feb 1 14:00:33 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.45: +9 -10 lines
Diff to previous 1.45 (colored)

while it is studly to play with token pasting, passing directly the type
is a lot more readable.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jan 30 02:53:54 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

use "val" not "var"

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jan 29 15:52:25 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.43: +11 -6 lines
Diff to previous 1.43 (colored)

make everything use the generic options parser.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jan 29 14:09:48 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.42: +15 -14 lines
Diff to previous 1.42 (colored)

Allow options without values meaning the empty string for string options
and = 1 to numerics.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 29 01:06:15 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.41: +5 -3 lines
Diff to previous 1.41 (colored)

deal with options that don't have a single letter argument.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jan 28 21:03:27 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.40: +32 -13 lines
Diff to previous 1.40 (colored)

- use emalloc and friends
- kill a bunch of global variables, more work to be done here
- homogenize option parsing. more work for cd9660
- use the new options parsing code to print an fs-specific usage

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 27 14:07:12 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.39: +6 -5 lines
Diff to previous 1.39 (colored)

fix single letter parsing.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 24 01:10:47 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

- Fix single letter option parsing.
- Instead of returning 1 << index and 0 on error,
  return just index and -1 on error for the set_option*() routines.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jan 23 21:42:22 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

return the bit of the option set, so that others can act on it.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 23 21:32:32 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.36: +27 -3 lines
Diff to previous 1.36 (colored)

remove duplicated code, and try to cleanup parsing by using the shared code.
cd9660 needs a lot of work.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 23 20:46:39 2013 UTC (10 years ago) by christos
Branch: MAIN
Changes since 1.35: +49 -14 lines
Diff to previous 1.35 (colored)

- add support for parsing different types; not just int.
- add beginning of msdos support.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 19:00:37 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.30.2.2: +8 -4 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 22 06:15:18 2012 UTC (10 years, 7 months ago) by sjg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.34: +8 -4 lines
Diff to previous 1.34 (colored)

Add -Z to enable sparse files - for ffs at least.
Based on a patch from shesha at juniper.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:28 2012 UTC (10 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.30.2.1: +6 -5 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Apr 29 13:32:21 2012 UTC (10 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.33: +3 -4 lines
Diff to previous 1.33 (colored)

usage is dead. name_len should be read as unsigned byte.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 19 17:09:53 2012 UTC (10 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

- fix compilation isses
- add some error checking
- avoid alloca
- add missing frees

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 19 15:36:06 2012 UTC (10 years, 9 months ago) by ttoth
Branch: MAIN
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored)

added chfs support for makefs

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:49 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.30: +19 -7 lines
Diff to previous 1.30 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jan 28 02:35:46 2012 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.30: +19 -7 lines
Diff to previous 1.30 (colored)

Patch from Jung-uk Kim (jkim at FreeBSD dot org) to allow contents of multiple
directories to be merged to the current image.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 15 14:45:01 2011 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

Re-order `usage' alphabetically;
rename option arguments in the manpage's `SYNOPSIS' section to
match those from `usage' (not the other way around; the `usage'-line
(and other parts of makefs.c) contain the correct names);
minor punctuation improvements.

From Snader_LB.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 18 22:52:37 2011 UTC (11 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (colored)

Re-enable v7fs support in the tools version of "makefs" after the
issues have been fixed by Alan Barrett. Tested under Mac OS X.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 18 17:15:52 2011 UTC (11 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

Don't include v7fs support into tool version of "makefs" because it
breaks the build.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 18 08:58:38 2011 UTC (11 years, 6 months ago) by uch
Branch: MAIN
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored)

v7fs(7th edition(V7) file system) support.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 22 21:11:56 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

use c99 initializers

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 10 01:55:45 2006 UTC (16 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

implement -x by pruning fsnodes tree before building filesystem rather
than by skipping nodes while building filesystem

Revision 1.24 / (download) - annotate - [select for diffs], Tue Oct 10 01:46:49 2006 UTC (16 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

add implementation of free_fsnodes() which unlinks a node
from the hierarchy and frees it and any of its children
use it to free memory before a normal exit, which helps diagnostics

Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 10 01:32:42 2006 UTC (16 years, 3 months ago) by dbj
Branch: MAIN
Changes since 1.22: +3 -4 lines
Diff to previous 1.22 (colored)

use strtoll instead of strsuftoll to parse -d so it can be specified
in hex with a 0x prefix

Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 13 01:53:01 2005 UTC (17 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.21: +5 -2 lines
Diff to previous 1.21 (colored)

cd9660 support. Written by Daniel Watt, Walter Deignan, Ryan Gabrys,
Alan Perez-Rathke and Ram Vedam.

Prototyping, KNF, WARNS=3 by me.

Note that this is marked experimental for now. It works well enough to
make NetBSD/i386 bootable images, but does need more work.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 20 20:51:42 2004 UTC (18 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.20: +13 -14 lines
Diff to previous 1.20 (colored)

Refactor the filesystem specific portions out of makefs.c/makefs.h completely.
Instead of extending fsinfo_t it now holds a void * to file system specific
data. This is then setup/cleaned up by the additional of 2 additional
callbacks. Makes adding new filesystems simpler as almost no code has
to be updated in the generic makefs code now.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Jun 22 07:25:39 2004 UTC (18 years, 7 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.19: +7 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Pull up revision 1.20 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 20 22:20:18 2004 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.19: +7 -3 lines
Diff to previous 1.19 (colored)

Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 5 23:23:38 2004 UTC (19 years ago) by jmmv
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:48 2003 UTC (19 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.17: +3 -7 lines
Diff to previous 1.17 (colored)

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 30 00:05:07 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.16: +6 -8 lines
Diff to previous 1.16 (colored)

Tweak Jason's -x support to pass its state around as part of fsinf_t,
just like all the other "global" options.
Update the usage for -x.
Crank date on man page.

(Thanks to Jason for adding -x; I've been meaning to add that
functionality for a while :-)

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 29 00:12:12 2003 UTC (19 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +12 -3 lines
Diff to previous 1.15 (colored)

Add a -x option which causes makefs(8) to exclude any file system node
not explicitly listed in the specfile.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 10 10:02:58 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored)

support 1234 and 4321 as valid byte-order arguments for -B

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 29 13:06:33 2002 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.13: +12 -13 lines
Diff to previous 1.13 (colored)

convert from strsuftoull() (from ../../bin/dd) to strsuftoll(3) in libc

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jan 31 22:44:02 2002 UTC (21 years ago) by tv
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.12: +6 -10 lines
Diff to previous 1.12 (colored)

Roll in fixes to permit cross-compiling from non-NetBSD hosts.  This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jan 26 13:22:16 2002 UTC (21 years ago) by lukem
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

- crank default cpg from 16 to 65536, and let the auto-sizing code in
  mkfs() do its job
- pass cpgflg=1 to mkfs() if the user provided cpg, =0 otherwise
- improve error reporting in ffs_write_file()
- only add superblock & block map slop for one cylinder group.
  trying to calculate the number of required cylinder groups caused
  too many problems when tweaking parameters for small file systems.
  rely upon slop from minfree, and upon ffs_write_file() to complain
  if the user is too aggressive about tweaking the parameters

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 24 03:21:07 2002 UTC (21 years ago) by lukem
Branch: MAIN
Changes since 1.10: +13 -5 lines
Diff to previous 1.10 (colored)

Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines from ../mtree/getid.c

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 22 13:03:57 2002 UTC (21 years ago) by is
Branch: MAIN
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored)

add config.h when compiled as host tool.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 18 08:39:24 2002 UTC (21 years ago) by lukem
Branch: MAIN
Changes since 1.8: +21 -2 lines
Diff to previous 1.8 (colored)

use -1 instead of 0 as the value to indicate if a numeric parameter
hasn't been set and thus needs a default override.
allows minfree and rotdelay to take a value of 0.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 10 05:31:07 2002 UTC (21 years ago) by lukem
Branch: MAIN
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

setprogname(argv[0])

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 5 11:08:53 2001 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

rework `fsnode' into two components; `fsnode' contains the name and tree
information and a link to the appropriate fsinode, and `fsinode' contains
the inode information and a reference count. multiple fsnodes may point
to the same fsinode.  this replaces the 'dup' pointer in the previous code.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 25 11:22:09 2001 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.5: +25 -77 lines
Diff to previous 1.5 (colored)

- Use strsuftoull() from dd(1) to parse numbers, rather than home grown
  version. The new version supports products, 'g' (GB) and 't' (TB)
  suffices, and `b' now means `blocks' instead of `bytes'.
  Functionality requested by perry.
- debug is now a u_int instead of an int.
- Ensure that various numbers have sane upper limits (e.g, 99 for %, etc)

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 8 12:24:12 2001 UTC (21 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Include <limits.h> to get LLONG_{MIN,MAX}.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 2 03:12:48 2001 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

tweak copyright

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 29 07:30:08 2001 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

cast time_t values to long if printing as %ld to appease the sparc64 port

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 28 13:14:05 2001 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.1: +6 -1 lines
Diff to previous 1.1 (colored)

add __RCSID()

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Oct 26 06:59:02 2001 UTC (21 years, 3 months ago) by lukem
Branch: WASABI
CVS Tags: makefs-20011026
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

makefs - create a file system image from a directory tree.
It doesn't need any special privileges or kernel devices.

Only ffs image creation is supported at this time, although makefs has been
designed to allow the addition of other file system formats by writing new
back-ends.

This program was designed & implemented by Luke Mewburn of Wasabi Systems.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 26 06:59:02 2001 UTC (21 years, 3 months ago) by lukem
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>