rozen
07-03-2006, 06:28 AM
Hi,
I am using a HD install of 5.0.1 and am having difficulty with usb-storage when I attach my KonicaMinolta 7d to an usb port. The camera is detected and a hard disk icon appears on the screen indicating sda. When I try to mount the device, the mount fails with an error indicating all sorts of possibilities including wrong options. I look in /etc/fstab and see that the following line has been added:
/dev/sda /media/sda vfat noauto,users,exec,umask=000,shortname=winnt,uid=kn oppix,gid=knoppix 0 0
The uid and gid seem strange to me so I edited the line leaving instead:
/dev/sda /media/sda vfat noauto,users,exec,umask=000,shortname=winnt 0 0
and I can then mount the device /dev/sda and get access to my photos. I really hope that I don't have to manually change fstab every time I want access to my camera. Incidently, it all works fine when I boot from the CD.
I haven't found the code which causes the line to be added to /etc/fstab. I was looking for a shell script that does the trick. The closest code I can find is /usr/share/knoppix-installer/templates/etc/hotplug/usb/usb-storage but I don't see how that is called. Apparently, /lib/modules/2.6.17/kernel/drivers/usb/storage/usb-storage.ko
is executed.
Is there a reasonable way to correct the situation? Is there something tricky like moving the script from /usr/share/knoppix-installer to a different place?
By the way, I have read many of the injunctions against using a Knoppix hard disk install.
Thanks in Advance,
Don
I am using a HD install of 5.0.1 and am having difficulty with usb-storage when I attach my KonicaMinolta 7d to an usb port. The camera is detected and a hard disk icon appears on the screen indicating sda. When I try to mount the device, the mount fails with an error indicating all sorts of possibilities including wrong options. I look in /etc/fstab and see that the following line has been added:
/dev/sda /media/sda vfat noauto,users,exec,umask=000,shortname=winnt,uid=kn oppix,gid=knoppix 0 0
The uid and gid seem strange to me so I edited the line leaving instead:
/dev/sda /media/sda vfat noauto,users,exec,umask=000,shortname=winnt 0 0
and I can then mount the device /dev/sda and get access to my photos. I really hope that I don't have to manually change fstab every time I want access to my camera. Incidently, it all works fine when I boot from the CD.
I haven't found the code which causes the line to be added to /etc/fstab. I was looking for a shell script that does the trick. The closest code I can find is /usr/share/knoppix-installer/templates/etc/hotplug/usb/usb-storage but I don't see how that is called. Apparently, /lib/modules/2.6.17/kernel/drivers/usb/storage/usb-storage.ko
is executed.
Is there a reasonable way to correct the situation? Is there something tricky like moving the script from /usr/share/knoppix-installer to a different place?
By the way, I have read many of the injunctions against using a Knoppix hard disk install.
Thanks in Advance,
Don