![]() |
2012-09-21
, 13:48
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#22
|
What would the ideal way be to repair a problematic /home/user/MyDocs partition if you have broken the USB porto on your N900?
I did
sudo umount /dev/mmcblk0p1
sudo fdisk -af /dev/mmcblk0p1
sudo fdisk -r /dev/mmcblk0p1
sudo reboot
This did the trick on todays problem but I would like to know if there are further fsck or dosfsck tricks to clean out a file system when I cant use another machine for whatever reason. I know I have had better results with the Ubuntu disk utility than either my laptops fsck or gparted.
Nokia-N900:~# fsck -v
fsck 1.41.3.maemo0 (12-Oct-2008)
root@siductionbox:/home/micha# fsck -v
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2012-09-21
, 20:59
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#23
|
-f Salvage unused cluster chains to files. By default, unused clusters are added to the free disk space except in auto mode (-a).
![]() |
2012-09-21
, 21:40
|
|
Posts: 1,625 |
Thanked: 998 times |
Joined on Aug 2010
|
#24
|
I think this:
Code:-f Salvage unused cluster chains to files. By default, unused clusters are added to the free disk space except in auto mode (-a).
![]() |
2012-09-21
, 21:53
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#25
|
![]() |
2012-09-21
, 22:12
|
|
Posts: 1,625 |
Thanked: 998 times |
Joined on Aug 2010
|
#26
|
Yep, you are also right about fsck -f, depending on which flavour you use (fsck.vfat for MyDocs or fsck.ext*).
vi
![]() |
2012-09-22
, 11:39
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#27
|
![]() |
2012-09-23
, 13:23
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#28
|
The Following User Says Thank You to reinob For This Useful Post: | ||
![]() |
2012-09-23
, 13:38
|
Posts: 1,429 |
Thanked: 2,628 times |
Joined on Jan 2011
@ Touring
|
#29
|
![]() |
2012-09-23
, 15:15
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#30
|
In actuality, fsck is simply a front-end for the various file system checkers (fsck.fstype) available under Linux. The file system-specific checker is searched for in /sbin first, then in /etc/fs and /etc, and finally in
the directories listed in the PATH environment variable. Please see the file system-specific checker manual pages for further details.
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
s/fdisk/fsck/g
BTW, what's the "-f" option for?