Reply
Thread Tools
Posts: 7 | Thanked: 2 times | Joined on Jan 2010
#1
Recently had an issue with a bad USB hub causing "/home/user/MyDocs" to become corrupt and requiring a fsck. So I ran "fsck -y /home/user/MyDocs", but it has now been running 24 hours.

Any one know of any issues with running mkfs.vfat on the device it resides on?
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#2
I don't think checking on a mounted partition brings good things.
 
Posts: 7 | Thanked: 2 times | Joined on Jan 2010
#3
Actually it is safe to do if it is mounted read only.

That is easily accomplished via "mount -o ro,remount /home/user/MyDocs".
 

The Following 2 Users Say Thank You to vvelox For This Useful Post:
Posts: 7 | Thanked: 2 times | Joined on Jan 2010
#4
Finally gave up on waiting for fsck to complete. As everything important was already in svn, I decided to blow it away.

Reformatting it did not result in any issues.

BTW if any one else ever runs into this issue and wishes to do the same the command is "mkfs.vfat /dev/mmcblk0p1".
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:10.