View previous topic :: View next topic |
Author |
Message |
PovMan Guru
Joined: 30 Sep 2002 Posts: 375 Location: Australia
|
Posted: Fri Aug 27, 2004 6:08 am Post subject: Public use usb ports |
|
|
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 |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Fri Aug 27, 2004 6:14 am Post subject: |
|
|
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 |
|
|
PovMan Guru
Joined: 30 Sep 2002 Posts: 375 Location: Australia
|
Posted: Fri Aug 27, 2004 10:41 am Post subject: |
|
|
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 |
|
|
|