Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
n00b quickie - add USB to fstab?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
colin_stewart
n00b
n00b


Joined: 13 Mar 2004
Posts: 63
Location: England

PostPosted: Sun Mar 14, 2004 11:51 pm    Post subject: n00b quickie - add USB to fstab? Reply with quote

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 ? 8O
_________________
Cheers,
Colin
Back to top
View user's profile Send private message
Mattwolf7
n00b
n00b


Joined: 14 Mar 2004
Posts: 73

PostPosted: Mon Mar 15, 2004 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
colin_stewart
n00b
n00b


Joined: 13 Mar 2004
Posts: 63
Location: England

PostPosted: Mon Mar 15, 2004 1:28 am    Post subject: Reply with quote

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
View user's profile Send private message
mavar
n00b
n00b


Joined: 10 Mar 2004
Posts: 20
Location: Sweden

PostPosted: Mon Mar 15, 2004 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
colin_stewart
n00b
n00b


Joined: 13 Mar 2004
Posts: 63
Location: England

PostPosted: Mon Mar 15, 2004 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Mon Mar 15, 2004 2:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum