Jump to content

Firewire: how can I keep from automounting?


Guest alang
 Share

Recommended Posts

I have a machine that I'm using to do some backup stuff. It has internal drives and one external firewire drive (at a time) that it backs up to once a week. We swap that one out every week and use it as an off-site backup.

 

I don't want it (or any other firewire drive) to automount when I plug it in, but I do want it to be detected as sda.. I want my backup script to mount it, copy to it, and then unmount it, so that it can be safely unplugged any time except when it is actually writing. And yes, I know, journalled file systems, blah, blah, perfectly safe, blah, I don't want to unplug things without unmounting them beforehand, and it is likely that this drive will be unplugged before it is backed up to at least occasionally.

 

What do I have to do to make this happen? I know how to mount and unmount the drive; I just need to know how to prevent the initial automount.

 

--Adam

Link to comment
Share on other sites

I have a machine that I'm using to do some backup stuff.  It has internal drives and one external firewire drive (at a time) that it backs up to once a week.  We swap that one out every week and use it as an off-site backup.

 

I don't want it (or any other firewire drive) to automount when I plug it in, but I do want it to be detected as sda..  I want my backup script to mount it, copy to it, and then unmount it, so that it can be safely unplugged any time except when it is actually writing.  And yes, I know, journalled file systems, blah, blah, perfectly safe, blah, I don't want to unplug things without unmounting them beforehand, and it is likely that this drive will be unplugged before it is backed up to at least occasionally.

 

What do I have to do to make this happen?  I know how to mount and unmount the drive; I just need to know how to prevent the initial automount.

 

--Adam

I have an addition to this question :help: . What lines go in the modprobe.conf file in order to get the modules to load a boot time ? I had to add this card manually, and I want it to be detected automatically when I boot up ? Please and thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...