On 25 May 2009, at 20:23, Альфар wrote:
...
Now make file /etc/udev/rule.d/z98-usb-flash.rules with this content
SUBSYSTEM=="block", SYSFS{idProduct}=="2338",
SYSFS{idVendor}=="152d", NAME="name" RUN+="/bin/mount /dev/name /
media/name"
Change idProduct and idVendor and to your data. And name too. With
this name your device will apear in /dev. And of course mkfir /media/
name
I hope you won't be offended, but this seems a whole load more complex
than the OP's single line in /etc/fstab, which really ought to work.
Of course /etc/fstab is no good if the drive's going to be plugged &
unplugged at whim throughout the day - I know there are better ways to
do that - but I would be bothered, myself, why something's not working
as it _so obviously_ ought to.
Mark: yes, I don't see any reason NOT to address by label (e2label or
whatever XFS / Reiser use) these days. The only thing I can think of
is that your USB drivers or the kernel module that does USB mass-
storage is not loaded in time during boot. Aren't there any messages
about failed mounts amongst the kernel messages on the screen?
Stroller.