Home | History | Annotate | Download | only in libsa
History log of /src/sys/lib/libsa/ufs.c
RevisionDateAuthorComments
 1.88  01-Dec-2022  christos fix clang build
 1.87  17-Nov-2022  chs Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems
from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended
attributes in the process).
 1.86  29-Apr-2022  rin Re-introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is
used instead of secsize obtained by SAIOSECSIZE ioctl.

This hack avoids divdi3 and friends from being linked, in order to
support variable secsize for some archs.

Should be useful for ancient archs, for which secsize is fixed.

Thanks christos@ for comment.
 1.85  27-Apr-2022  rin Revert previous at the moment.

This is wrong reasoning; 68020 and above (incl. 040 and 060) support
32-bit displacements for PC relative addressing (via "fully extension
addressing mode" with null index register).

I've still not figured out what goes wrong with amiga/boot(8) when
compiled without -l option for gas(1)...

On 2022/04/27 20:48, Rin Okuyama wrote:
> Module Name: src
> Committed By: rin
> Date: Wed Apr 27 11:48:26 UTC 2022
>
> Modified Files:
> src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c
>
> Log Message:
> Introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is
> used instead of secsize obtained by SAIOSECSIZE ioctl.
>
> This hack avoids divdi3 and friends from being linked, in order to
> support variable secsize.
>
> This is useful for amiga/boot(8); it is loaded by firmware into
> unpredictable address, and therefore all symbols should be
> addressable by PC relative mode with only 16-bit displacements.
>
> See sys/arch/amiga/stand/bootblock/{boot/bbstart.s,elf2bb,txlt} for
> more details.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.31 -r1.32 src/sys/lib/libsa/ext2fs.c
> cvs rdiff -u -r1.10 -r1.11 src/sys/lib/libsa/minixfs3.c
> cvs rdiff -u -r1.83 -r1.84 src/sys/lib/libsa/stand.h src/sys/lib/libsa/ufs.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
 1.84  27-Apr-2022  rin Introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is
used instead of secsize obtained by SAIOSECSIZE ioctl.

This hack avoids divdi3 and friends from being linked, in order to
support variable secsize.

This is useful for amiga/boot(8); it is loaded by firmware into
unpredictable address, and therefore all symbols should be
addressable by PC relative mode with only 16-bit displacements.

See sys/arch/amiga/stand/bootblock/{boot/bbstart.s,elf2bb,txlt} for
more details.
 1.83  24-Apr-2022  mlelstv Don't load filessytem module for filesystem that was found but isn't used
for booting.
 1.82  24-Apr-2022  mlelstv Ask driver about sector size to support reading superblocks from fixed
byte offsets.
 1.81  19-Apr-2022  skrll Typo in comment. avoinds -> avoids
 1.80  27-May-2021  mrg add bi-endian support to the libsa ufs reader and enable it in efiboot.

ffs frontends to "ufs.c" now also define ufs_dinode_swap, ufs_indp_swap,
and FS_MAGIC (moved from ufs.c #if segments.) these are used to call
the right (32/64 bit) ffsv1/v2 version.

ufs.c 'struct file' gains f_swapped member. accessors for d_magic,
d_reclen, and d_ino are introduced (they need to be swapped.) sfter
reading an inode from disk, read_inode() may call ufs_dinode_swap().
indirect block number and caches may be swapped.

error handling in ffs_find_superblock() is cleaned up. (size is slightly
reduced on some ports with this part.)

defaults for new defines added to ufs.c. (XXX: we build ufs.c but i think
all the consumers don't use it, and we can stop building it.)

LFS support is not included.

add a cut-down copy of ffs_bswap.c from the kernel.

also enable bi-endian disklabel support in efiboot.

most ports build and sizes compared for platforms that don't enable this
code and all but one saw reduced code size. booted several platforms with
new boot code.
 1.79  12-May-2021  mrg push the FFSv1 superblock code into ffs_find_superblock() and
hide all the ugliness in this function, out of ufs_open().

NFC, objects same size if not identical.
 1.78  19-Dec-2020  rin branches: 1.78.4; 1.78.6;
Fix previous; define missing lfs_version.
 1.77  19-Dec-2020  rin ufs_open(): Check fs->lfs_version ifdef LIBSA_*L*FS, not LIBSA_*F*FS.

This was harmless for FFS variants, that define LIBSA_FFSv[12], not LIBSA_FFS.
 1.76  02-Apr-2019  christos branches: 1.76.12;
fix sign-compare and sign-passing errors.
 1.75  31-Mar-2019  christos fix warnings, printf formats, etc.
 1.74  01-Sep-2015  dholland branches: 1.74.18;
Add new accessors for the d_type and d_namlen fields of struct lfs_direct.
Napalm the old byteswap access logic for these.
 1.73  01-Sep-2015  dholland The ifile's inode number is constant. (it is always 1)

Therefore, storing the value in the superblock and reading it out
again is silly and offers the opportunity for it to become corrupted.
So, don't do that (most of the code already didn't) and use the
existing constant instead. Initialize new 32-bit superblocks with
the value for the sake of old userland programs, but don't keep the
value in the 64-bit superblock at all.

(approved by Margo Seltzer)
 1.72  12-Aug-2015  dholland Hack up dinode usage to be 64 vs. 32 as needed. Part 1.

(This part changes the native lfs code; the ufs-derived code already
has 64 vs. 32 logic, but as aspects of it are unsafe, and don't
entirely interoperate cleanly with the lfs 64/32 stuff, pass 2 will be
rehashing that.)
 1.71  12-Aug-2015  dholland Add IFILE32 and IFILE64 structures for the on-disk ifile entries.
Add and use accessors. There are also a bunch of places that cast and
I hope I've found them all...
 1.70  02-Aug-2015  dholland Add a (draft) 64-bit superblock. Make things build again.

Add pieces of support for using both superblock types where
convenient, and specifically to the superblock accessors, but don't
actually enable it anywhere.

First substantive step on PR 50000.
 1.69  28-Jul-2015  dholland Move struct salfs back inside libsa now that lfs_accessors.h is separate.
 1.68  28-Jul-2015  dholland Add a new lfs header file: lfs_accessors.h.

This contains all the accessor functions and macros out of lfs.h.
Add an include of lfs_accessors.h after all uses of lfs.h... except
for code that wants to define its own struct lfs-alike that the
accessors are supposed to play along with. For these, set STRUCT_LFS
and include lfs_accessors.h after the necessary structure has been
defined, so that lfs_accessors.h can emit functions in terms of it.
 1.67  24-Jul-2015  dholland Switch to accessor functions for elements of the LFS on-disk
superblock. This will allow switching between 32/64 bit forms on the
fly; it will also allow handling LFS_EI reasonably tidily. (That
currently doesn't work on the superblock.)

It also gets rid of cpp abuse in the form of fake structure member
macros.

Also, instead of doing sleep/wakeup on &lfs_avail and &lfs_nextseg
inside the on-disk superblock, add extra elements to the in-memory
struct lfs for this. (XXX: these should be changed to condvars, but
not right now)

XXX: this migrates a structure needed by the lfs code in libsa (struct
salfs) into lfs.h, where it doesn't belong, but for the time being
this is necessary in order to allow the accessors (and the various
lfs macros and other goop that relies on them) to compile.
 1.66  24-Jul-2015  dholland Rearrange the structures in the lfs bootbollocks slightly.
This generates the same output (at least on amd64) but will be more
robust until we're ready to deploy lfs64 bootblocks too.

XXX: I don't think these actually work right now, and the logic for
picking between v1 and v2 lfs formats (which is not related to ffsv1
vs. ffsv2) is definitely broken. But I haven't made it any worse.
 1.65  20-Mar-2014  christos branches: 1.65.6;
reduce size by 1K by sharing the ls code.
 1.64  20-Oct-2013  christos XXX: gcc initializations
 1.63  23-Jun-2013  dholland branches: 1.63.2;
Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

lblkno
lblktosize
lfragtosize
numfrags
blkroundup
fragroundup
 1.62  23-Jun-2013  dholland fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
 1.61  19-Jun-2013  dholland Rename ambiguous macros:
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
INOPB -> FFS_INOPB, LFS_INOPB
INOPF -> FFS_INOPF, LFS_INOPF
blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.
 1.60  09-Jun-2013  dholland Stick UFS_ in front of these symbols:
DIRBLKSIZ
DIRECTSIZ
DIRSIZ
OLDDIRFMT
NEWDIRFMT

Part of PR 47909.
 1.59  22-Jan-2013  dholland Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
 1.58  21-May-2012  dsl branches: 1.58.2;
Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).
 1.57  16-Jan-2012  christos branches: 1.57.2;
PR/45796: Evgeniy Ivanov minixfs3 support.
Split out fn_match since we have 3 copies now.
 1.56  25-Dec-2011  tsutsui Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
 1.55  16-Jun-2011  joerg branches: 1.55.2; 1.55.6;
Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and most assembler
call backs that have to preserve at least 3 registers.
 1.54  19-Nov-2008  ad branches: 1.54.14;
For the x86 boot loader, autoload a kernel module corresponding to the
root file system type.
 1.53  02-Jan-2008  ad branches: 1.53.6; 1.53.10; 1.53.16; 1.53.18;
Merge vmlocking2 to head.
 1.52  01-Dec-2007  tsutsui branches: 1.52.2; 1.52.6;
Use "uint" rather than "unsigned" without a type.
 1.51  24-Nov-2007  isaki style, indent, and ANSI-fy.
 1.50  29-Sep-2007  martin branches: 1.50.4;
When compiled with COMPAT_SOLARIS_UFS, always calculate fs_qbmask and
fs_qfmask on the fly. This allows libsa to read newer Solaris ufs
filesystems (which have a slightly incompatible superblock).
Suggested by Antti Kantee when discussing PR kern/37000.
 1.49  11-May-2006  mrg branches: 1.49.18; 1.49.32; 1.49.34; 1.49.36;
ssize_t -> size_t to match variable and functions.
 1.48  25-Jan-2006  christos branches: 1.48.2; 1.48.4; 1.48.6; 1.48.8; 1.48.10;
free -> dealloc
 1.47  18-Jan-2006  uwe Define indp_t as signed int32_t, like ffsv1.c does.
 1.46  11-Dec-2005  christos branches: 1.46.2;
merge ktrace-lwp.
 1.45  19-Aug-2005  christos 64 bit inode changes.
 1.44  26-Feb-2005  perry branches: 1.44.4;
nuke trailing whitespace
 1.43  20-Mar-2004  dsl branches: 1.43.8; 1.43.10;
When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809
 1.42  31-Aug-2003  fvdl Fix signed/unsigned warnings.
 1.41  27-Aug-2003  dsl Use memset not bzero to help shrink alpha bootxx_lfs
(sys/arch/alpha/stand/common/start.S also uses bzero, I don't know
any alpha opcodes so cant change that one...)
 1.40  22-Aug-2003  dsl Reduce memory footprint:
- use file buffer for all block reads
- only save a small amount of the indirect block list
Allows i386 bootxx_ufs code to load /boot from a filesystem with 32k blocks
while still fitting inside 64k of memory.
Code size reduced as well (by ~1k on i386).
It ought to be possible to use a buffer that is smaller than a filesystem
block. This might be needed in order to boot from filesystems with larger
block sizes.
 1.39  21-Aug-2003  elric Should call ufs_close() if it isn't being built in.
 1.38  18-Aug-2003  dsl make 'path' argument to ufs_open 'const char *' and fix the fallout.
 1.37  18-Aug-2003  dsl KNF, fix a comment or two
 1.36  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.35  11-Apr-2003  dsl branches: 1.35.2;
Merge in lfs.c, use defines to build ffsv1, ffsv2, lfsv1 or lfsv2.
(removes the ability to build a single ufs.o that supports ffs v1 and v2,
that animal was too large for some of the boot code.)
Use shifts and masks to avoid pulling in 64bit divide.
 1.34  02-Apr-2003  he Conditionalize declaration of local variable ``i'', now that the
code which uses it is also conditionalized.
 1.33  02-Apr-2003  fvdl 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.
 1.32  23-Feb-2003  simonb Use the MAX() macro from <sys/param.h> instead of a local inline. Results
in same code size in ufs.c and removes an unused inline function in lfs.c.
 1.31  24-Jan-2003  fvdl Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
 1.30  30-Mar-2000  augustss Kill some more register declarations.
 1.29  13-Nov-1999  thorpej Backout my libsa changes.
 1.28  11-Nov-1999  thorpej Update for the improvements to libsa, and don't reference libkern.h.
 1.27  18-Aug-1999  cgd branches: 1.27.2; 1.27.4; 1.27.8;
note that these files should be easily diffable (until they share common code
 1.26  17-Aug-1999  cgd set f_seekp to 0 in ufs_open() before returning. It ended up being 0
in most situations, but not always: if the terminal path name component
being opened couldn't be found in the first fs block of the directory
that contained it, f_seekp would be non-zero (and Bad Things would result).
 1.25  01-Apr-1999  simonb branches: 1.25.2;
Don't compile in sanity checks for old file systems if
LIBSA_NO_COMPAT_UFS is defined.
 1.24  31-Mar-1999  simonb G/C UFS_NOSYMLINK, UFS_NOCLOSE and UFS_NOWRITE and use new LIBSA_NO_FS_*.
 1.23  31-Mar-1999  cgd Make a bunch of backward-compatible changes to the boot blocks which allow
size to be reduced substantially. (backward compatibility verified
by compiling one of the alpha boot blocks which uses all of the code
before and after, diffing the object files, and manually verifying that
the differences were 'correct'. some differences were "unavoidable,"
it wanting to avoid a double-commit, because e.g. local variables which
were previously used were no longer used.) a README which describes
supported options (or at least the ones mentioned below) is forthcoming.

add support for the preprocessor macro LIBSA_NO_TWIDDLE, which
causes calls to twiddle() to be omitted if it's defined.
add support for the preprocessor macros:
LIBSA_NO_FS_CLOSE
LIBSA_NO_FS_WRITE
LIBSA_NO_FS_SEEK
which, if defined, cause the corresponding file system operations
in the individual file system implementations to be omitted. (note
that all of those macros are not supported by all file systems at
this point. comments were added to individual file system files
to indicate lack of support, and should be cleaned up later. Backward
compatibility options e.g. UFS_NOCLOSE, etc., are supported.)
add support for the preprocessor macro LIBSA_NO_FS_SYMLINK, which
removes support for symbolic links from the file system support
functions. (same notes as for the macros above apply.)
add support for the preprocessor macro LIBSA_FS_SINGLECOMPONENT which
removes all subdirectory and symlink support from the file system
support functions. (same notes as for the macros above apply.)
add support for the preprocessor macro LIBSA_NO_FD_CHECKING, which
causes code relating to libsa file descriptor checks (e.g. range
checking and checking that a file descriptor is valid) to be
omitted if it's defined.
add support for the preprocessor macro LIBSA_NO_RAW_ACCESS, which
causes code relating to raw device access to be omitted if it's
defined.
change some structure copies to use bcopy() instead. that way
use of bcopy vs. memcpy() can easily be selected by
LIBSA_USE_MEMCPY. (without changes like these, you could end up
having both bcopy() and memcpy() included. eventually, all
calls to bcopy should be changed to calls to memcpy() or memmove()
as appropriate -- hopefully never the latter -- with an option to
use bcopy instead.)
add support for the preprocessor macro LIBSA_NO_DISKLABEL_MSGS, which
causes disklabel() to return '1' as msg rather than a string. Can
be used if the boot blocks don't care about the string, and need to
save the space.
add support for the preprocessor macro LIBSA_SINGLE_FILESYSTEM, which
if defined causes all of the file system switch code to be removed.
Its value should be the name of the file system supported by the
boot block, e.g. "ufs" for the FFS file system. calls to the
file system functions open, close, etc., which were previously
done through a function switch are then done via direct invocation
of <fs>_open, <fs>_close, etc. (e.g. ufs_open, ...).
add support for the preprocessor macro LIBSA_SINGLE_DEVICE, which
does the equivalent of LIBSA_SINGLE_FILESYSTEM but for the device
switch table. Device entry pointes are expected to be named
<dev>foo, e.g. the 'strategy' routine used when LIBSA_SINGLE_DEVICE
is set to 'disk' is diskstrategy.
make ufs.c f_nindir array be unsigned ints. the fact that it was signed
caused ufs.c to require signed division routines (which were otherwise
unnecessary for a small boot block).
 1.22  22-Feb-1999  simonb Drop support for symlinks of UFS_NOSYMLINK is defined.
Don't compile in ufs_close/ufs_write if UFS_NOCLOSE/UFS_NOWRITE is defined.
Remove trailing whitespace.
 1.21  11-Feb-1999  pk Add missing prototypes.
 1.20  01-Mar-1998  ross Sweep up some miscellaneous leftover lite2 integration shrapnel.
 1.19  26-Jun-1997  drochner Avoid user space headers for standalone programs.
Don't use sys/lib/libkern or sys/lib/libz if not standalone
(ie, user space test programs).
 1.18  13-Jun-1997  drochner Don't #include <string.h>, needed prototypes are in libkern.h.
 1.17  17-Jan-1997  cgd fix file system buffer leak that occurs if an error occurs (e.g. file not
found) during the file system open function after having read some data
from the disk. From Matthias Drochner (PR 3120).
 1.16  30-Sep-1996  ws Add support for booting from cd9660 fs
Support directory traversal and symbolic links for nfs booting
Close device when file opening failed
Plug memory leak in ufs code
 1.15  02-Jun-1996  ragge Fix include file order to confirm to KNF in master tree also.
 1.14  13-Jan-1996  leo branches: 1.14.4;
Some files containing more than one function are split. This reduces the
size of the resulting loader. The read_inode() function now returns the
result of the strategy function instead of success in all cases (ufs.c).
Fixes pr#1817
 1.13  20-Oct-1995  cgd add prototypes for static functions. make ffs_oldfscompat static.
fix some arguments and structure members, in recognition of the fact
that (u_int == u_long == size_t) is not true on all systems.
 1.12  17-Sep-1995  pk Revert fs_ops read/write declarations; these return error numbers.
Get rid of some more compiler warnings.
Set errno where appropriate.
 1.11  21-Feb-1995  mycroft Add a generic twiddler.
 1.10  07-Jan-1995  ws Better fix for the last.
Worked this out together with Darren Reed.
This one fixes several bugs, plus it's closer to the original
 1.9  06-Jan-1995  pk Update symbolic-link handling, from Darren Reed.
 1.8  26-Oct-1994  cgd new RCS ID format.
 1.7  22-Aug-1994  brezak branches: 1.7.2;
Cleanup to make more ANSI compliant; checkpoint
 1.6  27-Jul-1994  cgd include libkern.h
 1.5  27-Jul-1994  cgd get rid of someone else's bravery (stupidity)
 1.4  18-Jul-1994  pk Include ffs_oldfscompat() from ffs_vfsops.c; enables booting from pre-44
filesystems (on big-endian machines).
 1.3  20-Jun-1994  pk branches: 1.3.2;
Further adaptions to 4.4-lite header files.
 1.2  20-Jun-1994  glass make it compile w/4.4-lite header file changes
 1.1  26-Jan-1994  brezak CMU/4.4 stand-alone library
 1.3.2.2  27-Jul-1994  cgd update from trunk.
 1.3.2.1  19-Jul-1994  cgd update from trunk, per pk.
 1.7.2.2  22-Aug-1994  brezak Cleanup to make more ANSI compliant; checkpoint
 1.7.2.1  22-Aug-1994  brezak file ufs.c was added on branch netbsd-1-0 on 1994-08-22 21:56:16 +0000
 1.14.4.1  02-Jun-1996  ragge Fix include file order to confirm to KNF.
 1.25.2.1  20-Aug-1999  cgd pull up rev 1.26 from trunk (cgd)
 1.27.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.27.4.1  15-Nov-1999  fvdl Sync with -current
 1.27.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.35.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.35.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.35.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.35.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.35.2.1  03-Aug-2004  skrll Sync with HEAD
 1.43.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.43.8.1  29-Apr-2005  kent sync with -current
 1.44.4.4  21-Jan-2008  yamt sync with head
 1.44.4.3  07-Dec-2007  yamt sync with head
 1.44.4.2  27-Oct-2007  yamt sync with head.
 1.44.4.1  21-Jun-2006  yamt sync with head.
 1.46.2.1  01-Feb-2006  yamt sync with head.
 1.48.10.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.48.8.1  11-May-2006  elad sync with head
 1.48.6.1  24-May-2006  yamt sync with head.
 1.48.4.1  01-Jun-2006  kardel Sync with head.
 1.48.2.1  09-Sep-2006  rpaulo sync with head
 1.49.36.1  06-Oct-2007  yamt sync with head.
 1.49.34.2  09-Jan-2008  matt sync with HEAD
 1.49.34.1  06-Nov-2007  matt sync with HEAD
 1.49.32.3  03-Dec-2007  joerg Sync with HEAD.
 1.49.32.2  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.49.32.1  02-Oct-2007  joerg Sync with HEAD.
 1.49.18.1  09-Oct-2007  ad Sync with head.
 1.50.4.2  18-Feb-2008  mjf Sync with HEAD.
 1.50.4.1  08-Dec-2007  mjf Sync with HEAD.
 1.52.6.1  02-Jan-2008  bouyer Sync with HEAD
 1.52.2.1  28-Dec-2007  ad Make it build.
 1.53.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.53.16.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.53.10.1  04-May-2009  yamt sync with head.
 1.53.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.54.14.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.55.6.2  02-Jun-2012  mrg sync to latest -current.
 1.55.6.1  18-Feb-2012  mrg merge to -current.
 1.55.2.4  22-May-2014  yamt 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")
 1.55.2.3  23-Jan-2013  yamt sync with head
 1.55.2.2  23-May-2012  yamt sync with head.
 1.55.2.1  17-Apr-2012  yamt sync with head
 1.57.2.1  03-Jun-2012  jdc Pull up revisions:
src/sys/arch/i386/stand/lib/exec.c revision 1.50
src/sys/arch/sandpoint/stand/altboot/main.c revision 1.21 via patch
src/sys/lib/libsa/ext2fs.c revision 1.13
src/sys/lib/libsa/ffsv1.c revision 1.6
src/sys/lib/libsa/ffsv2.c revision 1.6
src/sys/lib/libsa/globals.c revision 1.9
src/sys/lib/libsa/lfsv1.c revision 1.5
src/sys/lib/libsa/lfsv2.c revision 1.5
src/sys/lib/libsa/stand.h revision 1.76
src/sys/lib/libsa/ufs.c revision 1.58
(requested by dsl in ticket #279).

Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).
 1.58.2.4  03-Dec-2017  jdolecek update from HEAD
 1.58.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.58.2.2  23-Jun-2013  tls resync from head
 1.58.2.1  25-Feb-2013  tls resync with head
 1.63.2.1  18-May-2014  rmind sync with head
 1.65.6.1  22-Sep-2015  skrll Sync with HEAD
 1.74.18.1  10-Jun-2019  christos Sync with HEAD
 1.76.12.1  03-Jan-2021  thorpej Sync w/ HEAD.
 1.78.6.1  31-May-2021  cjep sync with head
 1.78.4.2  17-Jun-2021  thorpej Sync w/ HEAD.
 1.78.4.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed