LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 07:08 AM   #16
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682

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 07:10 AM.
 
1 members found this post helpful.
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:22 AM.

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