Re: Which device assigned to removable media

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/03/2010 03:36 PM, Geoffrey Leach wrote:
> 
> My original post was somewhat unclear. The question was which device is 
> assigned to the disk when it's plugged in so I can know which device to 
> mount.
> 
> It appears that if I look at /dev/disk/by-label, the device name -- 
> Sansa\x20e250 for example, is a symbolic link to the device -- ../../
> sdb1 for example. I can then mount /dev/sdb1.
> 
> Thanks to all who replied.
> 
> Geoffrey
By default, it gets the next free SCSI ID. This depends on what else
is connected. This is a problem with removable drives. This is why
we have UUID. When a drive has a UUID, you can mount the drive using
that, instead of its device. (man uuidgen) You probably already have
some examples of using UUID to mount drives in /etc/fstab, and
possible in /boot/grub/grub.conf.

UUID=ea762d79-2df7-4af6-9029-577347e093f8 /boot ext2 defaults 1 2

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux