Hi Hendrik,

Many thanks for your help.  I followed your suggestion pretty closely.  The
command redcube:~# fsck -fv -CO /dev/sda1 didn't work:
fsck 1.41.3 (12-Oct-2008)
dosfsck 3.0.1 (23 Nov 2008)
fsck.vfat: invalid option -- O

so I used the command suggested by Gustin above:

redcube:~# fsck.vfat -r -t -V /dev/sda1

which revealed some problems.  I was able to use fsck to correct these and
now things seem to work fine.

Robin



On Tue, Mar 17, 2009 at 1:29 PM, Hendrik Schaink <[email protected]>wrote:

> You must not perform fsck on a drive's mount-point but on it's file-
> system. When the flashdrive is mounted, you can see both the mount-point
> and the file-system. To display these, issue the command "mount | grep
> vfat"
>
> On my system, the result of "mount| grep vfat" is:
>
> /dev/sdg1 on /media/Kingston4GB type vfat
>
> (rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=1000,utf8,shortname=lower,iocharset=iso8859-1)
>
> Now you can unmount the drive with the "umount <mount-point> command, in
> my case: "umount /media/Kingston4GB"
>
> Now you can check the drive with the command "fsck -fv -C0
> <file-system>", in my case "fsck -fv -C0 /dev/sdg1"
>
> If this is not clear enough, please post the output from the "mount"
> command to the list and we'll take it from there.
>
> HTH, Hendrik
>
>
> Richard Carter wrote:
> > Thanks for the tip.  The flashdrive is vfat, which seems appropriate
> because
> > I often transfer file to and from machines running Windows XP.
> >
> > I couldn't make fsck.vfat -r -t -V /dev/<usb device> work because I
> couldn't
> > figure out which of the 5 usbdev*.* in /dev was the one to check.
>
>
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to