The C Source, Patches and (shudder!) Bugs
Post Reply
skoehler
Posts: 3
Joined: Tue Nov 04, 2014 1:53 pm

Have an extension for all usb_modeswitch.d

Post by skoehler » Fri Nov 14, 2014 10:22 pm

Hey,

I'd like to recommand to have a file extension for all files in the usb_modeswitch.d directories. The idea is to have usb_modeswitch ignore all files that don't have that file extension. Editors create *.bak files or in my case *~ files.

It's nice that usb_modeswitch logs a message if you have multiple files for the same VID/PID. But having a proper file extension seems like a idea to me.

There used to a version of modprobe which considered all files in /etc/modprobe.d/. But they also switched to only *.conf files - probably for the same reason that editors leave *.bak or *~ files behind.

Post Reply