On Tue, 04 May 2010 16:26:42 +0200, Jerry Feldman <gaf@xxxxxxx> wrote: > On 05/03/2010 06:28 PM, g wrote: >> Geoffrey Leach wrote: >> <snip> >> >> >>> 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. >>> >> so what happens when you use commands 'df' or 'mount'? >> >> i do not have an eSATA drive to check with, but i do know that when plug >> in a usb memory stick, i get following. >> >> +++ >> $ mount|grep /dev|sort >> /dev/hda1 on / type ext3 (rw) >> /dev/hda3 on /home type ext3 (rw) >> /dev/hdb6 on /hd/b/06 type ext3 (rw) >> devpts on /dev/pts type devpts (rw,gid=5,mode=620) >> /dev/sde on /media/disk type vfat >> (rw,noexec,nosuid,nodev,noatime,uid=500,utf8,shortname=lower) >> tmpfs on /dev/shm type tmpfs (rw) >> >> $ df|sort >> /dev/hda1 8076508 3842888 3816736 51% / >> /dev/hda3 10721904 6261968 3906500 62% /home >> /dev/hdb6 4814936 140776 4429572 4% /hd/b/06 >> /dev/sde 254218 3208 251010 2% /media/disk >> Filesystem 1K-blocks Used Available Use% Mounted on >> tmpfs 192676 0 192676 0% /dev/shm >> +++ >> >> >> therefore, i tend to presume that if you set up your eSATA drive in >> '/etc/fstab' for auto mount and connected it, then 'mount' and 'df' >> should show you your eSATA drive. >> >> as i said, i do not have a eSATA to try and i may be wrong. >> >> [and yes, i am not currently under f12. having too many problems with >> kde at this time.] >> >> > As Geoff said previously, if you use /dev/disk/by-label in fstab, then > it does not matter where the disk is inserted in relation to the other > drives. Since eSata drives may be hot pluggable, this is the best option > as the physical device (/dev/sdx) may change. Additionally, the newer > Linux releases now use the SCSI designation, even for IDE drives so you > should not see and /dev/hdx designations any longer. > I you plug in a new device why don't you do: dmesg |tail -- Roland Brouwers -- 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