LinuxQuestions.org
Register a domain and help support LQ
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 01-14-2010, 08:08 AM   #16
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670

Two general points. For removable drives, don't use the device node in your fstab file. Use the UUID for that device instead. Then if the device is /dev/sde1 one time and /dev/sdd1 the next, it will still mount.
The first column should look like:
UUID=14D23645D2362AFE

Unfortunately, the udevinfo program may not be available anymore. It was easier to use and didn't need to be run as root. Here I am learning the UUID of a partition using the "udevadm" program:

sudo /sbin/udevadm info --query=all --name=/dev/sda1
P: /devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1
N: sda1
W: 16
S: block/8:1
S: disk/by-id/ata-TOSHIBA_MK2049GSY_48CYT01OT-part1
S: disk/by-id/scsi-SATA_TOSHIBA_MK2049G_48CYT01OT-part1
S: disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1
S: disk/by-uuid/14D23645D2362AFE

I only need to do this once however. You could also list "/dev/disk/by-uuid/" to learn this information.

The second point is that you can't mount audio CDs. Audio CDs do not have filesystems.

Last edited by jschiwal; 01-14-2010 at 08:10 AM.
 
1 members found this post helpful.
  


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
Unable to mount usb device manually randomx Debian 3 07-18-2009 03:36 PM
Unable to mount a usb device since upgrade bcjohnson Linux - Hardware 4 06-09-2009 04:13 AM
Booting stops after: Unable to access resume device, mount: could not mount ... lespaul047 Linux - Newbie 2 04-06-2009 06:50 PM
apple itouch and ubuntu unixcion Linux - Newbie 2 03-22-2009 09:20 PM
unable to mount device latuzim Linux - General 8 10-23-2004 08:03 PM


All times are GMT -5. The time now is 09:29 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