Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Public use usb ports
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
PovMan
Guru
Guru


Joined: 30 Sep 2002
Posts: 375
Location: Australia

PostPosted: Fri Aug 27, 2004 6:08 am    Post subject: Public use usb ports Reply with quote

At my university, the lab computers have usb ports on the front but are not accessible. I emailed the admin about it and he replied saying
Quote:
... But what happens if the
filesystem isn't on the first partition? (some USB sticks have the
whole device as a single filesystem with no partition table). We would
clearly need a /dev/sda entry, and possibly /dev/sda[2-4] entries as well.

More importantly, what happens when the next person comes in and uses
their USB memory stick? The kernel will detect that it is a different
stick and allocate it to /dev/sdb[1-4]. The next one will be /dev/sdc etc. ...

So clearly a static fstab entry is not sufficient. What sort of daemon needs to be running that will autodetect usb devices and mount them? Also he commented on the fact that people could simply pull the device out without unmounting which would cause problems.
Thanks for any tips.
_________________
I am SPAM, hear me roar.
Before posting your own topic, try to answer at least one unanswered one.
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Fri Aug 27, 2004 6:14 am    Post subject: Reply with quote

Prime candidate for udev and cohorts isn't it?
I've set up subfs for my USB key, and I can pull it out without unmounting. Works perfectly. I'm not brave enough to pull it out while it's in the middle of a write though....
Back to top
View user's profile Send private message
PovMan
Guru
Guru


Joined: 30 Sep 2002
Posts: 375
Location: Australia

PostPosted: Fri Aug 27, 2004 10:41 am    Post subject: Reply with quote

heh that's exactly what i was thinking, not sure if the admin wants to install udev though. i can probably live without it
_________________
I am SPAM, hear me roar.
Before posting your own topic, try to answer at least one unanswered one.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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