The NetBSD Project

CVS log for src/sbin/tunefs/tunefs.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 7 19:41:30 2023 UTC (2 months, 2 weeks ago) by chs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.57: +7 -5 lines
Diff to previous 1.57 (colored)

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:

  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000

    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.

    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.

    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000

    One last pass to get all the unsigned comparisons correct.


In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Tue Dec 20 09:50:39 2022 UTC (3 months ago) by martin
Branch: netbsd-10
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Pull up following revision(s) (requested by chs in ticket #10):

	sbin/tunefs/tunefs.c: revision 1.57

tunefs: clarify that "-a" refers to NFSv4 ACLs

Revision 1.57 / (download) - annotate - [select for diffs], Mon Dec 19 21:13:16 2022 UTC (3 months ago) by chs
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

tunefs: clarify that "-a" refers to NFSv4 ACLs

Revision 1.56 / (download) - annotate - [select for diffs], Thu Nov 17 06:40:39 2022 UTC (4 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.55: +15 -4 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Sat Sep 18 03:05:20 2021 UTC (18 months ago) by christos
Branch: MAIN
Changes since 1.54: +9 -9 lines
Diff to previous 1.54 (colored)

Change the default for ACLs to be posix1e instead of nfsv4 to match FreeBSD.
Requested by chuq.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Nov 26 02:06:01 2020 UTC (2 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

Add missing newlines to ACL prints in tunefs; from Jan Schaumann in PR 55824.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Aug 8 11:44:55 2020 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.52: +33 -3 lines
Diff to previous 1.52 (colored)

Find the if a device points to an active filesystem by looking at the mount
list.

Revision 1.52 / (download) - annotate - [select for diffs], Sat May 16 18:31:47 2020 UTC (2 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.51: +87 -8 lines
Diff to previous 1.51 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.49.16.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:23 2020 UTC (2 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.49.16.1: +19 -3 lines
Diff to previous 1.49.16.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.51 / (download) - annotate - [select for diffs], Thu Apr 9 14:44:38 2020 UTC (2 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411
Changes since 1.50: +19 -3 lines
Diff to previous 1.50 (colored)

Refresh the superblock in memory if changing a mounted partition.

Revision 1.49.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:36 2019 UTC (3 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Fri Apr 12 01:14:37 2019 UTC (3 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: 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, is-mlppp-base, is-mlppp
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Add missing space in "quotas disabled" output from tunefs -N

Revision 1.49 / (download) - annotate - [select for diffs], Wed Aug 26 05:41:20 2015 UTC (7 years, 6 months ago) by mlelstv
Branch: MAIN
CVS Tags: 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, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.48: +16 -17 lines
Diff to previous 1.48 (colored)

Use getfsspecname also when not found in /etc/fstab.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:28 2014 UTC (8 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.45: +53 -14 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:09 2014 UTC (8 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.46: +8 -9 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Rebase.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Aug 9 10:33:46 2014 UTC (8 years, 7 months ago) by mlelstv
Branch: MAIN
CVS Tags: tls-maxphys-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
Changes since 1.47: +45 -5 lines
Diff to previous 1.47 (colored)

add -S option to adjust the superblock for different sector sizes. While
the kernel ignores this information, userland tools rely on it.

This is needed when moving images between devices of different sector size.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:37:32 2014 UTC (8 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44.2.1: +10 -11 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (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.47 / (download) - annotate - [select for diffs], Sat Apr 26 13:23:49 2014 UTC (8 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base
Changes since 1.46: +8 -9 lines
Diff to previous 1.46 (colored)

Provide proper alignement for "buf" - it is casted to a struct fs pointer,
so it requires the same alignement.
Fixes crashes on armv5.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:05 2013 UTC (9 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: tls-earlyentropy
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (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.44.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:43 2012 UTC (10 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.44: +10 -6 lines
Diff to previous 1.44 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Sat Apr 7 04:52:21 2012 UTC (10 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.44: +10 -6 lines
Diff to previous 1.44 (colored)

use getfsspecname()

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 29 14:35:04 2011 UTC (11 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Use __dead

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:17 2011 UTC (12 years ago) by bouyer
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.42: +81 -4 lines
Diff to previous 1.42 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Thu Jan 20 14:24:55 2011 UTC (12 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.42: +81 -4 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
  as parameter a path to a mount point, and a prop_dictionary
  (in plistref format) describing commands and arguments.
  For each command, status and data are returned as a prop_dictionary.
  quota commands features will be added to take advantage of this,
  exporting quota data or getting quota commands as plists.

- new on disk-format storage (all 64bit wide), integrated to metadata for
  ffs (and playing nicely with wapbl).
  Quotas are enabled on a ffs filesystem via superblock flags.
  tunefs(8) can enable or disable quotas.
  On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
  block and inode usages, and will check and update quotas in Pass 6.
  quota usage and limits are stored in unliked files (one for users,
  one for groups)l fsck_ffs(8) will create the files if needed, or
  free them if needed. This means that after enabling or disabling
  quotas on a filesystem; a fsck_ffs(8) run is required.
  quotacheck(8) is not needed any more, on a unclean shutdown
  fsck or journal replay will take care of fixing quotas.
  newfs(8) can create a ready-to-mount quota-enabled filesystem
  (superblock flags are set and quota inodes are created).
  Other new features or semantic changes:
  - default quota datas, applied to users or groups which don't already
    have a quota entry
  - per-user/group grace time (instead of a filesystem global one)
  - 0 really means "nothing allowed at all", not "no limit".
    If you want "no limit", set the limit to UQUAD_MAX (tools will
    understand "unlimited" and "-")

  A quota file is structured as follow:
  it starts with a header, containing a few per-filesystem values,
  and the default quota limits.
  Quota entries are linked together as a simple list, each entry has a
  pointer (as an offset withing the file) to the next.
  The header has a pointer to a list of free quota entries, and
  a hash table of in-use entries. The size of the hash table depends
  on the filesystem block size (header+hash table should fit in the
  first block). The file is not sparse and is a multiple of
  filesystem block size (when the free quota entry list is empty a new
  filesystem block is allocated). quota entries to not cross
  filesystem block boundaries.

  In memory, the kernel keeps a cache of recently used quota entries
  as a reference to the block number, and offset withing the block.
  The quota entry itself is keept in the buf cache.

fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).

Todo: enforce quotas limits (limits are not checked by kernel yet)
      update repquota, edquota and rpc.rquotad to the new world
      implement compat_50_quotactl ioctl.
      update quotactl(2) man page

fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:26:35 2010 UTC (12 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.37: +12 -12 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync to netbsd-5

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Sat Oct 3 22:49:42 2009 UTC (13 years, 5 months ago) by snj
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.37.2.1: +11 -11 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1036):
	sbin/fsck_ffs/extern.h: revision 1.25 via patch
	sbin/fsck_ffs/setup.c: revision 1.88 via patch
	sbin/fsck_ffs/wapbl.c: revision 1.4 via patch
	sbin/tunefs/tunefs.c: revision 1.41 via patch
	sys/ufs/ffs/ffs_vfsops.c: revision 1.252 via patch
	sys/ufs/ffs/ffs_wapbl.c: revision 1.13 via patch
Allow tunefs to clear any type of WAPBL log, not only in-filesystem
ones. Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.
--
Do some basic checks of the WAPBL journal, to abort the boot before the
kernel refuse to mount a filesystem read-write (booting a system
multiuser with critical filesystems read-only is bad):
Add a check_wapbl() which will check some WAPBL values in the superblock,
and try to read the journal via wapbl_replay_start() if there is one.
pfatal() if one of these fail (abort boot if in preen mode,
as "CONTINUE" otherwise). In non-preen mode the bogus journal will
be cleared.
check_wapbl() is always called if the superblock supports WAPBL.
Even if FS_DOWAPBL is not there, there could be flags asking the
kernel to clear or create a log with bogus values which would cause the
kernel refuse to mount the filesystem.
Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.
--
If the WAPBL journal can't be read (ffs_wapbl_replay_start() fails),
mount the filesystem anyway if MNT_FORCE is present.
This allows to still boot single-user a system with a corrupted
WAPBL on /, and so get a chance to run fsck to fix it.
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 13 18:30:30 2009 UTC (13 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Restore change from 1.39 after previous commit.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 13 14:13:23 2009 UTC (13 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.40: +11 -11 lines
Diff to previous 1.40 (colored)

Allow tunefs to clear any type of WAPBL log, not only in-filesystem
ones. Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Tue Aug 25 18:36:08 2009 UTC (13 years, 7 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Pull up following revision(s) (requested by bouyer in ticket #917):
	sbin/tunefs/tunefs.c: revision 1.40
fix pasto: UFS_WAPBL_FLAGS_CREATE_LOG is "create-log" not "clear-log"

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue Aug 25 18:32:33 2009 UTC (13 years, 7 months ago) by snj
Branch: netbsd-5
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Pull up following revision(s) (requested by bouyer in ticket #917):
	sbin/tunefs/tunefs.c: revision 1.40
fix pasto: UFS_WAPBL_FLAGS_CREATE_LOG is "create-log" not "clear-log"

Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 17 21:28:24 2009 UTC (13 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

fix pasto: UFS_WAPBL_FLAGS_CREATE_LOG is "create-log" not "clear-log"

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:07 2009 UTC (13 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.37: +4 -43 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 7 12:25:19 2009 UTC (13 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

fix sign-compare issue

Revision 1.38 / (download) - annotate - [select for diffs], Sun Feb 22 20:28:05 2009 UTC (14 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.37: +3 -42 lines
Diff to previous 1.37 (colored)

PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.

Revision 1.33.26.1 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:15 2008 UTC (14 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.33: +162 -40 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.33.30.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:30 2008 UTC (14 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.33: +160 -38 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 31 15:55:41 2008 UTC (14 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: netbsd-5-0, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.36: +20 -25 lines
Diff to previous 1.36 (colored)

Just use printf(...) instead of fprintf(stdout, ...).

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 31 15:50:29 2008 UTC (14 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.35: +16 -5 lines
Diff to previous 1.35 (colored)

Pretty-print the journal log size with humanize_number(3).

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 31 05:38:04 2008 UTC (14 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.34: +141 -25 lines
Diff to previous 1.34 (colored)

Merge the simonb-wapbl branch.  From the original branch commit:

   Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Mon Jul 28 15:54:27 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.34.2.2: +4 -3 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Fix a printf(3) format.

Noticed by martin@.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Mon Jul 28 12:40:06 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.34.2.1: +527 -0 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored)

Add support for creating a WAPBL log in the filesystem.  Will
create an in-filesystem log on first "mount -o log" if one doesn't
exist, and will then continue to use same log in the future.  See
(soon to be added) wapbl(4) for more info.

Adds a new B_CONTIG low-level allocation flag that uses hints in
"struct ffs_inode_ext" to lay out an ffs file's data contiguously.

Thanks to Greg Oster for helping with the design of this and to
Antti Kantee for code review and suggestions.

Revision 1.34.2.1, Sun Jul 20 01:20:23 2008 UTC (14 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.34: +0 -412 lines
FILE REMOVED

file tunefs.c was added on branch simonb-wapbl on 2008-07-28 12:40:06 +0000

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 20 01:20:23 2008 UTC (14 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: simonb-wapbl
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 19 20:46:16 2005 UTC (18 years, 2 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, 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, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-revivesa, mjf-devfs2
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored)

Remove main() prototype.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 25 14:35:29 2004 UTC (18 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.31: +2 -5 lines
Diff to previous 1.31 (colored)

Remove removed options from usage. From Kouichirou Hiratsuka in PR 25874.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Mar 27 13:05:07 2004 UTC (19 years ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-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
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

don'e require FS_FLAGS_UPDATED be set for ffsv2

Revision 1.30 / (download) - annotate - [select for diffs], Sun Mar 21 20:38:08 2004 UTC (19 years ago) by dsl
Branch: MAIN
Changes since 1.29: +15 -10 lines
Diff to previous 1.29 (colored)

When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 5 23:23:34 2004 UTC (19 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

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

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:41 2003 UTC (19 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.27: +3 -7 lines
Diff to previous 1.27 (colored)

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

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

Revision 1.27 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:32 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.26: +35 -42 lines
Diff to previous 1.26 (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.20.2.3 / (download) - annotate - [select for diffs], Sun Nov 25 19:58:19 2001 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.20.2.2: +27 -4 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up revision 1.24 (requested by lukem):
  Pull in enhanced ffs_dirpref() algorithm, which provides a
  substantial performance improvement through better locality
  between parent/child directories and their files, and by easing
  the pressure on the buffer cache for metadata operations.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Sun Nov 25 19:39:32 2001 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-5
Changes since 1.20.2.1: +206 -192 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored)

Pull up revisions 1.22-1.23 (requested by lukem):
  Add ``-F'' option, and rename ``-t'' option to ``-k''.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Sun Nov 25 19:28:31 2001 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-5
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Pull up revision 1.21 (requested by lukem):
  Call ffs_sb_swap() with the correct arguments.  Fixes problems
  with using other-endian file systems.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 9 11:48:39 2001 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.25: +34 -20 lines
Diff to previous 1.25 (colored)

move guts of non-F special parsing into separate openpartition() func

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 9 09:05:52 2001 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.24: +47 -54 lines
Diff to previous 1.24 (colored)

Change -F from "special must be a regular file" to "special can be any type,
and don't attempt to do any file name translation (e.g, search in fstab)".

In the non -F case, search for special in fstab. If found, convert fs_spec
to a raw device name. In any case, use opendisk(3) to open the device.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 6 02:16:01 2001 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.23: +27 -4 lines
Diff to previous 1.23 (colored)

Incorporate the enhanced ffs_dirpref() by Grigoriy Orlov, as found in
FreeBSD (three commits; the initial work, man page updates, and a fix
to ffs_reload()), with the following differences:
- Be consistent between newfs(8) and tunefs(8) as to the options which
  set and control the tuning parameters for this work (avgfilesize & avgfpdir)
- Use u_int16_t instead of u_int8_t to keep track of the number of
  contiguous directories (suggested by Chuck Silvers)
- Work within our FFS_EI framework
- Ensure that fs->fs_maxclusters and fs->fs_contigdirs don't point to
  the same area of memory

The new algorithm has a marked performance increase, especially when
performing tasks such as untarring pkgsrc.tar.gz, etc.

The original FreeBSD commit messages are attached:

=====
mckusick    2001/04/10 01:39:00 PDT
  Directory layout preference improvements from Grigoriy Orlov <gluk@ptci.ru>.
  His description of the problem and solution follow. My own tests show
  speedups on typical filesystem intensive workloads of 5% to 12% which
  is very impressive considering the small amount of code change involved.

  ------

    One day I noticed that some file operations run much faster on
  small file systems then on big ones. I've looked at the ffs
  algorithms, thought about them, and redesigned the dirpref algorithm.

    First I want to describe the results of my tests. These results are old
  and I have improved the algorithm after these tests were done. Nevertheless
  they show how big the perfomance speedup may be. I have done two file/directory
  intensive tests on a two OpenBSD systems with old and new dirpref algorithm.
  The first test is "tar -xzf ports.tar.gz", the second is "rm -rf ports".
  The ports.tar.gz file is the ports collection from the OpenBSD 2.8 release.
  It contains 6596 directories and 13868 files. The test systems are:

  1. Celeron-450, 128Mb, two IDE drives, the system at wd0, file system for
     test is at wd1. Size of test file system is 8 Gb, number of cg=991,
     size of cg is 8m, block size = 8k, fragment size = 1k OpenBSD-current
     from Dec 2000 with BUFCACHEPERCENT=35

  2. PIII-600, 128Mb, two IBM DTLA-307045 IDE drives at i815e, the system
     at wd0, file system for test is at wd1. Size of test file system is 40 Gb,
     number of cg=5324, size of cg is 8m, block size = 8k, fragment size = 1k
     OpenBSD-current from Dec 2000 with BUFCACHEPERCENT=50

  You can get more info about the test systems and methods at:
  http://www.ptci.ru/gluk/dirpref/old/dirpref.html

                                Test Results

               tar -xzf ports.tar.gz               rm -rf ports
    mode  old dirpref new dirpref speedup old dirprefnew dirpref speedup
                               First system
   normal     667         472      1.41       477        331       1.44
   async      285         144      1.98       130         14       9.29
   sync       768         616      1.25       477        334       1.43
   softdep    413         252      1.64       241         38       6.34
                               Second system
   normal     329         81       4.06       263.5       93.5     2.81
   async      302         25.7    11.75       112          2.26   49.56
   sync       281         57.0     4.93       263         90.5     2.9
   softdep    341         40.6     8.4        284          4.76   59.66

  "old dirpref" and "new dirpref" columns give a test time in seconds.
  speedup - speed increasement in times, ie. old dirpref / new dirpref.

  ------

  Algorithm description

  The old dirpref algorithm is described in comments:

  /*
   * Find a cylinder to place a directory.
   *
   * The policy implemented by this algorithm is to select from
   * among those cylinder groups with above the average number of
   * free inodes, the one with the smallest number of directories.
   */

  A new directory is allocated in a different cylinder groups than its
  parent directory resulting in a directory tree that is spreaded across
  all the cylinder groups. This spreading out results in a non-optimal
  access to the directories and files. When we have a small filesystem
  it is not a problem but when the filesystem is big then perfomance
  degradation becomes very apparent.

  What I mean by a big file system ?

    1. A big filesystem is a filesystem which occupy 20-30 or more percent
       of total drive space, i.e. first and last cylinder are physically
       located relatively far from each other.
    2. It has a relatively large number of cylinder groups, for example
       more cylinder groups than 50% of the buffers in the buffer cache.

  The first results in long access times, while the second results in
  many buffers being used by metadata operations. Such operations use
  cylinder group blocks and on-disk inode blocks. The cylinder group
  block (fs->fs_cblkno) contains struct cg, inode and block bit maps.
  It is 2k in size for the default filesystem parameters. If new and
  parent directories are located in different cylinder groups then the
  system performs more input/output operations and uses more buffers.
  On filesystems with many cylinder groups, lots of cache buffers are
  used for metadata operations.

  My solution for this problem is very simple. I allocate many directories
  in one cylinder group. I also do some things, so that the new allocation
  method does not cause excessive fragmentation and all directory inodes
  will not be located at a location far from its file's inodes and data.
  The algorithm is:
  /*
   * Find a cylinder group to place a directory.
   *
   * The policy implemented by this algorithm is to allocate a
   * directory inode in the same cylinder group as its parent
   * directory, but also to reserve space for its files inodes
   * and data. Restrict the number of directories which may be
   * allocated one after another in the same cylinder group
   * without intervening allocation of files.
   *
   * If we allocate a first level directory then force allocation
   * in another cylinder group.
   */

    My early versions of dirpref give me a good results for a wide range of
  file operations and different filesystem capacities except one case:
  those applications that create their entire directory structure first
  and only later fill this structure with files.

    My solution for such and similar cases is to limit a number of
  directories which may be created one after another in the same cylinder
  group without intervening file creations. For this purpose, I allocate
  an array of counters at mount time. This array is linked to the superblock
  fs->fs_contigdirs[cg]. Each time a directory is created the counter
  increases and each time a file is created the counter decreases. A 60Gb
  filesystem with 8mb/cg requires 10kb of memory for the counters array.

    The maxcontigdirs is a maximum number of directories which may be created
  without an intervening file creation. I found in my tests that the best
  performance occurs when I restrict the number of directories in one cylinder
  group such that all its files may be located in the same cylinder group.
  There may be some deterioration in performance if all the file inodes
  are in the same cylinder group as its containing directory, but their
  data partially resides in a different cylinder group. The maxcontigdirs
  value is calculated to try to prevent this condition. Since there is
  no way to know how many files and directories will be allocated later
  I added two optimization parameters in superblock/tunefs. They are:

          int32_t  fs_avgfilesize;   /* expected average file size */
          int32_t  fs_avgfpdir;      /* expected # of files per directory */

  These parameters have reasonable defaults but may be tweeked for special
  uses of a filesystem. They are only necessary in rare cases like better
  tuning a filesystem being used to store a squid cache.

  I have been using this algorithm for about 3 months. I have done
  a lot of testing on filesystems with different capacities, average
  filesize, average number of files per directory, and so on. I think
  this algorithm has no negative impact on filesystem perfomance. It
  works better than the default one in all cases. The new dirpref
  will greatly improve untarring/removing/coping of big directories,
  decrease load on cvs servers and much more. The new dirpref doesn't
  speedup a compilation process, but also doesn't slow it down.

  Obtained from:	Grigoriy Orlov <gluk@ptci.ru>
=====

=====
iedowse     2001/04/23 17:37:17 PDT
  Pre-dirpref versions of fsck may zero out the new superblock fields
  fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
  panics if these fields were zeroed while a filesystem was mounted
  read-only, and then remounted read-write.

  Add code to ffs_reload() which copies the fs_contigdirs pointer
  from the previous superblock, and reinitialises fs_avgf* if necessary.

  Reviewed by:	mckusick
=====

=====
nik         2001/04/10 03:36:44 PDT
  Add information about the new options to newfs and tunefs which set the
  expected average file size and number of files per directory.  Could do
  with some fleshing out.
=====

Revision 1.23 / (download) - annotate - [select for diffs], Mon Sep 3 15:04:39 2001 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.22: +32 -36 lines
Diff to previous 1.22 (colored)

- rename option `-t trackskew' to `-k trackskew', for consistency with newfs(8)
- add CHANGEVAL() macro, which does the hard work of changing a parameter
- sort options in usage()
- use  .ig [ ... ] ..  to comment out sections of man pages (instead
  of .\" at the start of each line

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 19 09:39:24 2001 UTC (21 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.21: +206 -188 lines
Diff to previous 1.21 (colored)

- add -F; indicates "special" is a file system image in a regular file
- reorder "special" validation to after option parsing
- use getopt(3) instead of homegrown code
- add getnum() to parse and validate a number
- clean up man page
- ansi KNF, WARNS=2

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 17 02:18:48 2001 UTC (21 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusting the caller to get
it right.  invariably, almost every caller of ffs_sb_swap() was calling it
with ns set to the wrong value for ns anyway!
ansi KNF ffs_bswap.c declarations whilst here.

this fixes all sorts of problems when trying to use other-endian file systems,
notably the kernel trying to access memory *way* off, possibly corrupting or
panicing, and userland programs SEGVing and/or corrupting things (e.g,
"fsck_ffs -B"  to swap a file system endianness).

whilst the previous rev of ffs_bswap.c (1.10, 2000/12/23) made this problem
worse, i suspect that the problem was always there and previous versions
just happened not to trash things at the wrong time.

FFS_EI should now be a lot more stable.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:05:55 2000 UTC (22 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.19: +12 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 15 22:37:17 2000 UTC (22 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.19: +12 -3 lines
Diff to previous 1.19 (colored)

Disable (unifdef for now) tunefs -n <disable|enable>, this is done via
a mount option now.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:30:34 1999 UTC (23 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.18: +23 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up to last week's -current.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 15 19:22:22 1999 UTC (23 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.18: +23 -3 lines
Diff to previous 1.18 (colored)

Update for soft updates code.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Tue Oct 19 12:59:53 1999 UTC (23 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.18: +23 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Bring in Kirk McKusick's FFS softdep code on a branch.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 15 13:32:06 1999 UTC (24 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, fvdl-softdep
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored)

#include machine/bswap.h and remove -lutil.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 25 19:18:17 1998 UTC (24 years, 7 months ago) by ross
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

from Erik Bertelsen <erik@mediator.uni-c.dk>
 { put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 28 19:22:56 1998 UTC (24 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

__AUDIT__ cleanup.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 26 20:57:54 1998 UTC (24 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +6 -5 lines
Diff to previous 1.14 (colored)

const poisoning.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 26 06:00:34 1998 UTC (25 years ago) by thorpej
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Need <string.h> for memcpy() prototype.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 18 17:19:14 1998 UTC (25 years ago) by bouyer
Branch: MAIN
Changes since 1.12: +15 -5 lines
Diff to previous 1.12 (colored)

Add support for non-native byteorder FFS.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 16 12:54:42 1997 UTC (25 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: 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
Changes since 1.11: +53 -10 lines
Diff to previous 1.11 (colored)

resolve conflicts from lite-2 merge

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 16 12:47:40 1997 UTC (25 years, 6 months ago) by lukem
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +51 -8 lines
Diff to previous 1.1.1.2 (colored)

imported from lite-2

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 15 11:27:13 1997 UTC (25 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.10: +10 -9 lines
Diff to previous 1.10 (colored)

* fix .Nm usage
* prototype main() to pass WARNS=1

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 18 15:01:31 1995 UTC (28 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.9: +7 -2 lines
Diff to previous 1.9 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 30 19:42:25 1995 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Use S_IS*().

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 22:54:02 1994 UTC (28 years, 9 months ago) by mycroft
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +90 -92 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4-Lite version.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 8 19:36:13 1994 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, 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, netbsd-1-0
Changes since 1.7: +36 -45 lines
Diff to previous 1.7 (colored)

Update from 4.4-Lite, with local changes.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 20 03:57:08 1994 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

back to 10%, per mkm

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 12 05:03:24 1994 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +93 -86 lines
Diff to previous 1.5 (colored)

documentation, general cleanup.  ick.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 12 04:17:37 1994 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

off_t casts, from Thomas Eberhardt

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 1 18:23:49 1993 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Add RCS identifiers.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 00:31:22 1993 UTC (30 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

changed "Id" to "Header" for rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:04:00 1993 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

added rcs ids to all files

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years ago) by cgd
Branch: MAIN

Initial revision

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




CVSweb <webmaster@jp.NetBSD.org>