]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
15 years agoanother nbtool turd
Sam Leffler [Thu, 18 Dec 2008 05:54:54 +0000 (05:54 +0000)]
another nbtool turd

15 years agofix stuff i broke
Sam Leffler [Thu, 18 Dec 2008 05:41:51 +0000 (05:41 +0000)]
fix stuff i broke

15 years agoIf the filesystem size rounded up to a multiple of the block size
Sam Leffler [Thu, 18 Dec 2008 04:38:47 +0000 (04:38 +0000)]
If the filesystem size rounded up to a multiple of the block size
is larger than what a user specified then round down to get something
that works but wastes a little space.

This happens reliably for me when building filesystems for CF parts
>1G; not sure why noone else is complaining.

15 years agounbreak cg_chkmagic_swap
Sam Leffler [Thu, 18 Dec 2008 04:36:44 +0000 (04:36 +0000)]
unbreak cg_chkmagic_swap

15 years agoApply the big hammer:
Sam Leffler [Thu, 18 Dec 2008 00:54:15 +0000 (00:54 +0000)]
Apply the big hammer:
o remove all of compat except for pwcache and strstuftoll; these might
  end up in libutil or similar so keep them in the subdir
o mv getid.c up to the top level; this looks like something that'll be
  makefs-specific
o eliminate private versions of .h files in sys; use system files instead
o eliminate private ffs_tables.c; use the system version directly (might
  want to adopt const'ification at some point but that's the only diff I
  can see)
o mv remaining code from sys to ffs and strip out unused bits; this now
  becomes part of makefs
o add compat defs and shims to makefs.h
o strip all vestiges of nbtool_config.h, compat_defs.h, etc.
o fixup includes after file shuffling
o rename system #defines that do implicit byte swapping to have an _swap
  suffix; e.g. DIRSIZ -> DIRSIZ_SWAP, cg_inosused -> cg_inosused_swap; if
  we ever add endian-agnostic support to the kernel these can go back to
  their original names
o strip some netbsd'isms that aren't worth shim'ing (e.g. _DIAGASSERT)

Code compiles w/o complaints but is untested.

15 years agogone
Sam Leffler [Wed, 17 Dec 2008 22:07:44 +0000 (22:07 +0000)]
gone

15 years agofparseln is in libutil
Sam Leffler [Wed, 17 Dec 2008 22:03:31 +0000 (22:03 +0000)]
fparseln is in libutil

15 years agogetmode+setmode are in libc, remove
Sam Leffler [Wed, 17 Dec 2008 21:55:51 +0000 (21:55 +0000)]
getmode+setmode are in libc, remove

15 years agoFirst step toward proper mtree integration:
Sam Leffler [Wed, 17 Dec 2008 21:54:08 +0000 (21:54 +0000)]
First step toward proper mtree integration:
o use mtree code directly from ../mtree; s/spec(fp)/mtree_readspec(fp)/
  (assume this will eventually go in usr.sbin)
o nuke st_rdev use; there's no reason to create filesystems with device nodes
o shim missing compat bits for inotype and nodetoino
o remove now unneeded compat/mtree bits, pack_dev.?, and stat_flags.?
o temporarily move getid.c code up to compat to keep this building

15 years agosplit stanzas in preparation for better integration
Sam Leffler [Wed, 17 Dec 2008 19:19:14 +0000 (19:19 +0000)]
split stanzas in preparation for better integration

15 years agoThis directory is now empty
Warner Losh [Mon, 24 Nov 2008 21:10:08 +0000 (21:10 +0000)]
This directory is now empty

15 years agoThis isn't needed...
Warner Losh [Mon, 24 Nov 2008 21:08:43 +0000 (21:08 +0000)]
This isn't needed...

15 years agoRemove the dump_node and vispath routines from compat/mtree/spec.c.
Warner Losh [Mon, 24 Nov 2008 20:59:29 +0000 (20:59 +0000)]
Remove the dump_node and vispath routines from compat/mtree/spec.c.
They aren't needed, and were the only users of the compat/vis.[ch]
files.  As such, remove them from the Makefile.

15 years agoprepare makefs for import to base
Sam Leffler [Sun, 23 Nov 2008 19:59:42 +0000 (19:59 +0000)]
prepare makefs for import to base