Changeset bb8939c
- Timestamp:
- 03/16/2009 04:29:00 AM (15 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- c222e85
- Parents:
- 6a4a95f
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r6a4a95f rbb8939c 37 37 38 38 --> 39 <xxx> 40 </xxx> 41 42 <listitem> 43 <para>2009-03-15</para> 44 <itemizedlist> 45 <listitem> 46 <para>[bryan] - Remove the uucp group (replace with dialout). Handle 47 ISDN devices with a file from upstream.</para> 48 </listitem> 49 </itemizedlist> 50 </listitem> 39 51 40 52 <listitem> -
chapter06/createfiles.xml
r6a4a95f rbb8939c 84 84 disk:x:8: 85 85 lp:x:9: 86 uucp:x:10:86 dialout:x:10: 87 87 audio:x:11: 88 88 video:x:12: … … 90 90 usb:x:14: 91 91 cdrom:x:15: 92 dialout:x:16:93 92 mail:x:34: 94 93 nogroup:x:99:</literal> -
chapter06/udev.xml
r6a4a95f rbb8939c 87 87 /lib/udev/rules.d/</userinput></screen> 88 88 89 <para>Now install a file to handle ISDN devices:</para> 90 91 <screen><userinput remap="install">install -m644 -v rules/packages/40-isdn.rules \ 92 /lib/udev/rules.d/</userinput></screen> 93 89 94 <!-- There are more files available in the packages/ directory, if we want 90 95 to consider using them. Most are probably irrelevant to LFS though. -
udev-config/55-lfs.rules
r6a4a95f rbb8939c 13 13 # Comms devices 14 14 15 KERNEL=="rfcomm[0-9]*", GROUP="uucp" 16 KERNEL=="ippp[0-9]*", GROUP="uucp" 17 KERNEL=="isdn[0-9]*", GROUP="uucp" 18 KERNEL=="isdnctrl[0-9]*", GROUP="uucp" 19 KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" 20 KERNEL=="capi?*", NAME="capi/%n", GROUP="uucp" 21 KERNEL=="dcbri[0-9]*", GROUP="uucp" 15 KERNEL=="rfcomm[0-9]*", GROUP="dialout" 16 KERNEL=="ippp[0-9]*", GROUP="dialout" 17 KERNEL=="isdn[0-9]*", GROUP="dialout" 18 KERNEL=="isdnctrl[0-9]*", GROUP="dialout" 19 KERNEL=="dcbri[0-9]*", GROUP="dialout" 22 20 23 21 # ALSA devices go in their own subdirectory -
udev-config/ChangeLog
r6a4a95f rbb8939c 1 2009-03-15 Bryan Kadzban <bryan@linuxfromscratch.org> 2 * 55-lfs.rules: Remove the ISDN-handling rules (replaced with upstream's 3 version, which has a better match via SUBSYSTEM). 4 * 55-lfs.rules: Replace "uucp" with "dialout" now that udev has decided 5 to standardize on a Debian-like setup (uucp is for UUCP daemons to use 6 for privilege separation; dialout is for users and devices). 7 1 8 2008-12-07 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 3 9 * 55-lfs.rules: Change one line to use continuation so it does 10 not overflow the book's width. 4 11 5 12 2008-12-07 Bryan Kadzban <bryan@linuxfromscratch.org> 6 7 8 9 10 13 * 55-lfs.rules: Remove several rules that are either provided by upstream, 14 or that don't have any effect (there is no /dev/js or /dev/djs according 15 to devices.txt). 16 * 55-lfs.rules, 61-cdrom.rules: Replace ACTION=="add" with "add|change" 17 everywhere, per upstream's general request. 11 18 12 19 2008-11-11 Bryan Kadzban <bryan@linuxfromscratch.org> 13 14 20 * 55-lfs.rules, 61-cdrom.rules: Fix comments to use the right rule 21 numbers. Thanks to Trent Shea for the fix. Closes #2278. 15 22 16 23 2008-10-15 DJ Lucas <dj@linuxfromscratch.org> 17 18 19 24 * 55-lfs.rules: Override default perms on floppy disk devices provided 25 by 50-udev-default.rules. Thanks to Bruce Dubbs for the fix. Closes 26 LFS ticket #2076. 20 27 21 28 2008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org> 22 23 24 25 26 27 29 * 81-firmware.rules, doc/81-firmware.txt: Remove. This rule is 30 already handled by udev's 50-udev-default.rules file. The docs 31 can be added back later if needed. 32 * Makefile: Don't install the above deleted files. 33 * 55-lfs.rules: Remove the device-mapper rule, since the upstream 34 50-udev-default.rules file handles it properly. 28 35 29 36 2008-04-02 Bryan Kadzban <bryan@linuxfromscratch.org> 30 31 32 37 * Makefile: Make the package DESTDIR-friendly by installing the docs 38 into a fixed $(PREFIX)/share/doc/udev-config directory, instead of 39 trying to figure out what version of udev was just installed. 33 40 34 41 2007-10-30 Bryan Kadzban <bryan@linuxfromscratch.org> 35 36 37 42 * 55-lfs.rules: Since the dialout group was renamed to uucp, delete 43 the rules that override upstream's assignment of the dialout group. 44 Replace "dialout" with "uucp" on the remaining rules. 38 45 39 46 2007-10-29 Bryan Kadzban <bryan@linuxfromscratch.org> 40 41 47 * 51-lfs.rules: Move to 55-lfs.rules. 48 * doc/51-lfs.rules: Move to doc/55-lfs.rules. 42 49 43 50 2007-10-27 Bryan Kadzban <bryan@linuxfromscratch.org> 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 51 * 25-lfs.rules: Some rules in here are duplicates of rules from udev's 52 new 50-udev-defaults.rules file; remove them. Override permissions 53 where needed elsewhere (and document overrides in comments). 54 * 26-modprobe.rules: Provided by udev's 80-drivers.rules and built-in 55 modaliases for SCSI device-type modules in 2.6.22+ kernels; remove. 56 57 * 25-lfs.rules: Move to 51-lfs.rules. 58 * 27-firmware.rules: Move to 81-firmware.rules. 59 * 81-cdrom.rules: Move to 61-cdrom.rules. 60 61 * doc/25-lfs.txt: Rename to 51-lfs.txt. 62 * doc/26-modprobe.txt: Rename to 80-drivers.txt, and modify to reflect 63 the upstream rules. 64 * doc/27-firmware.txt: Rename to 81-firmware.txt. 65 * doc/81-cdrom.txt: Rename to 61-cdrom.txt. 66 67 * Makefile: Use new filenames. 61 68 62 69 2007-07-31 Dan Nicholson <dnicholson@linuxfromscratch.org> 63 64 65 66 70 * 25-lfs.rules: Changed the usb_device rule tto create /dev/bus/usb 71 nodes if the usb_device in 2.6.22+ kernels. The rule was also changed 72 to only trigger on "add" events. This change is not backwards 73 compatible with older kernels. 67 74 68 75 2007-06-12 Dan Nicholson <dnicholson@linuxfromscratch.org> 69 70 76 * 25-lfs.rules: Fix the CPUID nodes from cpu/%n/cpu to cpu/%n/cpuid, 77 which is what's expected in userspace apps such as x86info. 71 78 72 79 2007-06-08 Bryan Kadzban <bryan@linuxfromscratch.org> 73 74 75 76 77 2007-03-04 Matthew Burgess 78 79 80 * 25-lfs.rules: Add rules for DVB devices (create nodes in /dev/dvb/) 81 and floppies (create extra nodes based on CMOS type), copied from 82 the SuSE rules file. Thanks to Alexander Patrakov for the bugreport. 83 84 2007-03-04 Matthew Burgess <matthew@linuxfromscratch.org> 85 * Makefile: Use `udevd --version' to work out what version of Udev is 86 installed (requires Udev >= 106) 80 87 81 88 2007-01-02 Bryan Kadzban <bryan@linuxfromscratch.org> 82 83 89 * 25-lfs.rules: Change CPU devices (cpu, msr, microcode) to be in 90 /dev/cpu/ and /dev/cpu/N/, to match Documentation/devices.txt. 84 91 85 92 2006-10-21 Bryan Kadzban <bryan@linuxfromscratch.org> 86 87 88 89 90 91 92 93 93 * Makefile: Add a missing backslash in install-extra-doc. 94 95 * 05-udev-early.rules, 60-persistent-input.rules, 96 60-persistent-storage.rules, 95-udev-late.rules: Remove. The book 97 will install these files from udev's etc/udev/rules.d directory 98 instead. 99 * Makefile: Don't install these rules files after all. Also, only 100 install corresponding docs if requested. 94 101 95 102 2006-10-20 Bryan Kadzban <bryan@linuxfromscratch.org> 96 97 103 * Makefile: Added; contains targets to install rules and doc files. 104 From Dan Nicholson. 98 105 99 106 2006-10-14 Bryan Kadzban <bryan@linuxfromscratch.org> 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 107 * 05-udev-early.rules, 60-persistent-storage.rules: Sync up with 108 upstream sample rules files (from udev-102), except for one rule 109 which is more specific in our tarball and should probably be changed 110 upstream. 111 * doc/60-persistent-storage.txt: Modify to match the changes. Also 112 fix a couple typos. 113 114 * 25-lfs.rules: Remove duplicate rules (ttyS[0-9]* is also matched by 115 tty[BC...S...][0-9]*, and ttyUSB[0-9]* is in there twice). 116 117 * 25-lfs.rules: Fix Alsa device KERNEL rules. Udev uses shell-style 118 glob matching, not regular expressions, so the old rules would match 119 nonsense device names like hw0asdf and pcmDzxcv. As long as the first 120 character after the "fixed" portion was in the list, the rule would 121 match; it wouldn't apply the same character range to later characters. 122 123 * doc/25-lfs.txt: Add a note on interaction between permissions and 124 symlinks. 118 125 119 126 2006-10-09 Bryan Kadzban <bryan@linuxfromscrtach.org> 120 121 122 123 124 127 * 25-lfs.rules: Fix fb[0-9]* device permissions (should use the default 128 0660). 129 130 * doc/25-lfs.txt: Fix typo: /dev/ptmx is given mode 0666, not 0660. 131 Also tweak the comment about other TTY devices. 125 132 126 133 2006-10-04 Bryan Kadzban <bryan@linuxfromscratch.org> 127 128 129 130 134 * 05-udev-early.rules: Remove WAIT_FOR_SYSFS="bus" rule. With kernel 135 2.6.18, this rule is no longer required. 136 137 * doc/05-udev-early.txt: Update to match. 131 138 132 139 2006-09-28 Bryan Kadzban <bryan@linuxfromscratch.org> 133 134 135 136 137 138 139 140 140 * doc/60-persistent-storage.txt: Explain persistent storage rules, or 141 at least the parts I understand. (I don't use DASD or netblock or 142 several other supported configurations.) 143 144 * doc/81-cdrom.txt: Explain 81-cdrom.rules. 145 146 * doc/95-udev-late.txt: Explain 95-udev-late.rules. Documentation is 147 now finished. 141 148 142 149 2006-09-26 Bryan Kadzban <bryan@linuxfromscratch.org> 143 144 150 * doc/60-persistent-input.txt: Explain (in probably too much detail) 151 60-persistent-input.rules. 145 152 146 153 2006-09-24 Bryan Kadzban <bryan@linuxfromscratch.org> 147 148 149 150 151 154 * doc/05-udev-early.txt: Rewrap to fit 80 columns. 155 156 * doc/26-modprobe.txt: Explain 26-modprobe.rules, and modaliases. 157 158 * doc/27-firmware.txt: Explain 27-firmware.rules. 152 159 153 160 2006-09-24 Bryan Kadzban <bryan@linuxfromscratch.org> 154 155 156 161 * doc/25-lfs.txt: Explain 25-lfs.rules. 162 163 * 25-lfs.rules: Use SYMLINK+= for isdn/capi20 also. 157 164 158 165 2006-09-23 Bryan Kadzban <bryan@linuxfromscratch.org> 159 160 161 162 166 * doc: New subdirectory to contain documentation of rules 167 * doc/README: New file, top-level documentation 168 * doc/*.txt: New documentation files, one for each rules file. Only 169 05-udev-early.txt has anything in it. 163 170 164 171 2006-09-23 Bryan Kadzban <bryan@linuxfromscratch.org> 165 166 167 172 * 25-lfs.rules: Add "ignore_device" to OPTIONS for DRI devices, instead 173 of setting NAME to an empty string. This matches the way we ignore 174 devmapper / LVM devices. 168 175 169 176 2006-09-22 Bryan Kadzban <bryan@linuxfromscratch.org> 170 171 172 173 174 175 176 177 * 60-persistent-input.rules, 95-udev-late.rules: Import from udev-100. 178 60-persistent-input.rules creates persistent symlinks for input 179 devices, and 95-udev-late.rules enables udevmonitor. 180 181 * 60-persistent-storage.rules: Replace ATTRS{../removable} with just 182 ATTRS{removable} on partition devices. Replace ATTRS{removable} 183 with ATTR{removable} on whole-disk devices. 177 184 178 185 2006-09-20 Bryan Kadzban <bryan@linuxfromscratch.org> 179 180 181 186 * 05-early.rules: Missed a rule in the last change. ENV{PHYSDEVBUS} 187 in the rule that waits for the "bus" symlink should be replaced by 188 SUBSYSTEMS. 182 189 183 190 2006-09-20 Bryan Kadzban <bryan@linuxfromscratch.org> 184 185 186 187 188 189 190 191 192 193 194 191 * Adapted rules to the new matches used in udev-098 and above (e.g., 192 SYSFS becomes ATTRS). Prevents warnings, and support for the old 193 matches will be removed eventually. These rules will not work with 194 udev-097 and before! 195 * Fixed several bugs in the rules left over from previous udev 196 versions (missing commas, overwriting user symlinks using ="..." 197 instead of +="...", and matching against "*" instead of "?*"). 198 199 * Renamed CHANGELOG to ChangeLog, started using pseudo-GNU-format 200 entries. (See standards.info; search it for "changelog" to get 201 the general gist.) 195 202 196 203 dnicholson - Jul 14, 2006 197 198 204 * Fixed usbdev PROGRAM so that it works with the BusyBox sh. Thanks 205 to Anthony Wright. 199 206 200 207 n/a - Jul 12, 2006 201 202 203 204 208 * Added options so temporary nodes are not created with device-mapper 209 * Adapted cdrom rules to identify CD-ROM drives correctly by adding 210 SUBSYSTEM=="block" test. 211 * Added simple 81-cdrom.rules file to set cdrom group ownership 205 212 206 213 n/a - Jun 07, 2006 207 208 209 210 214 * Removed nvidia rules 215 * Removed bug reporting rule 216 * Moved Debian-based persistent CD-ROM rules to contrib 217 * Adapted firmware rule to udev-093 211 218 212 219 n/a - May 15, 2006 213 214 220 * Part one of 25-lfs.rules rewrite 221 * Some minor tweaking of the layout 215 222 216 223 n/a - May 12, 2006 217 218 219 224 * Initial import of the udev-config directory. 225 * Reorganized and modularized the rules files. 226 * Added explanatory comments
Note:
See TracChangeset
for help on using the changeset viewer.