LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2010, 05:56 AM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Rep: Reputation: 30
Firewire IEEE 1394 hard drive detection


Dear all,
When I insert a firewire hardrive, I got log message that the harddrive was discovered, but I don't know how to access this. Is the harddrive automatically mounted, or do I have to do it manually? How can I figure the name of the device out?

Regards,
ethereal1m
 
Old 03-28-2010, 06:06 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,775

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Try fdisk -l
What is configured to mount on bootup is in /etc/fstab. In /etc/mtab, current mounts are listed. If your new drive is there, it's mounted.
 
1 members found this post helpful.
Old 03-28-2010, 06:13 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
I don't know if your distro (slackware I presume) has configured auto mounting. There are several options, depending on whether you want to use automounting and have it mounted on /media, or if you would rather mount it manually.

If you use the KDE 4 desktop, there is a "Device Notifier" widget you could add to your panel. This is assuming that the other components are set up for automounting. It may be all you are missing.

Also look at the "ivman" package. Mounting an external drive could be as simple as "halmount /dev/sde2" for example.

You could create an entry for your firewire drive in the /etc/fstab file. Use the "blkid" program as root to identify the UUID number of the drive. Here is an example:
Code:
sudo /sbin/blkid /dev/sde2
root's password:
/dev/sde2: UUID="5783d30e-8dc4-447a-80f4-8952129e9d9e" TYPE="ext3"
You can also look at "ls -l /dev/disk/by-uuid/*" to identify the UUID. Some people prefer to use the label of the filesystem instead.
Now in my example, I could add:
Code:
UUID=5783d30e-8dc4-447a-80f4-8952129e9d9e /mnt/firedrive ext3 rw,user,noauto,user_xattr,acl 0 0
to my /etc/fstab file. This would allow me to mount this ext3 filesystem as a normal user. The options will vary depending on the filesystem you are using. In particular (user_xattr,acl) won't be used for a VFAT or NTFS filesystem.
The noauto is used to prevent a bootup failure if the drive isn't plugged in when you boot.
The user option is used to allow a regular user to mount this filesystem. (for vfat or ntfs you also need uid=<yourusername>)

If you have something else in mind or have further questions, please provide more information. Your disto you are using, your desktop environment, the filesystem used on the external drive and where you want to mount it.

Last edited by jschiwal; 04-04-2010 at 01:49 PM. Reason: Removed quotation marks from around UUID
 
1 members found this post helpful.
Old 03-28-2010, 06:26 AM   #4
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
ok, I read my firewire hard drive there, but it says"

"this doesn't look like a partition table. Probably you selected the wrong device."

What does this mean? Also how can I access those file in the device?
thanks
 
Old 03-28-2010, 06:35 AM   #5
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
Apparently when I go to KDE, I can access those files through device notifier, which means slackware has automount. But how can I access those files via Linux command line? Where is it located in the file system? thanks
 
Old 03-28-2010, 07:11 AM   #6
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
Ok, I got it. Thanks for the helps.
 
  


Reply


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
HOWTO use firewire (IEEE 1394) to connect laptops SaintDanBert Linux - Networking 3 11-01-2009 07:35 PM
Installing Linux on an external firewire (ieee 1394) drive astromac Linux - Newbie 3 05-11-2006 08:35 PM
Linux Kernel 2.6.2 / Firewire / IEEE 1394 / KDE muzicman82 Linux - Hardware 3 02-17-2004 12:01 PM
IEEE 1394 DVD Burner Detection Problem (RH9) jasp0002 Linux - Hardware 0 08-26-2003 09:48 AM
Ieee 1394 one9ooh6 Linux - Newbie 1 07-15-2003 01:32 PM


All times are GMT -5. The time now is 11:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration