The NetBSD Project

CVS log for src/sys/lib/libsa/ufs.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / lib / libsa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.88 / (download) - annotate - [select for diffs], Thu Dec 1 18:06:09 2022 UTC (2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.87: +10 -1 lines
Diff to previous 1.87 (colored)

fix clang build

Revision 1.87 / (download) - annotate - [select for diffs], Thu Nov 17 06:40:40 2022 UTC (2 months, 2 weeks ago) by chs
Branch: MAIN
Changes since 1.86: +40 -6 lines
Diff to previous 1.86 (colored)

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).

Revision 1.86 / (download) - annotate - [select for diffs], Fri Apr 29 07:42:07 2022 UTC (9 months ago) by rin
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.85: +3 -9 lines
Diff to previous 1.85 (colored)

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.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Apr 27 14:48:50 2022 UTC (9 months ago) by rin
Branch: MAIN
Changes since 1.84: +8 -2 lines
Diff to previous 1.84 (colored)

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.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Apr 27 11:48:26 2022 UTC (9 months ago) by rin
Branch: MAIN
Changes since 1.83: +3 -9 lines
Diff to previous 1.83 (colored)

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.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Apr 24 06:52:59 2022 UTC (9 months, 1 week ago) by mlelstv
Branch: MAIN
Changes since 1.82: +3 -1 lines
Diff to previous 1.82 (colored)

Don't load filessytem module for filesystem that was found but isn't used
for booting.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Apr 24 06:48:15 2022 UTC (9 months, 1 week ago) by mlelstv
Branch: MAIN
Changes since 1.81: +11 -3 lines
Diff to previous 1.81 (colored)

Ask driver about sector size to support reading superblocks from fixed
byte offsets.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Apr 19 09:25:38 2022 UTC (9 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Typo in comment. avoinds -> avoids

Revision 1.78.4.2 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:34 2021 UTC (19 months, 2 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78.4.1: +106 -19 lines
Diff to previous 1.78.4.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync w/ HEAD.

Revision 1.78.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:21 2021 UTC (20 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.78: +120 -44 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

sync with head

Revision 1.80 / (download) - annotate - [select for diffs], Thu May 27 06:54:44 2021 UTC (20 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.79: +106 -19 lines
Diff to previous 1.79 (colored)

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.

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:32 2021 UTC (20 months, 3 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.78: +20 -31 lines
Diff to previous 1.78 (colored)

Sync with HEAD.

Revision 1.79 / (download) - annotate - [select for diffs], Wed May 12 08:45:28 2021 UTC (20 months, 3 weeks ago) by mrg
Branch: MAIN
Changes since 1.78: +20 -31 lines
Diff to previous 1.78 (colored)

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.

Revision 1.76.12.1 / (download) - annotate - [select for diffs], Sun Jan 3 16:35:04 2021 UTC (2 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.76: +3 -2 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync w/ HEAD.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Dec 19 08:51:03 2020 UTC (2 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored)

Fix previous; define missing lfs_version.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 19 07:19:30 2020 UTC (2 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

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.

Revision 1.74.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:05 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Tue Apr 2 22:25:10 2019 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

fix sign-compare and sign-passing errors.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Mar 31 20:08:45 2019 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored)

fix warnings, printf formats, etc.

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:46 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.58.2.3: +48 -25 lines
Diff to previous 1.58.2.3 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

update from HEAD

Revision 1.65.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:07 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.65: +49 -26 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Tue Sep 1 06:16:58 2015 UTC (7 years, 5 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.73: +6 -2 lines
Diff to previous 1.73 (colored)

Add new accessors for the d_type and d_namlen fields of struct lfs_direct.
Napalm the old byteswap access logic for these.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Sep 1 06:12:04 2015 UTC (7 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

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)

Revision 1.72 / (download) - annotate - [select for diffs], Wed Aug 12 18:28:01 2015 UTC (7 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.71: +4 -1 lines
Diff to previous 1.71 (colored)

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.)

Revision 1.71 / (download) - annotate - [select for diffs], Wed Aug 12 18:25:52 2015 UTC (7 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.70: +7 -4 lines
Diff to previous 1.70 (colored)

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...

Revision 1.70 / (download) - annotate - [select for diffs], Sun Aug 2 18:18:09 2015 UTC (7 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.69: +11 -4 lines
Diff to previous 1.69 (colored)

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.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Jul 28 05:13:14 2015 UTC (7 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.68: +8 -4 lines
Diff to previous 1.68 (colored)

Move struct salfs back inside libsa now that lfs_accessors.h is separate.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jul 28 05:09:34 2015 UTC (7 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.67: +3 -2 lines
Diff to previous 1.67 (colored)

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.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jul 24 06:56:42 2015 UTC (7 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.66: +12 -34 lines
Diff to previous 1.66 (colored)

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.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jul 24 06:53:24 2015 UTC (7 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.65: +42 -19 lines
Diff to previous 1.65 (colored)

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.

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:30 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.58.2.2: +33 -72 lines
Diff to previous 1.58.2.2 (colored) to branchpoint 1.58 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.55.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:04 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.55.2.3: +51 -83 lines
Diff to previous 1.55.2.3 (colored) to branchpoint 1.55 (colored) next main 1.56 (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.63.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:08 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.63: +29 -71 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Thu Mar 20 03:13:18 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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
Branch point for: nick-nhusb
Changes since 1.64: +27 -69 lines
Diff to previous 1.64 (colored)

reduce size by 1K by sharing the ls code.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Oct 20 17:17:30 2013 UTC (9 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

XXX: gcc initializations

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jun 23 07:28:36 2013 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.62: +5 -2 lines
Diff to previous 1.62 (colored)

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

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:23 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.58.2.1: +18 -11 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored)

resync from head

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:05 2013 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jun 19 17:51:26 2013 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
Changes since 1.60: +17 -10 lines
Diff to previous 1.60 (colored)

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.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jun 9 17:57:08 2013 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Stick UFS_ in front of these symbols:
   DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:58 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.58: +13 -13 lines
Diff to previous 1.58 (colored)

resync with head

Revision 1.55.2.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:24 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.55.2.2: +13 -13 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored)

sync with head

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:14 2013 UTC (10 years ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Changes since 1.58: +13 -13 lines
Diff to previous 1.58 (colored)

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.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sun Jun 3 21:42:52 2012 UTC (10 years, 8 months ago) by jdc
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.57: +3 -7 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

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).

Revision 1.55.6.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:36 2012 UTC (10 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.55.6.1: +3 -7 lines
Diff to previous 1.55.6.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync to latest -current.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:13 2012 UTC (10 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.55.2.1: +3 -7 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Mon May 21 21:34:16 2012 UTC (10 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.57: +3 -7 lines
Diff to previous 1.57 (colored)

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).

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:34 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.55: +117 -1 lines
Diff to previous 1.55 (colored)

sync with head

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:35 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.55: +117 -1 lines
Diff to previous 1.55 (colored)

merge to -current.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jan 16 18:44:13 2012 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.56: +2 -31 lines
Diff to previous 1.56 (colored)

PR/45796: Evgeniy Ivanov minixfs3 support.
Split out fn_match since we have 3 copies now.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Dec 25 06:09:08 2011 UTC (11 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.55: +146 -1 lines
Diff to previous 1.55 (colored)

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

Revision 1.54.14.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:23 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jun 16 13:27:58 2011 UTC (11 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored)

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.

Revision 1.53.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:52 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53: +9 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.53.18.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:57 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.53: +9 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:22 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.53: +9 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.53.16.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:18 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.53: +9 -1 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 19 12:36:41 2008 UTC (14 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, haad-nbase2, haad-dm-base2, haad-dm-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: cherry-xenmp
Changes since 1.53: +9 -1 lines
Diff to previous 1.53 (colored)

For the x86 boot loader, autoload a kernel module corresponding to the
root file system type.

Revision 1.50.4.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:59 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.50.4.1: +2 -1 lines
Diff to previous 1.50.4.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.44.4.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:38 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.3: +2 -1 lines
Diff to previous 1.44.4.3 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.49.34.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:46 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.49.34.1: +31 -30 lines
Diff to previous 1.49.34.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

sync with HEAD

Revision 1.52.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:31 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:58 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, 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, mjf-devfs-base, 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-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, haad-dm
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Merge vmlocking2 to head.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Fri Dec 28 18:33:44 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Make it build.

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:58 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.50: +30 -30 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:56 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.2: +30 -30 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored)

sync with head

Revision 1.49.32.3 / (download) - annotate - [select for diffs], Mon Dec 3 16:15:04 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.49.32.2: +2 -2 lines
Diff to previous 1.49.32.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Dec 1 17:44:16 2007 UTC (15 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Use "uint" rather than "unsigned" without a type.

Revision 1.49.32.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:42 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.49.32.1: +29 -29 lines
Diff to previous 1.49.32.1 (colored) to branchpoint 1.49 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Nov 24 13:20:58 2007 UTC (15 years, 2 months ago) by isaki
Branch: MAIN
Changes since 1.50: +29 -29 lines
Diff to previous 1.50 (colored)

style, indent, and ANSI-fy.

Revision 1.49.34.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:57 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.49: +11 -3 lines
Diff to previous 1.49 (colored)

sync with HEAD

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:44 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.1: +11 -3 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored)

sync with head.

Revision 1.49.18.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:35 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.49: +11 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.49.36.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:43:45 2007 UTC (15 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.49: +11 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.49.32.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:09 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.49: +11 -3 lines
Diff to previous 1.49 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Sep 29 21:36:56 2007 UTC (15 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.49: +11 -3 lines
Diff to previous 1.49 (colored)

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.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:53 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync with head

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:23 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44: +19 -18 lines
Diff to previous 1.44 (colored)

sync with head.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:28 2006 UTC (16 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with head.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:42 2006 UTC (16 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:54 2006 UTC (16 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync with head.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Thu May 11 23:31:08 2006 UTC (16 years, 8 months ago) by elad
Branch: elad-kernelauth
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Thu May 11 01:13:44 2006 UTC (16 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-x86pmap-base, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored)

ssize_t -> size_t to match variable and functions.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:36 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jan 25 18:27:23 2006 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

free -> dealloc

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jan 18 02:52:22 2006 UTC (17 years ago) by uwe
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Define indp_t as signed int32_t, like ffsv1.c does.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:46 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 (colored)

merge ktrace-lwp.

Revision 1.35.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:24 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.4: +11 -10 lines
Diff to previous 1.35.2.4 (colored) next main 1.36 (colored)

Sync with HEAD. Here we go again...

Revision 1.45 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:03 2005 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.44: +11 -10 lines
Diff to previous 1.44 (colored)

64 bit inode changes.

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:26 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with -current

Revision 1.43.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:26 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.35.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:42 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.3: +2 -2 lines
Diff to previous 1.35.2.3 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.44 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:57 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

nuke trailing whitespace

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:19 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.2: +1 -1 lines
Diff to previous 1.35.2.2 (colored)

Fix the sync with head I botched.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:02 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.1: +0 -0 lines
Diff to previous 1.35.2.1 (colored)

Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:53:54 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35: +150 -240 lines
Diff to previous 1.35 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 20 14:24:59 2004 UTC (18 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, 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-base, 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-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.42: +4 -1 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Sun Aug 31 22:40:49 2003 UTC (19 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.41: +11 -10 lines
Diff to previous 1.41 (colored)

Fix signed/unsigned warnings.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Aug 27 22:42:08 2003 UTC (19 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

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...)

Revision 1.40 / (download) - annotate - [select for diffs], Fri Aug 22 21:33:52 2003 UTC (19 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.39: +100 -137 lines
Diff to previous 1.39 (colored)

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.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Aug 21 00:01:28 2003 UTC (19 years, 5 months ago) by elric
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored)

Should call ufs_close() if it isn't being built in.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Aug 18 15:45:30 2003 UTC (19 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.37: +35 -55 lines
Diff to previous 1.37 (colored)

make 'path' argument to ufs_open 'const char *' and fix the fallout.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 18 08:00:52 2003 UTC (19 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.36: +20 -55 lines
Diff to previous 1.36 (colored)

KNF, fix a comment or two

Revision 1.36 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:31 2003 UTC (19 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.35: +2 -6 lines
Diff to previous 1.35 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 11 11:24:49 2003 UTC (19 years, 9 months ago) by dsl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.34: +194 -104 lines
Diff to previous 1.34 (colored)

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.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 2 19:47:25 2003 UTC (19 years, 10 months ago) by he
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Conditionalize declaration of local variable ``i'', now that the
code which uses it is also conditionalized.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:34 2003 UTC (19 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.32: +147 -56 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Sun Feb 23 22:47:43 2003 UTC (19 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.31: +3 -9 lines
Diff to previous 1.31 (colored)

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.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:18 2003 UTC (20 years ago) by fvdl
Branch: MAIN
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored)

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.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:37 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.27: +24 -24 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 30 12:19:49 2000 UTC (22 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, 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, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, minoura-xpg4dl-base, minoura-xpg4dl, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.29: +24 -24 lines
Diff to previous 1.29 (colored)

Kill some more register declarations.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:03 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pull up to last week's -current.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:42:07 1999 UTC (23 years, 2 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with -current

Revision 1.29 / (download) - annotate - [select for diffs], Sat Nov 13 21:17:57 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, chs-ubc2-newbase
Changes since 1.28: +11 -0 lines
Diff to previous 1.28 (colored)

Backout my libsa changes.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Nov 11 20:23:17 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +1 -12 lines
Diff to previous 1.27 (colored)

Update for the improvements to libsa, and don't reference libkern.h.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Fri Aug 20 05:02:27 1999 UTC (23 years, 5 months ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

pull up rev 1.26 from trunk (cgd)

Revision 1.27 / (download) - annotate - [select for diffs], Wed Aug 18 21:33:50 1999 UTC (23 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.26: +6 -1 lines
Diff to previous 1.26 (colored)

note that these files should be easily diffable (until they share common code

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 17 02:26:32 1999 UTC (23 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

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).

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 1 05:27:54 1999 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: netbsd-1-4
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

Don't compile in sanity checks for old file systems if
LIBSA_NO_COMPAT_UFS is defined.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 31 07:43:39 1999 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.23: +1 -11 lines
Diff to previous 1.23 (colored)

G/C UFS_NOSYMLINK, UFS_NOCLOSE and UFS_NOWRITE and use new LIBSA_NO_FS_*.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 31 01:50:26 1999 UTC (23 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.22: +62 -16 lines
Diff to previous 1.22 (colored)

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).

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 22 07:59:09 1999 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.21: +19 -9 lines
Diff to previous 1.21 (colored)

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.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Feb 11 09:10:45 1999 UTC (23 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Add missing prototypes.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 1 07:15:39 1998 UTC (24 years, 11 months ago) by ross
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Sweep up some miscellaneous leftover lite2 integration shrapnel.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jun 26 19:11:55 1997 UTC (25 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Changes since 1.18: +11 -1 lines
Diff to previous 1.18 (colored)

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).

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 13 14:32:24 1997 UTC (25 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

Don't #include <string.h>, needed prototypes are in libkern.h.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 17 20:17:58 1997 UTC (26 years ago) by cgd
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

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).

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 30 16:01:22 1996 UTC (26 years, 4 months ago) by ws
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 2 13:28:21 1996 UTC (26 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Fix include file order to confirm to KNF in master tree also.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sun Jun 2 12:08:45 1996 UTC (26 years, 8 months ago) by ragge
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Fix include file order to confirm to KNF.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 13 22:25:44 1996 UTC (27 years ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 20 00:42:21 1995 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.12: +19 -14 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 17 00:49:48 1995 UTC (27 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.11: +11 -10 lines
Diff to previous 1.11 (colored)

Revert fs_ops read/write declarations; these return error numbers.
Get rid of some more compiler warnings.
Set errno where appropriate.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 21 06:33:25 1995 UTC (27 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +6 -1 lines
Diff to previous 1.10 (colored)

Add a generic twiddler.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 7 20:53:31 1995 UTC (28 years, 1 month ago) by ws
Branch: MAIN
Changes since 1.9: +17 -23 lines
Diff to previous 1.9 (colored)

Better fix for the last.
Worked this out together with Darren Reed.
This one fixes several bugs, plus it's closer to the original

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 6 00:22:58 1995 UTC (28 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.8: +34 -26 lines
Diff to previous 1.8 (colored)

Update symbolic-link handling, from Darren Reed.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 26 05:45:09 1994 UTC (28 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored)

new RCS ID format.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Mon Aug 22 21:56:16 1994 UTC (28 years, 5 months ago) by brezak
Branch: netbsd-1-0
Changes since 1.7.2.1: +694 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Cleanup to make more ANSI compliant; checkpoint

Revision 1.7.2.1, Mon Aug 22 21:56:15 1994 UTC (28 years, 5 months ago) by brezak
Branch: netbsd-1-0
Changes since 1.7: +0 -694 lines
FILE REMOVED

file ufs.c was added on branch netbsd-1-0 on 1994-08-22 21:56:16 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 22 21:56:15 1994 UTC (28 years, 5 months ago) by brezak
Branch: MAIN
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Changes since 1.6: +12 -3 lines
Diff to previous 1.6 (colored)

Cleanup to make more ANSI compliant; checkpoint

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Jul 27 08:03:10 1994 UTC (28 years, 6 months ago) by cgd
Changes since 1.3.2.1: +2 -3 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

update from trunk.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 27 07:58:45 1994 UTC (28 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

include libkern.h

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 27 07:37:35 1994 UTC (28 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.4: +1 -3 lines
Diff to previous 1.4 (colored)

get rid of someone else's bravery (stupidity)

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Jul 19 17:11:10 1994 UTC (28 years, 6 months ago) by cgd
Changes since 1.3: +30 -1 lines
Diff to previous 1.3 (colored)

update from trunk, per pk.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 18 13:08:09 1994 UTC (28 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.3: +30 -1 lines
Diff to previous 1.3 (colored)

Include ffs_oldfscompat() from ffs_vfsops.c; enables booting from pre-44
filesystems (on big-endian machines).

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 20 08:39:01 1994 UTC (28 years, 7 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-0-base
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Further adaptions to 4.4-lite header files.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 20 07:50:20 1994 UTC (28 years, 7 months ago) by glass
Branch: MAIN
Changes since 1.1: +2 -7 lines
Diff to previous 1.1 (colored)

make it compile w/4.4-lite header file changes

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 26 02:04:01 1994 UTC (29 years ago) by brezak
Branch: MAIN

CMU/4.4 stand-alone library

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>