LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2013, 10:11 AM   #1
mikem13
LQ Newbie
 
Registered: Feb 2012
Location: Magnolia, TX
Distribution: rhel6u1
Posts: 1

Rep: Reputation: Disabled
modprbe.conf deprecated


I see lots of questions about modprobe.conf being deprecated. The answer (and the error message) say all files belong to /etc/modprobe.d. That's not an answer. Maybe the questions are too vague.
I need to make sure a driver is excluded from the initramfs file. Will creating an entry in /etc/modprobe.d/blacklist prevent this driver from being built into the initramfs?
It's a remote system so it's hard to recover from a mistake.
 
Old 08-20-2013, 03:41 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
All files in /etc/modprobe.d/ should end with [/i].conf[/i], otherwise they are ignored. The blacklist keyword (inside the file!) makes sure that the module is ignored.

Here's a simple example:
Code:
echo "blacklist drivername" > /etc/modprobe.d/blacklist-drivername.conf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cp --reply=yes deprecated!! fredsub Linux - General 1 08-25-2008 09:43 PM
deprecated function in C++ knobby67 Programming 5 08-11-2008 06:26 PM
initlog is deprecated powah Linux - Software 0 11-12-2007 01:30 PM
initlog is deprecated powah Linux - General 0 10-31-2007 03:32 PM
modprobe doesn't work; why is modprobe.conf deprecated in slack 12? aquilolumen Slackware 13 08-26-2007 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration