the namedev name didn't really make much sense anymore...
$(INSTALL) -d $(hotplugdir)
$(INSTALL_PROGRAM) -D $(ROOT) $(sbindir)/$(ROOT)
$(INSTALL_DATA) -D udev.8 $(mandir)/man8/udev.8
- $(INSTALL_DATA) namedev.config $(configdir)
- $(INSTALL_DATA) namedev.permissions $(configdir)
+ $(INSTALL_DATA) udev.config $(configdir)
+ $(INSTALL_DATA) udev.permissions $(configdir)
- ln -s $(sbindir)/$(ROOT) $(hotplugdir)/udev.hotplug
uninstall:
- rm $(hotplugdir)/udev.hotplug
- - rm $(configdir)/namedev.permissions
- - rm $(configdir)/namedev.config
+ - rm $(configdir)/udev.permissions
+ - rm $(configdir)/udev.config
- rm $(mandir)/man8/udev.8
- rm $(sbindir)/$(ROOT)
- rmdir $(hotplugdir)
.B udev
reads the sysfs directory of the given device to collect device attributes
like label, serial number or bus device number.
-These attributes are passed as a key to the namedev subsystem
-to receive a unique name for device file creation.
-namedev maintains a database for devices present on the system.
+These attributes are treated as a key
+to determine a unique name for device file creation.
+udev maintains a database for devices present on the system.
.br
On device removal,
.B udev
-queries the namedev database for the name of the device file to be deleted.
+queries the internal database for the name of the device file to be deleted.
.SH "CONFIGURATION"
-namedev expects its configuration at
-.I /etc/udev/namedev.config.
+udev expects its configuration at
+.I /etc/udev/udev.config.
The file consists of a set of lines. All empty lines and
lines beginning with a '#' will be ignored.
.br
.br
keys: \fBBUS\fP, \fBPROGRAM\fP, \fBID\fP
.P
-A sample \fInamedev.conf\fP might look like this:
+A sample \fIudev.conf\fP might look like this:
.sp
.nf
# USB printer to be called lp_color
.fi
.P
Permissions and ownership for the created device files may specified at
-.I /etc/udev/namedev.permissions.
+.I /etc/udev/udev.permissions.
The file consists of a set of lines. All empty lines and
lines beginning with a '#' will be ignored.
.br
Every line lists a device name followed by owner, group and permission mode. All values are separated by colons.
.sp
-A sample \fInamedev.permissions\fP might look like this:
+A sample \fIudev.permissions\fP might look like this:
.sp
.nf
#name:user:group:mode
{
char *temp;
char *udev_db = UDEV_DB;
- char *udev_config = NAMEDEV_CONFIG_FILE;
- char *udev_permission = NAMEDEV_CONFIG_PERMISSION_FILE;
+ char *udev_config = UDEV_CONFIG_FILE;
+ char *udev_permission = UDEV_CONFIG_PERMISSION_FILE;
int retval;
retval = sysfs_get_mnt_path(sysfs_path, SYSFS_PATH_MAX);
/* filenames for the config and database files */
-#define UDEV_DB "udevdb.tdb"
-#define NAMEDEV_CONFIG_PERMISSION_FILE "namedev.permissions"
-#define NAMEDEV_CONFIG_FILE "namedev.config"
+#define UDEV_DB "udev.tdb"
+#define UDEV_CONFIG_PERMISSION_FILE "udev.permissions"
+#define UDEV_CONFIG_FILE "udev.config"
#define NAME_SIZE 100
#define OWNER_SIZE 30
%attr(755,root,root) /sbin/udev
%attr(755,root,root) /udev/
%attr(755,root,root) /etc/udev/
-%attr(0644,root,root) /etc/udev/namedev.config
-%attr(0644,root,root) /etc/udev/namedev.permissions
+%attr(0644,root,root) /etc/udev/udev.config
+%attr(0644,root,root) /etc/udev/udev.permissions
%attr(-,root,root) /etc/hotplug.d/default/udev.hotplug
%attr(0644,root,root) %{_mandir}/man8/udev.8*