Page MenuHomeFreeBSD

Put the OTG entry in /etc/devd/otg.conf instead of /etc/devd.conf
AbandonedPublic

Authored by trasz on Jun 14 2018, 11:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 7, 8:30 PM
Unknown Object (File)
Mon, Apr 6, 3:59 PM
Unknown Object (File)
Sun, Apr 5, 10:55 PM
Unknown Object (File)
Sun, Apr 5, 8:21 AM
Unknown Object (File)
Sat, Apr 4, 2:17 AM
Unknown Object (File)
Mar 6 2026, 12:34 PM
Unknown Object (File)
Feb 22 2026, 7:47 AM
Unknown Object (File)
Feb 1 2026, 1:52 AM
Subscribers

Details

Reviewers
manu
gjb
andrew
Summary

Put the OTG entry in /etc/devd/otg.conf instead of /etc/devd.conf.
This way it won't get overwritten during an upgrade.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17256
Build 17098: arc lint + arc unit

Event Timeline

manu requested changes to this revision.Jun 14 2018, 2:56 PM

Why simply not add the file to the repo and copy it ?
Something like in share/example

This revision now requires changes to proceed.Jun 14 2018, 2:56 PM

But there already is an example, in the usual place: /etc/devd.conf, just commented out.