View previous topic :: View next topic |
Author |
Message |
colin_stewart n00b
Joined: 13 Mar 2004 Posts: 63 Location: England
|
Posted: Sun Mar 14, 2004 11:51 pm Post subject: n00b quickie - add USB to fstab? |
|
|
since my KB and trackball are both USB, should I add the line
"none /proc/bus/usb usbfs defaults 0 0"
to my first ever fstab?
Or am I taking things a bit far now?
I may add other USB stuff as we go along, I got a USB FM radio and a camera already and may add drives and a tablet perhaps too I guess, is it best to add this all now?
Oh does this get me USB 1.0 1.1 or 2.0 ? _________________ Cheers,
Colin |
|
Back to top |
|
|
Mattwolf7 n00b
Joined: 14 Mar 2004 Posts: 73
|
Posted: Mon Mar 15, 2004 12:04 am Post subject: |
|
|
No fstab is only for filesystems.
The usbfs is only required for pen drives that use usb.
Look at the manual entry for fstab to learn about what it does:
#man fstab |
|
Back to top |
|
|
colin_stewart n00b
Joined: 13 Mar 2004 Posts: 63 Location: England
|
Posted: Mon Mar 15, 2004 1:28 am Post subject: |
|
|
Mattwolf7 wrote: | No fstab is only for filesystems.
The usbfs is only required for pen drives that use usb.
Look at the manual entry for fstab to learn about what it does:
#man fstab |
Thanks for the pointer - I'll follow that one up.
I'm a bit new to all this, so I am probably getting confused, but I have a camera that is USB and it behaves like an external removable media drive on other OSes, isn't this what a pen drive does? Also got a card reader which does much the same for another camera. Do these have to have some other way to be mounted then?
I can't imagine both camera makers produced software for linux users to do this. And if not them, then who would? The card reader makers certainly made no mention of catering for it either.
Puzzled _________________ Cheers,
Colin |
|
Back to top |
|
|
mavar n00b
Joined: 10 Mar 2004 Posts: 20 Location: Sweden
|
Posted: Mon Mar 15, 2004 12:38 pm Post subject: |
|
|
Not that I'm an expert at this, but if you do the following
Code: | cat /proc/bus/usb/devices |
you should see a listing of any USB devices currently connected to your machine.
Most camera manufacturers follow one standard when it comes to their storage, which makes all things easier for us users and the heroic developers making it possible for us to connect to our toys.
Check out this page for more specific information regarding cameras and USB storage overall.
http://www.teaser.fr/~hfiguiere/linux/digicam.html
Regards,
/Magnus _________________ "Me Hack, you Bug!"
--
Project page at http://carlscrona.se/~mavar
Contains the Emerge Filter script among other things. Registered Linux User #247547 |
|
Back to top |
|
|
colin_stewart n00b
Joined: 13 Mar 2004 Posts: 63 Location: England
|
Posted: Mon Mar 15, 2004 1:45 pm Post subject: |
|
|
mavar wrote: | Not that I'm an expert at this, but if you do the following
Code: | cat /proc/bus/usb/devices |
you should see a listing of any USB devices currently connected to your machine.
Most camera manufacturers follow one standard when it comes to their storage, which makes all things easier for us users and the heroic developers making it possible for us to connect to our toys.
Check out this page for more specific information regarding cameras and USB storage overall.
http://www.teaser.fr/~hfiguiere/linux/digicam.html
Regards,
/Magnus |
OK, and thanks, being that I have not yet got this machine working at all, the cameras are working with the windows boxes for now, so the "cat" will come in handy later when the gentoo box is functioning as desired. I was just wondering wether it was worth adding in usbfs into the mix for my first ever go at a fstab, or whether it's something I could do later. Now I'm slightly more bewildered than when I first asked. So for now I'm going to leave it out, and try to fix it if it seems to become a problem. It's about all I can do for the moment, I got some other stuff which isn't working out as it should, but which is preventing it from finishing a full boot up. I think that's got to get fixed as a top priority now.
Thanks for the info, it will have it's moment shortly I am fairly sure. _________________ Cheers,
Colin |
|
Back to top |
|
|
nevynxxx Veteran
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Mon Mar 15, 2004 2:07 pm Post subject: |
|
|
One problem with usb storage is that the device names in dev (sda, sdb etc) are allocated as yuo lug them in, so if you change the order, your fstab will be screwed up. This only matters if you have more than one camera/keyfob-flash-drive-thingy/usb card reader/usb hard drive/etc.
If you do look at udev, you can create rules to make sure they get the same name everytime and so can use fstab. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
|
|