<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/devd/devd.cc, branch release/5.2.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2003-10-24T22:02:29Z</updated>
<entry>
<title>Parse the ! lines that will soon be coming from the kernel.  These are</title>
<updated>2003-10-24T22:02:29Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-10-24T22:02:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=842ccec57ebc11a3a74778d86d400c2fa38a658b'/>
<id>urn:sha1:842ccec57ebc11a3a74778d86d400c2fa38a658b</id>
<content type='text'>
a generalized notification mechanism for subsystems wishing to report
events.

Revieded by: njl

# The kernel side seems like it might be causing panics for me, but should
# be forthcoming shortly.
</content>
</entry>
<entry>
<title>Remove old workaround</title>
<updated>2003-07-23T23:50:00Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-07-23T23:50:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f30595058e1ecadbeb4f68885549f300fa3424bf'/>
<id>urn:sha1:f30595058e1ecadbeb4f68885549f300fa3424bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Drop the pid file after we call the final daemon call.  w/o -n would</title>
<updated>2003-07-05T00:43:50Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-07-05T00:43:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fd6a8f23ef43ea76e0ba08bd8e78d135fa4ed331'/>
<id>urn:sha1:fd6a8f23ef43ea76e0ba08bd8e78d135fa4ed331</id>
<content type='text'>
give the wrong pid.

Submitted by: ru and Lukas Ertl
PR: 54113
</content>
</entry>
<entry>
<title>sysctlbyname takes a size_t as its 5th argument, not a pointer.</title>
<updated>2003-05-02T17:38:08Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-05-02T17:38:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=79f92e259757ac1b6882aa75ee8d8df3048ea01d'/>
<id>urn:sha1:79f92e259757ac1b6882aa75ee8d8df3048ea01d</id>
<content type='text'>
However, since NULL was used, and this is C++, this error went
undetected until g++ 3.3 somehow managed to whine about it.

Reported by: obrien
</content>
</entry>
<entry>
<title>Create a new C++ header file called devd.hh which has all the class</title>
<updated>2003-04-26T20:59:04Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-04-26T20:59:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6aeeca8edf430749fd06906be1d363d23e086e64'/>
<id>urn:sha1:6aeeca8edf430749fd06906be1d363d23e086e64</id>
<content type='text'>
definitions in it.  Begin to document the classes that we use, and how
they interrelate (using comments that I can use with doxygen to
automatically generate docs with).
</content>
</entry>
<entry>
<title>Update to use is_id_char() in the last patch.  I should have done this</title>
<updated>2003-04-26T20:25:40Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-04-26T20:25:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=66ff6821dd6b9e43ae206dc1040c87e464c99eb1'/>
<id>urn:sha1:66ff6821dd6b9e43ae206dc1040c87e464c99eb1</id>
<content type='text'>
before the last commit.
</content>
</entry>
<entry>
<title>Make better use of the string type when parsing things.  This switches</title>
<updated>2003-04-26T19:44:45Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-04-26T19:44:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6cabd675eef6bc75095ecc39bd02c832d34e8273'/>
<id>urn:sha1:6cabd675eef6bc75095ecc39bd02c832d34e8273</id>
<content type='text'>
expand one from using a fixed buffer to using a string which
dynamically allocates these things.

Submitted by: green@ (against an earlier version of devd)
Ignored for too long by: imp
</content>
</entry>
<entry>
<title>Change default to be 'process all events before calling daemon.'</title>
<updated>2003-04-25T02:13:42Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-04-25T02:13:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=812f53a7b540db8460ad9740eb248a8c509ba372'/>
<id>urn:sha1:812f53a7b540db8460ad9740eb248a8c509ba372</id>
<content type='text'>
Also, put a small work around into devd to prevent a hang on boot this
would cause because select used to return 2 rather than 0 for no
evetnts due to a bug I fixed a few days ago in subr_bus.c.  I'll
remove this workaround May 7th.  You have until then to upgrade your
kernel if you want to run a new devd with an older kernel.
</content>
</entry>
<entry>
<title>Kill debug printf that crept in my last commit</title>
<updated>2003-04-21T17:25:39Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-04-21T17:25:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01ee1d1668d5e1a1d8bb0926ad3e6583923f1a3d'/>
<id>urn:sha1:01ee1d1668d5e1a1d8bb0926ad3e6583923f1a3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement a two new flags, and change the meaning of another one.</title>
<updated>2003-04-21T06:26:08Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-04-21T06:26:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a882d775db34a277c793e81137db1d30d22603b'/>
<id>urn:sha1:5a882d775db34a277c793e81137db1d30d22603b</id>
<content type='text'>
'd': now means don't do daemon().
'D': Debug
'n': Don't wait to process all pending events before calling daemon.

In the past, devd would call daemon immediately.  However, this causes
a race.  If anything in the boot process depends on configuring the
devices configured by devd, maybe they would be configured in time,
maybe not.  Now we don't call daemon until all pending events are
processed, unless -n is specified.

# -n is actually the default for a while due to the select(2) bug in devctl
# that I just fixed to give people a chance to upgrade.
</content>
</entry>
</feed>
