diff options
author | azarah@nosferatu.za.org <azarah@nosferatu.za.org> | 2004-02-11 19:42:51 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:32:26 -0700 |
commit | 4d803d8d04a8493f8efc039c7789c65be33048a0 (patch) | |
tree | 5e349c87952f1dba4469095b7337830dcb3dd265 /udev.h | |
parent | [PATCH] finish syncing up with klibc (diff) | |
download | systemd-4d803d8d04a8493f8efc039c7789c65be33048a0.tar.gz systemd-4d803d8d04a8493f8efc039c7789c65be33048a0.tar.bz2 systemd-4d803d8d04a8493f8efc039c7789c65be33048a0.zip |
[PATCH] make logging a config option
Once again, patch to make logging a config option.
Reason for this (since you asked for it):
- In our setup it is easy (although still annoying) .. just edit the
ebuild, add logging support (or remove it) and rebuild. For say a
binary distro, having the logging is useful for debugging some
times, but its more a once of, or rare thing, as you do not add or
change config files every day. Sure, we can have logging by
default, but many do not want ~300 lines of extra debugging in their
logs is not pleasant, and they will complain. Rebuilding the
package for that binary package (given the users it is targeted to)
is usually not within most users grasp.
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,8 @@ #define OWNER_SIZE 30 #define GROUP_SIZE 30 #define MODE_SIZE 8 +#define BOOL_SIZE 5 /* 'yes', 'no' and possibly 'true' or 'false' + in future */ struct udevice { char name[NAME_SIZE]; @@ -72,5 +74,6 @@ extern char udev_rules_filename[PATH_MAX+NAME_MAX]; extern char default_mode_str[MODE_SIZE]; extern char default_owner_str[OWNER_SIZE]; extern char default_group_str[GROUP_SIZE]; +extern char udev_log_str[BOOL_SIZE]; #endif |