summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] udevdb prototypedsteklof@us.ibm.com
Here's an "idea" of what I had in mind for udevdb. Let me preface the code with a few remarks: 1) I was expecting to write this udevdb for udev to keep track of devices. I was planning an external package that depends upon udev to provide an external API to the udevdb database. The calls for the interface would be read only access. Not sure how you want to do packaging, if having a separate package is ok or having it included in udev. 2) I created it as it is because udev isn't a daemon. So, the open database call doesn't take any parameters. My plan was to create a udevdb_init function that took arguments for initializing the db to start, where you could specify in memory only or a file location. This can all be filled in. 3) I hacked the Makefile to get it to work. Not sure how you'd want that in the future. 4) This assumes TDB has been installed elsewhere, you would need to edit your Makefile and point it to the header and library locations. How do you want to do TDB in udev? Do you want to just reference it and make udev dependent on that package being installed. Or should we do what samba does and include a limited tdb version in udev? 5) Again, I hacked udev into your existing code. In the future, I'd probably make a function around the filling out the udevice before calling the store command. Didn't know if you wanted to change your add device function to use struct udevice rather than having everything separate. 6) Not sure what we should include in the udevice structure that's stored by udev. I made a stab at a first shot - we can add and remove of course, this was a first pass. I've come to realize - with you including libsysfs in udev, the "external" interface that references udevdb could make use of getting information from through libsysfs from sysfs and doesn't need to be in udevdb. 7) I could write a namedevdb for namedev's device management if you wanted.
2005-04-26[PATCH] Added tdb code from latest cvs version in the samba treegreg@kroah.com
2005-04-26[PATCH] added my name to the .spec file.greg@kroah.com
2005-04-26[PATCH] udev spec filelethal@linux-sh.org
Here's a relatively rudimentary patch that addes udev.spec. With this, you can rpm -ta the tarball and generate rpms. I've also attached the ones I build on my RH 7.3 host incase they are of interest to you.
2005-04-26[PATCH] udev/libsysfs cross compile fixeslethal@linux-sh.org
I noticed that libsysfs doesn't inherently grab cross compilation arguments that are set in the top-level Makefile, so I've come up with the following patch to fix this. With the patch, I can succesfully cross compile for other architectures (such as sh) by doing 'make ARCH=sh CROSS=sh-linux-' in the top-level directory.
2005-04-26[PATCH] minor cleanups.greg@kroah.com
2005-04-26[PATCH] cleanup the mknod code a bit.greg@kroah.com
2005-04-26[PATCH] remove mknod calloutgreg@kroah.com
Patch from "Guo, Min" <min.guo@intel.com>
2005-04-26[PATCH] handle new major:minor format of dev files that showed up in ↵greg@kroah.com
2.6.0-test2-bk3 or so.
2005-04-26[PATCH] oops, everything was getting created as 000 mode, try to fix this up,greg@kroah.com
2005-04-26[PATCH] more test stuff...greg@kroah.com
2005-04-26[PATCH] removed unneeded stuff from udev.hgreg@kroah.com
2005-04-26[PATCH] added 0.2 change log info.udev/v002greg@kroah.com
2005-04-26[PATCH] start working on label support, and fix some segfaults for block ↵greg@kroah.com
devices.
2005-04-26[PATCH] test config file changes...greg@kroah.com
2005-04-26[PATCH] add NUMBER support (basically same logic as TOPOLOGY, perhaps we ↵greg@kroah.com
should merge this...)
2005-04-26[PATCH] added topology support.greg@kroah.com
2005-04-26[PATCH] got REPLACE to work properly.greg@kroah.com
2005-04-26[PATCH] make struct config_device contain a struct device_attr instead of ↵greg@kroah.com
duplicating the mess.
2005-04-26[PATCH] block testgreg@kroah.com
2005-04-26[PATCH] split the tests up into different files.greg@kroah.com
2005-04-26[PATCH] split udev main logic into udev-add and udev-remove.greg@kroah.com
2005-04-26[PATCH] Clean up the namedev interface a bit, making the code smaller...greg@kroah.com
2005-04-26[PATCH] update the tests to handle block devices too.greg@kroah.com
2005-04-26[PATCH] add initial libsysfs support...greg@kroah.com
needs lots more cleanup, but is much nicer than doing this by hand...
2005-04-26[PATCH] added libsysfs to the build.greg@kroah.com
2005-04-26[PATCH] added libsysfs code from sysutils-0.1.1-071803 releasegreg@kroah.com
2005-04-26[PATCH] namedev config files are fully parsed.greg@kroah.com
now to do something with the data...
2005-04-26[PATCH] more permission testsgreg@kroah.com
2005-04-26[PATCH] make log_message spit out warnings so I don't havegreg@kroah.com
2005-04-26[PATCH] added klibc makefilegreg@kroah.com
2005-04-26[PATCH] Initial namedev parsing of config filesgreg@kroah.com
.permission parsing works, .config needs more work.
2005-04-26[PATCH] sleep for 2 seconds to give the kernel a chance to actually create ↵greg@kroah.com
the files we need.
2005-04-26[PATCH] pick a better default UDEV_ROOTgreg@kroah.com
2005-04-26[PATCH] fix up the test to actually work...greg@kroah.com
2005-04-26[PATCH] added more documentation in README and TODO files.greg@kroah.com
2005-04-26[PATCH] updated the documentation.greg@kroah.com
2005-04-26[PATCH] cleaned up the makefile a bit.greg@kroah.com
2005-04-26[PATCH] remove now works!greg@kroah.com
2005-04-26[PATCH] restructure code to be able to actually get remove_node() to work.greg@kroah.com
2005-04-26[PATCH] Creating nodes actually works.greg@kroah.com
2005-04-26[PATCH] added stupid test script for debugging.greg@kroah.com
2005-04-26[PATCH] added initial documentation and gpl licenseudev/v001greg@kroah.com
2005-04-26[PATCH] enabled debugging.greg@kroah.com
2005-04-26added initial files.Greg KH