FreeBSD Bugzilla – Attachment 123337 Details for
Bug 166664
[patch] patch devd(8) to note /sbin/devd parses backward through devd.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.61 KB, created by
jhs
on 2012-04-05 11:50:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jhs
Created:
2012-04-05 11:50:05 UTC
Size:
1.61 KB
patch
obsolete
>*** 8.2-RELEASE/src/sbin/devd/devd.8 Thu Apr 5 12:16:45 2012 >--- new-generic/src/sbin/devd/devd.8 Thu Apr 5 12:29:41 2012 >*************** >*** 129,134 **** >--- 129,166 ---- > .Ux > domain socket at > .Pa /var/run/devd.pipe . >+ .Sh BUGS >+ .Pa /sbin/devd >+ parses backward (not forwards as a human editing >+ .Pa /etc/devd.conf >+ would intuitively expect), looking for a match. >+ .br >+ Example: zogi is seen as mueller, unless the lower sernum uncommented. >+ .in +2 >+ .nf >+ attach 1000 { # ZOGI name on case >+ match "vendor" "0x058f" ; >+ match "product" "0x6387" ; >+ match "sernum" "47F0CAFA" ; >+ match "release" "0x0103" ; >+ action "sleep 2; rm -f /devusb/zogi; \ >+ ln -s /dev/`echo $device-name|sed -e s/umass/da/`s1 /devusb/zogi;\ >+ fsck -y -t msdosfs /devusb/zogi; mkdir /usb/zogi ; \ >+ chmod 777 /usb/zogi ; mount -t msdosfs /devusb/zogi /usb/zogi" ; >+ }; >+ attach 1000 { # bought from Mueller >+ match "vendor" "0x058f" ; >+ match "product" "0x6387" ; >+ match "release" "0x0103" ; >+ # match "sernum" "67843FC2" ; >+ action "sleep 5 ; \ >+ rm -f /devusb/mueller ; \ >+ ln -s /dev/`echo $device-name|sed -e s/umass/da/`s1 /devusb/mueller; \ >+ mkdir /usb/mueller ; chmod 777 /usb/mueller ; \ >+ mount -t msdosfs /devusb/mueller /usb/mueller" ; >+ }; >+ .fi >+ .in -2 > .Sh FILES > .Bl -tag -width ".Pa /var/run/devd.pipe" -compact > .It Pa /etc/devd.conf
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 166664
: 123337