Re: smart media changing problem
Gerry Tool <[email protected]>
| Newsgroups | gmane.linux.redhat.release.limbo |
|---|---|
| Message-ID | <1032438113.1538.3.camel@gstpc> |
On Thu, 2002-09-19 at 03:49, Dennis Gilmore wrote:
> have you tried to do fdisk /dev/sda just to see what partitions are on
> the card? and what there types are?
>
> Dennis
>
Here are the results:
After reboot
[root@gstpc gerry]# /sbin/fdisk -l /dev/sda
Disk /dev/sda: 4 heads, 16 sectors, 256 cylinders
Units = cylinders of 64 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 250 7987+ 1 FAT12
[root@gstpc gerry]# mount /mnt/smedia
mount: block device /dev/sda1 is write-protected, mounting read-only
[root@gstpc gerry]# umount /mnt/smedia
remove and reinsert the card
[root@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
[root@gstpc gerry]# /sbin/fdisk -l /dev/sda
Disk /dev/sda: 4 heads, 16 sectors, 256 cylinders
Units = cylinders of 64 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 250 7987+ 1 FAT12
[root@gstpc gerry]#
> On Thu, 2002-09-19 at 11:46, Gerry Tool wrote:
> > On Wed, 2002-09-18 at 15:25, Dennis Gilmore wrote:
> > > What if you unplug the reader after unmounting and plug it back in again
> > > with the new card in? i.e reregister the device with the new card in
> > > place.
> > >
> > > Dennis
> >
> > The same thing happened. I mounted it, looked at the files in nautilus,
> > closed nautilus, unmounted the device, pulled out the usb cable, changed
> > cards, plugged the usb cable back in, and the result is:
> >
> > [gerry@gstpc gerry]$ umount /mnt/smedia
> >
> > This is where I did the physical changing described above.
> >
> > [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
> > [gerry@gstpc gerry]$
> >
> > gerry
> >
> > >
> > > On Thu, 2002-09-19 at 03: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.
> > > >