History log of /netbsd-current/sbin/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.139 06-Jun-2022 nia

revert bits and pieces I accidentally included in my last commit

from hannken


# 1.138 06-Jun-2022 nia

build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.


# 1.137 27-May-2022 nia

mk: Add a MKLFS flag for excluding the log-structured filesystem userspace
tools from the build.


# 1.136 06-Apr-2022 reinoud

Add the fsck_udf(8) tool to the build and release


# 1.135 24-Feb-2022 mrg

enable blkdiscard(8) build.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020
# 1.134 30-Sep-2018 jmcneill

Install mount_qemufwcfg everywhere instead of just x86.


Revision tags: pgoyette-compat-0930 pgoyette-compat-0906
# 1.133 31-Jul-2018 khorben

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.


Revision tags: pgoyette-compat-0728 phil-wifi-base 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-base
# 1.132 14-Jan-2018 christos

branches: 1.132.2; 1.132.4;
Add mount_autofs


# 1.131 25-Nov-2017 jmcneill

Build and install mount_qemufwcfg on i386 and amd64


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.139 06-Jun-2022 nia

revert bits and pieces I accidentally included in my last commit

from hannken


# 1.138 06-Jun-2022 nia

build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.


# 1.137 27-May-2022 nia

mk: Add a MKLFS flag for excluding the log-structured filesystem userspace
tools from the build.


# 1.136 06-Apr-2022 reinoud

Add the fsck_udf(8) tool to the build and release


# 1.135 24-Feb-2022 mrg

enable blkdiscard(8) build.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020
# 1.134 30-Sep-2018 jmcneill

Install mount_qemufwcfg everywhere instead of just x86.


Revision tags: pgoyette-compat-0930 pgoyette-compat-0906
# 1.133 31-Jul-2018 khorben

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.


Revision tags: pgoyette-compat-0728 phil-wifi-base 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-base
# 1.132 14-Jan-2018 christos

branches: 1.132.2; 1.132.4;
Add mount_autofs


# 1.131 25-Nov-2017 jmcneill

Build and install mount_qemufwcfg on i386 and amd64


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.137 27-May-2022 nia

mk: Add a MKLFS flag for excluding the log-structured filesystem userspace
tools from the build.


# 1.136 06-Apr-2022 reinoud

Add the fsck_udf(8) tool to the build and release


# 1.135 24-Feb-2022 mrg

enable blkdiscard(8) build.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020
# 1.134 30-Sep-2018 jmcneill

Install mount_qemufwcfg everywhere instead of just x86.


Revision tags: pgoyette-compat-0930 pgoyette-compat-0906
# 1.133 31-Jul-2018 khorben

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.


Revision tags: pgoyette-compat-0728 phil-wifi-base 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-base
# 1.132 14-Jan-2018 christos

branches: 1.132.2; 1.132.4;
Add mount_autofs


# 1.131 25-Nov-2017 jmcneill

Build and install mount_qemufwcfg on i386 and amd64


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.136 06-Apr-2022 reinoud

Add the fsck_udf(8) tool to the build and release


# 1.135 24-Feb-2022 mrg

enable blkdiscard(8) build.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020
# 1.134 30-Sep-2018 jmcneill

Install mount_qemufwcfg everywhere instead of just x86.


Revision tags: pgoyette-compat-0930 pgoyette-compat-0906
# 1.133 31-Jul-2018 khorben

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.


Revision tags: pgoyette-compat-0728 phil-wifi-base 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-base
# 1.132 14-Jan-2018 christos

branches: 1.132.2; 1.132.4;
Add mount_autofs


# 1.131 25-Nov-2017 jmcneill

Build and install mount_qemufwcfg on i386 and amd64


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.135 24-Feb-2022 mrg

enable blkdiscard(8) build.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020
# 1.134 30-Sep-2018 jmcneill

Install mount_qemufwcfg everywhere instead of just x86.


Revision tags: pgoyette-compat-0930 pgoyette-compat-0906
# 1.133 31-Jul-2018 khorben

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.


Revision tags: pgoyette-compat-0728 phil-wifi-base 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-base
# 1.132 14-Jan-2018 christos

branches: 1.132.2; 1.132.4;
Add mount_autofs


# 1.131 25-Nov-2017 jmcneill

Build and install mount_qemufwcfg on i386 and amd64


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020
# 1.134 30-Sep-2018 jmcneill

Install mount_qemufwcfg everywhere instead of just x86.


Revision tags: pgoyette-compat-0930 pgoyette-compat-0906
# 1.133 31-Jul-2018 khorben

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.


Revision tags: pgoyette-compat-0728 phil-wifi-base 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-base
# 1.132 14-Jan-2018 christos

branches: 1.132.2;
Add mount_autofs


# 1.131 25-Nov-2017 jmcneill

Build and install mount_qemufwcfg on i386 and amd64


Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.132 14-Jan-2018 christos

Add mount_autofs


# 1.131 25-Nov-2017 jmcneill

Build and install mount_qemufwcfg on i386 and amd64


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.130 27-May-2017 bouyer

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

branches: 1.129.4;
cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.129 01-Jul-2016 christos

cgdconfig does not need crypto.


# 1.128 04-Jun-2016 nonaka

nvmectl(8): Added NVM Express control utility.

Ported from FreeBSD nvmecontrol(8).


# 1.127 11-Sep-2014 roy

Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.126 25-Dec-2013 christos

moved to external


# 1.125 28-Oct-2013 mbalmer

link luactl(8) to the build


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.124 23-Mar-2013 christos

pdisk has moved


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.123 24-Nov-2011 ahoka

branches: 1.123.6;
Import mount_chfs for CHFS.


# 1.122 15-Nov-2011 riz

Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no. Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.121 29-Aug-2011 mrg

branches: 1.121.2;
add the device publish daemon, written by jmcneill@.

listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
- manual page
- rc.d script
- more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!


# 1.120 27-Jun-2011 uch

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.119 08-Feb-2011 haad

Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

dm-multipath device target
dm-crypt device target
dm-ccd compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@


# 1.118 13-Jan-2011 haad

branches: 1.118.2;
Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.


Revision tags: matt-mips64-premerge-20101231
# 1.117 30-Oct-2010 haad

Add resize_ffs tool to build, change default behaviour to grow filesystem
to device size. Add parameter -s to specify size if user want to shrink
filesystem.

Apply some KNF, remove dead unused code.

Oked by christos@.


# 1.116 10-Mar-2010 abs

Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change


# 1.115 14-Jan-2010 pooka

Descend into mount_puffs.


Revision tags: matt-premerge-20091211
# 1.114 18-Jul-2009 reinoud

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base mjf-devfs2-base
# 1.113 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: 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 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.112 27-Jul-2008 joerg

branches: 1.112.2;
Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 wrstuden-revivesa-base
# 1.111 24-May-2008 joerg

Hook dhcpcd into build.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2
# 1.110 14-May-2008 reinoud

Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
# 1.109 09-Feb-2008 jmmv

branches: 1.109.4; 1.109.6; 1.109.8;
Descend into modstat if MKMODULAR is set.


# 1.108 09-Jan-2008 simonb

Remove support for NetBSD/pc532.


Revision tags: pc532-eol-2008 cube-autoconf-base matt-armv6-base
# 1.107 17-Nov-2007 tsutsui

branches: 1.107.2;
Descend into newfs_ext2fs(8).


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.106 29-Jun-2007 rumble

branches: 1.106.4;
Add read-only support for SGI's Extent File System.

Reviewed by pooka@.


# 1.105 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.104 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.103 05-Mar-2007 dillo

Integrate apmlabel and HFS+ file system.


# 1.102 01-Mar-2007 martin

Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


Revision tags: netbsd-4-base
# 1.101 15-Oct-2006 christos

branches: 1.101.2;
hook in gpt


Revision tags: abandoned-netbsd-4-base
# 1.100 23-Jul-2006 bouyer

Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.


# 1.99 25-Feb-2006 christos

remove vinum


# 1.98 02-Feb-2006 reinoud

Initial import of a UDF file system implementation for NetBSD.

Finally the logic glue and the set distribution lists modifications.


# 1.97 29-Dec-2005 tsutsui

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.


# 1.96 06-Dec-2005 skrll

Remove lmcctl.


# 1.95 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.94 15-Jun-2005 xtraeme

Add scan_ffs(8) from OpenBSD, it was modified to support FFSv2
for NetBSD (with different blocksizes). Utility to find
FFSv1 and FFSv2 partitions on disks, useful to recover lost
disklabels.

Reviewed by christos.


# 1.93 01-May-2005 lukem

Test USE_INET6 instead of MKINET6 for various apps.
Part of PR 30092 from Jukka Salmi.


# 1.92 23-Apr-2005 perseant

Provide a resize_lfs(8), including kernel and cleaner support. The current
implementation requires the fs to be mounted while resizing. Tested in both
directions, and everything appears to work happily, but ymmv.


Revision tags: netbsd-3-base
# 1.91 10-Jan-2005 lukem

branches: 1.91.2;
remove unnecessary comment


# 1.90 11-Nov-2004 yamt

move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.

before:
sbin/pfctl
usr.sbin/authpf
usr.sbin/spamdb
libexec/ftp-proxy
libexec/spamd
libexec/spamd-setup
libexec/spamlogd
after:
usr.sbin/pf/pfctl
usr.sbin/pf/authpf
usr.sbin/pf/spamdb
usr.sbin/pf/ftp-proxy
usr.sbin/pf/spamd
usr.sbin/pf/spamd-setup
usr.sbin/pf/spamlogd


# 1.89 11-Nov-2004 christos

add mount_ptyfs


# 1.88 19-Aug-2004 drochner

+drvctl


# 1.87 22-Jun-2004 itojun

PF from openbsd 3.5
massage pfctl to compile/run on netbsd. put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos


Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
# 1.86 03-Jan-2004 lukem

Don't build cgdconfig when MKCRYPTO==no.
Fixes [bin/18552].


# 1.85 07-Dec-2003 matt

Make building IPv6 support controllable by MKINET6


# 1.84 10-Oct-2003 grog

Hook Vinum into build.


# 1.83 18-Feb-2003 jdolecek

add mount_smbfs(8)


# 1.82 19-Jan-2003 jdolecek

fix typo on mount_ext2fs line


# 1.81 19-Jan-2003 jdolecek

do not link all mount programs into single image; the total size difference
isn't really that huge now that these are compiled as dynamic


Revision tags: fvdl_fs64_base
# 1.80 23-Nov-2002 blymn

Renamed the verified exec fingerprint loader.


# 1.79 29-Oct-2002 blymn

Added fingerprint loader tool for verified exec.


# 1.78 04-Oct-2002 elric

include cgdconfig(8) in the build.


# 1.77 09-Jul-2002 dbj

get pdisk compiling on macppc and mac68k


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.76 09-Jan-2002 thorpej

Descend into dkctl.


# 1.75 10-Dec-2001 martin

Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.


# 1.74 17-Aug-2001 thorpej

Descend into brconfig/


# 1.73 14-Feb-2001 minoura

Descend to mount_* subdirs when cleandir, in addition to clean and distclean.


# 1.72 16-Nov-2000 jdolecek

also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.


# 1.71 13-Nov-2000 jdolecek

add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.


# 1.70 04-Nov-2000 thorpej

Visit wdogctl.


# 1.69 30-Oct-2000 jdolecek

mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.68 13-Jun-2000 itojun

move setkey(8) from usr.sbin to sbin, to enable us to initialize
IPsec manual key before /usr mount..
(based on "don't use cvsmove" discussion i have seen, I did not use cvsmove)


Revision tags: minoura-xpg4dl-base
# 1.67 15-Mar-2000 soren

branches: 1.67.2;
mbrlabel moves to /sbin.


# 1.66 20-Jan-2000 wrstuden

Add mount_overlay.


# 1.65 17-Jan-2000 itojun

move sysctl to /sbin/sysctl. symlink from /usr/sbin/sysctl
is supplied for backward compatibility.

add /sbin/sysctl to base/mi (does not remove /usr/sbin/sysctl
as we have a symlink)


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.64 23-Nov-1999 mrg

move rcorder to sbin.


# 1.63 20-Nov-1999 lukem

add newbtconf (missed by darrenr)


Revision tags: comdex-fall-1999-base
# 1.62 01-Oct-1999 perseant

Working version of aborted dump{,_lfs} join.


# 1.61 30-Sep-1999 perseant

Undo broken dump{,_lfs} changes, part 2.


# 1.60 29-Sep-1999 perseant

Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.


# 1.59 02-Jul-1999 itojun

branches: 1.59.2;
rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).


# 1.58 01-Jul-1999 itojun

ping for IPv6. try
ping6 ::1
on you node.


# 1.57 06-May-1999 christos

Add mount_ntfs


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.56 25-Mar-1999 explorer

Enable lmcctl


# 1.55 18-Mar-1999 thorpej

Goodbye: newlfs
Hello: newfs_lfs, fsck_lfs


# 1.54 30-Jan-1999 veego

Add the ldconfig SUBDIR for all platforms so ldconfig(8) is available on
a shared /usr/share directory.
src/sbin/ldconfig/Makefile has allready an check to build the ldconfig
programm only on a.out platforms.


# 1.53 28-Dec-1998 hannken

Add subdir wsconsctl.


# 1.52 15-Dec-1998 pk

Build ldconfig on non-ELF platforms.


# 1.51 15-Dec-1998 ws

Typo


# 1.50 19-Nov-1998 kenh

wdctl -> atactl


# 1.49 19-Nov-1998 kenh

Build wdctl(8).


# 1.48 13-Nov-1998 oster

Added raidctl to the list of things to build.


# 1.47 15-Oct-1998 thorpej

Build scsictl.


# 1.46 14-Aug-1998 mark

Added mount_filecore.


Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
# 1.45 13-Oct-1997 explorer

compile rndctl


# 1.44 23-Jul-1997 mikel

alphabetize


# 1.43 23-Jun-1997 veego

quotacheck has MOVED to usr.sbin.


# 1.42 23-Jun-1997 mrg

move man pages into share/man.


# 1.41 20-Jun-1997 pk

`dump', `dumplfs' and `quotacheck' have moved to /usr/sbin


# 1.40 13-Jun-1997 thorpej

Remove swapon, add swapctl


# 1.39 11-Jun-1997 bouyer

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.


# 1.38 12-Apr-1997 mrg

ipf is now in usr.sbin/ipf/ipf


# 1.37 31-Mar-1997 jonathan

Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin.


# 1.36 29-Mar-1997 thorpej

Build fdisk on the PowerPC.


# 1.35 07-Mar-1997 christos

Added fsirand


# 1.34 01-Mar-1997 christos

Added newfs_msdos


# 1.33 08-Jan-1997 veego

Add ipf.


# 1.32 23-Sep-1996 christos

Put fsck back.


# 1.31 28-May-1996 mrg

sparc uses edlabel also.


# 1.30 27-May-1996 leo

Atari also uses edlabel.


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.29 14-May-1996 ws

branches: 1.29.4;
Add fsck utility for msdosfs


# 1.28 05-Apr-1996 cgd

check in changes proposed in PR 2006 (approved by J.T.), to rename fsck
to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes
appropriate filesystem-specific checker programs. For now, the only
user-visible change is that the names have changed in the manual page
and in error messages; fsck and fsck.8 are now links to fsck_ffs and
fsck_ffs.8, until the rest of the transition is complete.


# 1.27 30-Mar-1996 cgd

since the only difference between the old 'savecore' and the new one
is savecore.c, move it back into the 'savecore' dir (renamed as
savecore_old.c) so that the build is more 'normal,' and more like what
it used to be.


# 1.26 16-Mar-1996 leo

New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE
# 1.25 10-Oct-1995 gwr

Fix my typo


Revision tags: netbsd-1-1-base
# 1.24 09-Oct-1995 thorpej

Build fsdb(8).


# 1.23 08-Oct-1995 gwr

On the sun3, add SUBDIR+= edlabe


# 1.22 17-Aug-1995 thorpej

Build ccdconfig.


# 1.21 12-Jul-1995 cgd

add mount_ffs(8). reorganize, to seperate the file system mount commands,
and to make it more clear what programs are dependent on a particular file
systems's format.


# 1.20 18-Mar-1995 cgd

halt(8) has been assimilated (into reboot(8)).


# 1.19 18-Mar-1995 cgd

convert to new RCS Id conventions; reduce my headache


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.18 08-Jun-1994 mycroft

Various.


# 1.17 03-Jun-1994 chopps

add mount_ados


# 1.16 22-Apr-1994 cgd

add bim


# 1.15 30-Mar-1994 cgd

add ttyflags


# 1.14 12-Jan-1994 cgd

new mount_ programs


# 1.13 03-Nov-1993 cgd

chown no longer here


# 1.12 24-Aug-1993 cgd

little point in having mount_procfs if you don't make it...


# 1.11 31-Jul-1993 mycroft

Add RCS indentifiers.


# 1.10 28-Jul-1993 cgd

incorporate changes from 0-9-base to 0-9-ALPHA


Revision tags: netbsd-0-9-base
# 1.9 07-Jun-1993 cgd

branches: 1.9.2;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.8 09-Apr-1993 cgd

fixed bug that i created when updating for new entries


# 1.7 09-Apr-1993 cgd

added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)


# 1.6 05-Apr-1993 cgd

moved chown into sbin from usr.sbin


# 1.5 28-Mar-1993 cgd

merged mount_fdesc and mount_kernfs into mount_miscfs


# 1.4 23-Mar-1993 cgd

added support for mount_kernfs and mount_fdesc


# 1.3 23-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision