Unix Technical Forum

SmartMedia question

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 08:30 AM
c186282
 
Posts: n/a
Default SmartMedia question

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 08:30 AM
Lenard
 
Posts: n/a
Default Re: SmartMedia question

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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 08:30 AM
c186282
 
Posts: n/a
Default Re: SmartMedia question

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com