lkml.org 
[lkml]   [2000]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: autoload scsi1 on access of /dev/sdc1
Last time I checked, doing 

alias scsi_hostadaptor aic7xxx

would do the trick. If your primary controller is also a module, then you
need to do:

alias scsi_hostadaptor aic7xxx
pre-install aic7xxx modprobe first_module_name

Matt

On Sun, Aug 20, 2000 at 02:47:45PM -0700, Stephen Williams wrote:
>
> I have a puzzle. I have a PD drive that I have attached to a second
> SCSI controller (AHA2930) and I configured the aic7xxx driver as a
> module. The disk in question appears as /dev/sdc.
>
> I set up an alias for scsi1, so "modprobe scsi1" does the right thing
> for me. However, what I would really like is for any attempt to mount
> /dev/sdc1 to autoload the aic7xxx module. After all, I only need it
> overnight, when dumps happen.
>
> The sd driver is *not* a module, and my main hard drives are on the
> Intraserver card, which is also not a module. It is just the aic7xxx
> module that I only need periodically, and I would like to only load
> when I need the third disk.
>
> This may not be possible, but hints are welcome.
>
> Linux/alpha 2.2.14
> --
> Steve Williams "The woods are lovely, dark and deep.
> steve@icarus.com But I have promises to keep,
> steve@picturel.com and lines to code before I sleep,
> http://www.picturel.com And lines to code before I sleep."
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/

--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver

A: The most ironic oxymoron wins ...
DP: "Microsoft Works"
A: Uh, okay, you win.
-- A.J. & Dust Puppy
User Friendly, 1/18/1998
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.025 / U:4.780 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site