You are not logged in.

#1 2008-05-15 20:45:04

bzreed
Member
Registered: 2008-05-15
Posts: 9

attaching a firewire hard drive via rc.local

Hello,

I have a question about modules, firewire and rc.local.

I have an external hard drive connected via firewire. I was not able to connect to that drive immediately following the installation of Arch.

To fix the problem I added (sbp2 - hard disk support) to the file named, /etc/rc.local:
#Begin file
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
modprobe sbp2
#End file

I also edited the fstab so that mounting would be automatic.  After rebooting I am able to access the firewire drive.
Although it is now working my question is, did I do this correctly?  Or is there a better, more efficiant way to go about accessing an external firewire hard drive?

Thank you for your time and help.

Brian

Offline

#2 2008-05-15 22:22:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: attaching a firewire hard drive via rc.local

Instead of using rc.local, add the module to the MODULES array in /etc/rc.conf.

Offline

#3 2008-05-15 23:48:12

bzreed
Member
Registered: 2008-05-15
Posts: 9

Re: attaching a firewire hard drive via rc.local

Hi tomk,

I did what you said and everything works great.

Thank you for your time and help.

Brian

Offline

#4 2008-05-16 06:06:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: attaching a firewire hard drive via rc.local

/etc/rc.conf is the principle configuration file for your Arch system. If you are unfamiliar with it, read the comments it contains. You will also find additional details in the wiki.

Offline

Board footer

Powered by FluxBB