Hi Hendrik, <br><br>Many thanks for your help. I followed your suggestion pretty closely. The command redcube:~# fsck -fv -CO /dev/sda1 didn't work:<br>fsck 1.41.3 (12-Oct-2008)<br>dosfsck 3.0.1 (23 Nov 2008)<br>fsck.vfat: invalid option -- O<br>
<br>so I used the command suggested by Gustin above:<br><br>redcube:~# fsck.vfat -r -t -V /dev/sda1 <br><br>which revealed some problems. I was able to use fsck to correct these and now things seem to work fine.<br><br>Robin<br>
<br><br><br><div class="gmail_quote">On Tue, Mar 17, 2009 at 1:29 PM, Hendrik Schaink <span dir="ltr"><<a href="mailto:hschaink@infovisi.com">hschaink@infovisi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You must not perform fsck on a drive's mount-point but on it's file-<br>
system. When the flashdrive is mounted, you can see both the mount-point<br>
and the file-system. To display these, issue the command "mount | grep vfat"<br>
<br>
On my system, the result of "mount| grep vfat" is:<br>
<br>
/dev/sdg1 on /media/Kingston4GB type vfat<br>
(rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=1000,utf8,shortname=lower,iocharset=iso8859-1)<br>
<br>
Now you can unmount the drive with the "umount <mount-point> command, in<br>
my case: "umount /media/Kingston4GB"<br>
<br>
Now you can check the drive with the command "fsck -fv -C0<br>
<file-system>", in my case "fsck -fv -C0 /dev/sdg1"<br>
<br>
If this is not clear enough, please post the output from the "mount"<br>
command to the list and we'll take it from there.<br>
<br>
HTH, Hendrik<br>
<div class="im"><br>
<br>
Richard Carter wrote:<br>
> Thanks for the tip. The flashdrive is vfat, which seems appropriate because<br>
> I often transfer file to and from machines running Windows XP.<br>
><br>
> I couldn't make fsck.vfat -r -t -V /dev/<usb device> work because I couldn't<br>
> figure out which of the 5 usbdev*.* in /dev was the one to check.<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
clug-talk mailing list<br>
<a href="mailto:clug-talk@clug.ca">clug-talk@clug.ca</a><br>
<a href="http://clug.ca/mailman/listinfo/clug-talk_clug.ca" target="_blank">http://clug.ca/mailman/listinfo/clug-talk_clug.ca</a><br>
Mailing List Guidelines (<a href="http://clug.ca/ml_guidelines.php" target="_blank">http://clug.ca/ml_guidelines.php</a>)<br>
**Please remove these lines when replying<br>
</div></div></blockquote></div><br>