[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fsck on vfat usb drive



Ron Johnson wrote:
> On 01/29/2009 08:27 PM, Oscar Corte wrote:
>> Hi all:
>> I’m trying to use fsck to check my usb device.
>>  
>> According to the man page for fsck there should be available vfat type
>> through the –t option.
>>  
>> However I receive the next error:
>> fsck: 1-40-WIP (14-NOV-200)fsck: fsck.vfat: not foundfsck: Error 2
>> while executing fsck.vfat for /media/usbdisk
>>  
>> when executing:
>> fsck –t vfat /media/usbdisk
>>  
>> What am I missing?
> 
> Maybe the dosfstools package??
> 
> $ apt-file search fsck.vfat
> dosfstools: /sbin/fsck.vfat
> dosfstools: /usr/share/man/man8/fsck.vfat.8.gz
> 

Yes, you need this package and command, e.g.,

  dosfsck -av /dev/sdb1

where you have to replace sdb1 by the name of the partition you want to check on
your USB storage device; which, as Adrian Levi posted, has to be not mounted.
-- 
Regards,
Jörg-Volker.


Reply to: