Home | History | Annotate | only in /src/sys/fs/autofs
History log of /src/sys/fs/autofs
RevisionDateAuthorComments
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.6 23-May-2020  ad Move proc_lock into the data segment. It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
 1.5 28-Mar-2020  tkusumi autofs: Make autofs(5) timeout messages include affected process name and PID

Sync warning message with FreeBSD and DragonFlyBSD.
taken-from: FreeBSD
 1.4 14-Dec-2019  tkusumi autofs: Make /dev/autofs cdevsw functions static

Also less confusing since autofs vnops also has autofs_{open,close} in NetBSD.
 1.3 09-Jan-2018  christos branches: 1.3.4;
fix module attachment and cdevsw
 1.2 09-Jan-2018  martin Include <sys/atomic.h> for the atomic funtions used in here.
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.3.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.5 17-May-2023  tkusumi sys/fs/autofs: Remove unused APRINTF macro

Remove a debug print macro (originates from DragonFly autofs)
I had intentionally kept at the time.
 1.4 23-Nov-2019  tkusumi autofs: Remove unused autofs_node::an_vnode_lock

Unlike FreeBSD and DragonFlyBSD, this is unused in NetBSD.
 1.3 23-Nov-2019  tkusumi autofs: u_int -> unsigned int
 1.2 23-Nov-2019  tkusumi autofs: Drop unused autofs_mount field which originates from FreeBSD

Taken-from: DragonFlyBSD
 1.1 09-Jan-2018  christos branches: 1.1.4;
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.1.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.3 23-Nov-2019  tkusumi autofs: Fix a comment on autofs_args

mount_autofs(8) also uses this.
mount_autofs(8) was added by NetBSD as an optional command (not needed to use autofs).
 1.2 14-Jan-2018  christos branches: 1.2.4;
support getargs, fix flush, fix mutex_destroy
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.2.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.12 28-Mar-2022  riastradh driver(9): devsw_detach never fails. Make it return void.

Prune a whole lotta dead branches as a result of this. (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back. To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump
 1.11 26-Apr-2020  tkusumi autofs: Silence down a warning which should really be a debug message

taken-from: FreeBSD
 1.10 16-Mar-2020  pgoyette Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.

Note that there are still a number of device and pseudo-device modules
that create entries tied to individual device units, rather than to the
module itself. These are not changed.
 1.9 17-Jan-2020  ad VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode. Matches
FreeBSD.
 1.8 26-Nov-2019  tkusumi branches: 1.8.2;
autofs: Use NULLVP for NULL vnode

I originally used NULL for NetBSD autofs, but it got mixed up with
NULLVP when merged with NetBSD.
 1.7 23-Nov-2019  tkusumi autofs: Don't calculate dirent reclen twice

Taken-from: DragonFlyBSD
 1.6 16-Nov-2019  tkusumi autofs: Fix change by r1.3 "prevent assert on unmount."

Must delete all nodes on unmount, otherwise automounts with >1 level of directories can't be deleted.
taken-from: FreeBSD and DragonFlyBSD
 1.5 14-Nov-2019  tkusumi autofs: Whitespace fix
 1.4 14-Jan-2018  christos branches: 1.4.4;
support getargs, fix flush, fix mutex_destroy
 1.3 13-Jan-2018  christos prevent assert on unmount.
 1.2 09-Jan-2018  christos fix module attachment and cdevsw
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.4.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.8.2.1 17-Jan-2020  ad Sync with head.
 1.10 15-Dec-2024  andvar s/partcular/particular/ in comment.
 1.9 20-Oct-2024  mlelstv Handle seek operations on autofs mountpoints.
 1.8 11-Dec-2022  mlelstv branches: 1.8.8;
Use genfs_pathconf for VOP_PATHCONF.
Fixes bin/57103.
 1.7 29-Jun-2021  dholland - Add a new vnode op: VOP_PARSEPATH.
- Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath.
- Add a parsepath entry to every vnode ops table.

VOP_PARSEPATH takes a directory vnode to be searched and a complete
following path and chooses how much of that path to consume. To begin
with, all parsepath calls are genfs_parsepath, which locates the first
'/' as always.

Note that the call doesn't take the whole struct componentname, only
the string. The other bits of struct componentname should not be
needed and there's no reason to cause potential complications by
exposing them.
 1.6 16-May-2020  christos branches: 1.6.6;
Add ACL support for FFS. From FreeBSD.
 1.5 17-Jan-2020  ad VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode. Matches
FreeBSD.
 1.4 26-Nov-2019  tkusumi branches: 1.4.2;
autofs: Use NULLVP for NULL vnode

I originally used NULL for NetBSD autofs, but it got mixed up with
NULLVP when merged with NetBSD.
 1.3 23-Nov-2019  tkusumi autofs: Remove unused autofs_node::an_vnode_lock

Unlike FreeBSD and DragonFlyBSD, this is unused in NetBSD.
 1.2 23-Nov-2019  tkusumi autofs: Don't calculate dirent reclen twice

Taken-from: DragonFlyBSD
 1.1 09-Jan-2018  christos branches: 1.1.4;
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.1.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.4.2.1 17-Jan-2020  ad Sync with head.
 1.6.6.1 01-Aug-2021  thorpej Sync with HEAD.
 1.8.8.1 02-Aug-2025  perseant Sync with HEAD
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

RSS XML Feed