Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Ok so i wish to set my computer so that when i plug in my 80gb usb drive it will automount (currently using "mount /dev/sda5"). Below is a copy of my /etc/fstab file
I also have a dodgy drive D that sits on my desktop as a shortcut by when i click on it, it say "could not create dbus message"
So my question is what should the fstab look like so that the usb will mount automatically when plugged in and how do i remove the D drive sitting on my desktop.
Ok, doing what you suggested above removed the hdd icon from my desktop labelled D but in order to get access to the usb drive i still need to do "mount /dev/sda5" so that clicking on the "80gb usb" icon allows access
Any ideas?
When i type "mount /dev/sda5" the desktop symbol change slightly!
When i Click on the "80gb usb" symbol that appears when i plug in my usb drive results in the following error message:
/dev/sda5 found in /etc/fstab
does this mean that two things are asigned the same /dev/sda5?
Auto mount using "auto" option in fstab only works on boot. If you have the USB drive plugged in before you boot, linux assigns it differently than if you use hotplug. I think what you meant to say is:
"/dev/sda5 not found in /etc/fstab"
When you plug in the USB drive, do
dmesg | tail
and see where hotplug assigned it. Then, manually mount it, or make a line in fstab for that device, too.
That problem I have is before I changed suse 10.1 to run with xgl, plugging in my usb drive allowed me immediate access without the need for typing "mount /dev/sda5". Now when i plug it in a icon appears on the desktop and if i double click it, it says "/dev/sda5 found in /etc/fstab" (checked it again). When i then type "mount /dev/sda5" ithe icon changes and allows me to access it.
What I am looking to do is edit my fstab so that when linux is already booted plugging in my usb drive allows me to access it without out opening the terminal and typing "mount /dev/sda5"
IS this possible anymore?
P.s I am a newbie! So I would not know what to added to fstab to mount the usb device!
p.p.s Right clicking on the icon and selecting "mount" will produce the "/dev/sda5 found in /etc/fstab" error also?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.