Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-10 (18d)  netbsd-9 (18d)  netbsd-8 (23d) 

2024-06-03 20:20:46 UTC Now

2009-01-17 22:56:15 UTC mjf-devfs2 commitmail json YAML

It seems that "fattr.h" moved and what I should now include is
"mountprog.h" to get a_gid() and a_uid().

(mjf)

2009-01-17 20:43:44 UTC mjf-devfs2 commitmail json YAML

2009-01-17 20:17:09 UTC mjf-devfs2 commitmail json YAML

2009-01-17 13:48:54 UTC mjf-devfs2 commitmail json YAML

2009-01-17 13:29:43 UTC mjf-devfs2 commitmail json YAML

2008-10-05 20:11:34 UTC mjf-devfs2 commitmail json YAML

2008-10-05 16:47:47 UTC mjf-devfs2 commitmail json YAML

2008-09-28 11:17:15 UTC mjf-devfs2 commitmail json YAML

2008-09-28 11:09:22 UTC mjf-devfs2 commitmail json YAML

2008-09-28 10:41:07 UTC mjf-devfs2 commitmail json YAML

2008-07-06 09:53:33 UTC mjf-devfs2 commitmail json YAML

If it is not impossible to internalize the proplib dictionary from
devsfd.conf then set errno to EINVAL so that the user has some idea what
went wrong.

(mjf)

2008-03-21 19:13:37 UTC mjf-devfs2 commitmail json YAML

DCTL_NEW_MOUNT events are also placed onto a separate "mount event" list.
They are removed from this list when a DCTL_UNMOUNT event for the
corresponding mount gets sent to dctl(4).

This allows devfsd(8) to always know about devfs mounts on a system,
even if one was mounted whilst devfsd was not running.

(mjf)

2008-03-21 16:51:01 UTC mjf-devfs2 commitmail json YAML

Add -s option which allows devfsd to run in the foreground and not wait
for new events. When there are no more events to be handled, it exits.

(mjf)

2008-03-20 12:26:12 UTC mjf-devfs2 commitmail json YAML

dctl:
- Make dctl see aware of device driver names being added and removed so
  that it can signal devfsd(8), which in turn will request device node
  creation of deletion from a particular devfs mount.

- Each device that registers the need for a device node also passes on
  some info about what sort of device they are. We now package this up
  in the dctl messaging framework to let devfsd(8) know.

- Use a dev_t for the cookie for each device that dctl(4) knows about. This
  was changed from a device_t because some devices (zero(4)) don't have
  corresponding device_t's.

- dctl mount functions have grown a visibility argument which specifies
  the default visibility for that mount.

- Since we want to get information about devices (for matching against
  rules) through ioctl calls to match against rules, but for userland
  to ioctl they need device nodes, dctl provides an "inner" ioctl function
  that calls the ioctl function of the device driver directly.

devfsd:
- Run in the background.

- Convert all output to use syslog(3).

- When devices are removed request the corresponding device node be
  removed from every devfs mount.

- Start using the dctl "innerioctl" facility to get information about
  devices which will be useful for matching. We're only handling disk
  devices, and can only grok information about a partition's file system
  type at the moment.

- Fix code that handles rules that specify filenames.

- Specifying visibility for device nodes now works.

mount_devfs:
- Catch up with devfs changes. Provide an -f option which means that the
  devfs can only be unmounted it if it forced.

- Provide -i option to specify that the default visibility for a mount
  should be invisible. This means device nodes are not visible in the
  devfs mount by default, rather they must have a rule for devfsd that
  specifies that they should be visible.

- Provide -v option that specifies a devfs mount should be visible.
  This is the default.

- Update man page to reflect these changes.

etc/defaults/rc.conf:
- Turn devfsd off by default.

Device nodes can now be dynamically created and removed from a device file
system.

(mjf)

2008-03-20 12:11:07 UTC mjf-devfs2 commitmail json YAML

- Introduce new API for allowing device drivers to register/unregister
  names for device nodes along with a corresponding dev_t.

- Make device drivers that technically never get attached and need device
  nodes (mem, zero, null) provide an initialisation function, which gets
  an entry in a table of init functions that devsw_init() calls when the
  device switch tables are initialised.

- Since we're moving to a new way of notifying devfsd(8) of new devices,
  we no longer need to link together struct devices.

(mjf)

2008-03-15 13:32:50 UTC mjf-devfs2 commitmail json YAML

- Special case mounting a devfs from init(8) so that a devfs cannot be
  unmounted unless it is forced. This is a (possibly temporary) workaround
  to the problem that the /etc/rc.d/root script umounts all file systems
  before mounting /.

- Clean up devfs_create_node() based on feedback from wrstuden@.

- Add devfs_remove_node() (counterpart to devfs_create_node).

- Add function to create a console and dctl(4) device node for every
  devfs mount.

- Support for VOP_MKNOD() on a devfs file system has been dropped, so
  that devfsd(8) can fully control device nodes that are created in devfs.

- Allow devfs to be mounted -o union.

(mjf)