Re: smart media changing problem

Gerry Tool <[email protected]>
Newsgroups gmane.linux.redhat.release.limbo
Message-ID <1032398521.1441.3.camel@gstpc>
On Wed, 2002-09-18 at 12:40, Jef Spaleta wrote:
> did it actually unmount?
> 
> -jef?
> 
I believe it is definitely unmounted.  While mounted, mount lists it as:

/dev/sda1 on /mnt/smedia type vfat (ro,noexec,nosuid,nodev,user=gerry)

and a mass storage icon is on the desktop.  an ls lists the files.

Upon umount, the icon disappears, it is not in the mount output, and an
ls shows no files.

I can mount it again as long as I have not changed the media.  If I pull
the card out and reinsert the same card, I get the error message
mentioned before that occurred when I changed to a different card.

gerry

> On Wed, 2002-09-18 at 13:31, Gerry Tool wrote:
> > I have a Camedia USB smart media reader which Null recognizes and allows
> > me to mount as /mnt/smedia with an fstab entry as follows.
> > 
> > /dev/sda1       /mnt/smedia     vfat    noauto,user 0 0
> > 
> > If I have a smart media card in the reader at boot, I can manually
> > mount/unmount it just fine and read the data on the card.
> > 
> > [gerry@gstpc gerry]$ mount /mnt/smedia
> > mount: block device /dev/sda1 is write-protected, mounting read-only
> > [gerry@gstpc gerry]$ umount /mnt/smedia
> > 
> > However, if I want to remove the card after unmounting the device and
> > insert another card and mount the device, I get the following error;
> > 
> > [gerry@gstpc gerry]$ mount /mnt/smedia
> > mount: block device /dev/sda1 is write-protected, mounting read-only
> > mount: wrong fs type, bad option, bad superblock on /dev/sda1,
> >        or too many mounted file systems
> > 
> > There must be some way to use multiple smart media cards without
> > rebooting.  Any suggestions?  Thanks.
> > 
> > gerry
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Limbo-list mailing list
> > [email protected]
> > https://listman.redhat.com/mailman/listinfo/limbo-list
> -- 
> --
> Jef Spaleta  
> email: [email protected]  web: http://www.princeton.edu/~jspaleta
> Home: 732 254-9335 : 19 Civic Center Dr, Apt 17, East Brunswick 08816
> Work: 609 243-2941 : RM: L238  PPPL PO BOX 451 MS 30  Princeton, NJ
> 08543
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.