SCIENTIFIC-LINUX-USERS Archives

June 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Alan Bartlett <[log in to unmask]>
Reply To:
Alan Bartlett <[log in to unmask]>
Date:
Sun, 19 Jun 2011 20:29:57 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
On 19 June 2011 20:13, Yasha Karant <[log in to unmask]> wrote:

<snip>

> Does anyone know the correct syntax and file entry to make the kernel
> automatically load the driver during boot?

It is quite straightforward. Create a file
/etc/sysconfig/modules/floppy.modules (uid == gid == 0, mode 0755)
with the following contents:

#!/bin/sh

/sbin/modprobe floppy >/dev/null 2>&1

Alan.

ATOM RSS1 RSS2