Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-22-2004, 11:12 PM   #1
LQ Newbie
Registered: Oct 2003
Distribution: Slackware 10.0
Posts: 22

Rep: Reputation: 15
Integrating firewire & USB devices

Ok, I want to see if anybody has experience with or opinions relating to my "problem". I say problem only in the sense I want to make life easy and idiotproof for a couple of my periferals.

First of all, I'm running Slack 10.0, kernel-2.6.7 on my desktop machine and am 99% satisfied with it's current state. I can do everything I want and have grown very attached to Slack. One issue is lingering though.

I currently have a PCI firewire card for the sole purpose of charging/syncing my Ipod which I do very easily with GTKPod. I followed the instructions from their FAQ and have the Ipod automount/dismount with no problem. I have an entry in my fstab as such:

/dev/sda2 /mnt/ipod vfat rw,users,noauto 0 0

When I put my Ipod in the cradle, I run dmesg and see the ipod is recognized life is good.

Problem arose, though, when I recently decided to load some files from my thumbdrive. (I use thumbdrive loosely, I actually just have some old MMC cards from a former mp3 player that can only really be used for small off-computer storage with the addition of a $7 usb reader, but same principal) I read a bunch of posts about how to mount/dismount the thumbdrive and run the modprobe usb-storage to read the media, it worked, and I thought I was good. At the time, I didn't have my Ipod plugged in and when I plugged it in, I found the problem.

I read how Slack basically mounts these as scsi drives in order that they are detected. I.E., my Ipod was sda2 and this worked in the fstab when I only had one scsi drive (pseudo scsi) attached. So when I had both thumbdrive and Ipod attached, the first became sda2 (or sda1) and the other would be sdb1 (or sdb2) which would confuse things wihin fstab and when trying to mount the drives.

Now, this isn't a problem if I just choose to have a disciplined approach to always making sure my Ipod is connected before the thumbdrive thus making the Ipod sda2 and thumbdrive sdb2. I've tried this, it works, and I can live with it. But my question is this, is there a way for me to set it up so that I don't have to make sure one is connected for the other to work without all of the manual mounting/umounting?

Like I said, I can make both drives work now but I'm looking to elimate the dependency of sdb2 to have sda2 mounted. Thanks in advance.
Old 09-22-2004, 11:30 PM   #2
Senior Member
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Repartition your thumbdrive so that it goes to /dev/sdX3.
in that way you can add two lines in your fstab for each devices. Example:
/dev/sda2 /mnt/ipod vfat rw,users,noauto 0 0
/dev/sdb2 /mnt/ipod vfat rw,users,noauto 0 0
/dev/sda3 /mnt/thumbdrive vfat rw,users,noauto 0 0
/dev/sdb3 /mnt/thumbdrive vfat rw,users,noauto 0 0

I am sure alternative methods is available.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Lindy 7-port USB, Firewire & 10/100 LAN combo Card Sonic7600 Linux - Hardware 2 10-02-2006 01:21 PM
USB and Firewire devices not detecting floyd1966 Ubuntu 3 06-25-2005 01:41 PM
USB & Firewire ports on F1_1394 & F2_1394? newtwolinux Linux - Hardware 0 05-17-2005 08:42 PM
usb devices & red hat dlee Linux - General 4 10-27-2003 11:16 AM
RedHat & Firewire devices MkGlass Linux - Hardware 0 07-24-2003 01:29 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:30 AM.

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