LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-31-2007, 11:03 PM   #1
thelonius
Member
 
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Rep: Reputation: 15
mounting external drives


Hello,

I wonder how to respond to the following questions I deal with since some time:

1. I want to attach an external hard disc and an usb flash disc to different devices, in other terms, I want to have in my fstab file two lines corresponding to the mount of two devices. The problem here is that both discs are attached to the same /dev/sda1, and therefore I cannot say to fstab - "put ext3 from /dev/sda1 to /mnt/data" or "put vfat from /dev/sda1 to /mnt/flash"

and

2. when I plug in one of the discs (or both) on the running system, i want that the discs are mounted automatically. The problem here I guess is that automatic mount is possible only for the plugged disc during the loading of the system. Correct me if I'm wrong

Thank you in advance.
 
Old 04-01-2007, 07:13 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by thelonius
Hello,

I wonder how to respond to the following questions I deal with since some time:

1. I want to attach an external hard disc and an usb flash disc to different devices, in other terms, I want to have in my fstab file two lines corresponding to the mount of two devices. The problem here is that both discs are attached to the same /dev/sda1, and therefore I cannot say to fstab - "put ext3 from /dev/sda1 to /mnt/data" or "put vfat from /dev/sda1 to /mnt/flash"

and

2. when I plug in one of the discs (or both) on the running system, i want that the discs are mounted automatically. The problem here I guess is that automatic mount is possible only for the plugged disc during the loading of the system. Correct me if I'm wrong

Thank you in advance.
with KDE 3.5 and latest Gnome along with udev all usb drives should mount automatically .

You may want to invest at getting Udev working for you.

my USB devices by default in Suse mount like so
/media/<volumelabel>

Ubuntu does it slightly different they chose
/tmp/<random>

both KDE and Gnome creat a desktop icon for the above using Udev
 
Old 04-01-2007, 09:08 AM   #3
thelonius
Member
 
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Original Poster
Rep: Reputation: 15
great

thanks
 
  


Reply



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
Mounting USB drives (external HD and two at once) jrdioko Linux - Software 4 07-25-2006 06:40 PM
Mounting External DVDs, Flash Drives, etc. depam Linux - Software 4 02-09-2006 03:07 PM
mounting external hard drives Moebius Linux - Newbie 5 06-19-2004 08:39 PM
External Drives (iPod and Pen Drives) dhbiker Slackware 13 04-08-2004 06:36 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:40 PM.

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