This is a discussion on SmartMedia question within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have a usb Uno SmartMedia card reader and Redhat 9 I would like to be able to mount ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have a usb Uno SmartMedia card reader and Redhat 9 I would like to be able to mount it the same way I mount a floppy or cdrom. I have done the following: 1) mkdir /mnt/sm 2) added the following line to the /etc/fstab /dev/sda1 /mnt/sm auto noauto,owner 0 0 Note: /dev/sda1 is the correct dev. At this point I can only mount /mnt/sm as root. I would like to be able to mount /mnt/sm as the current logged in user. Things I have tried: I have tried adding a group and making /dev/sda1 rw for that group then making the users a member of the new group. This did not work. I made the current user the owner of /dev/sda1. This allowed me to mount /mnt/sm as the current user but this is not a good solution. I have also noticed some things I do not understand. 1) I notice that /dev/fd0 is owned by the current user. 2) Before I turned off kudzu with chkconfig my entries for /mnt/sm in the /etc/fstab would disappear and my dir /mnt/sm would also disappear. Can anybody direct me in the right direction such that I will be able to mount my usb Uno SmartMedia card reader as a normal user? Thank you. |
| |||
| On Sat, 18 Oct 2003 17:25:25 +0000, c186282 typed: > I have a usb Uno SmartMedia card reader and Redhat 9 > > I would like to be able to mount it the same way I mount a floppy or > cdrom. > > I have done the following: > > 1) mkdir /mnt/sm > > 2) added the following line to the /etc/fstab /dev/sda1 /mnt/sm auto > noauto,owner 0 0 /dev/sda1 /mnt/sm auto noauto,users,rw 0 0 > I have also noticed some things I do not understand. > > 1) I notice that /dev/fd0 is owned by the current user. Yep, try reading the line and then read 'man mount' From the manpage for mount; users Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid). > 2) Before I turned off kudzu with chkconfig my entries for /mnt/sm in > the /etc/fstab would disappear and my dir /mnt/sm would also disappear. Understandable, if the device is not present during the boot process kudzu will remove the entry. Try looking at the /etc/updfstab.conf.default file and make changes, carefully, if desired. -- SCO + RICO Act = Justice Hi! I'm a .sig virus! Copy me to your .sig! |
| ||||
| On Sat, 18 Oct 2003 20:19:23 +0000, Lenard wrote: > > > Yep, try reading the line and then read 'man mount' > > From the manpage for mount; > > users Allow every user to mount and unmount the file system. > This option implies the options noexec, nosuid, and nodev (unless > overridden by subsequent options, as in the option line > users,exec,dev,suid). Thank you, Your suggestion, as I'm sure you know, works just fine. The man pages are a great help but I do some times find myself over whelmed with their content. > > >> 2) Before I turned off kudzu with chkconfig my entries for /mnt/sm in >> the /etc/fstab would disappear and my dir /mnt/sm would also disappear. > > Understandable, if the device is not present during the boot process kudzu > will remove the entry. Try looking at the /etc/updfstab.conf.default file > and make changes, carefully, if desired. Thanks for this insight I'll look into understanding the /etc/updfstab.conf.default file. |