How do I scan my drive for errors?

Hardware, coding, music, graphic and various applications

Moderators: Mug UK, moondog/.tSCc., lp, [ProToS], Moderator Team

mzry
Captain Atari
Captain Atari
Posts: 390
Joined: Tue Jan 26, 2016 12:39 pm

How do I scan my drive for errors?

Postby mzry » Sun May 20, 2018 1:13 pm

Is there a checkdisk program I can use to scan my drives for errors? I know that Mint scans its ext drives etc. I am running Vanillamint with just TOS and Fat32 partitions, sometimes I get corrupted directories and other random issues so I'd love to give it an integrity check if possible.
Falcon ct63e 060 - 256mb ram - phantom bus and dsp accel // Atari TT - Thunder and Storm IDE 64mb ram - SCSI2SD - ET4000 vme graphics

Galvez
Captain Atari
Captain Atari
Posts: 197
Joined: Fri Oct 19, 2007 7:49 am

Re: How do I scan my drive for errors?

Postby Galvez » Sun May 20, 2018 1:50 pm

Yes, you can use fsck.msdos command. But now I don't know where to download it from.

mzry
Captain Atari
Captain Atari
Posts: 390
Joined: Tue Jan 26, 2016 12:39 pm

Re: How do I scan my drive for errors?

Postby mzry » Sun May 20, 2018 2:28 pm

Be nice if someone can upload something. Just FYI I don't have a command line in VanillaMint unless someone can upload that too :)

It is interesting that an older version of VanillaMint had 'fscheck.prg' in startup but it was removed. I wonder why.
Falcon ct63e 060 - 256mb ram - phantom bus and dsp accel // Atari TT - Thunder and Storm IDE 64mb ram - SCSI2SD - ET4000 vme graphics

Galvez
Captain Atari
Captain Atari
Posts: 197
Joined: Fri Oct 19, 2007 7:49 am

Re: How do I scan my drive for errors?

Postby Galvez » Sun May 20, 2018 3:32 pm

I've just seen that fsck.msdos command is a link to fsck, I guess if you rename it to fsck.ttp you could use it without command line.
You do not have the required permissions to view the files attached to this post.
Last edited by Galvez on Sun May 20, 2018 4:26 pm, edited 1 time in total.

Galvez
Captain Atari
Captain Atari
Posts: 197
Joined: Fri Oct 19, 2007 7:49 am

Re: How do I scan my drive for errors?

Postby Galvez » Sun May 20, 2018 4:25 pm

Sorry, what I said is not right, fsck.msdos is a link to dosfsck.

dosfsck.zip
You do not have the required permissions to view the files attached to this post.

jury
Captain Atari
Captain Atari
Posts: 272
Joined: Tue Sep 21, 2004 11:11 am
Location: Poland

Re: How do I scan my drive for errors?

Postby jury » Mon May 21, 2018 3:27 am

mzry wrote:Just FYI I don't have a command line in VanillaMint unless someone can upload that too :)

I'm using this one in plain TOS 4.04 in Hatari, so you can check if VanillaMint will work with it:
https://sites.google.com/site/stessenti ... kami-shell

mzry
Captain Atari
Captain Atari
Posts: 390
Joined: Tue Jan 26, 2016 12:39 pm

Re: How do I scan my drive for errors?

Postby mzry » Mon May 21, 2018 8:35 am

Thx guys much appreciated I will try it out
Falcon ct63e 060 - 256mb ram - phantom bus and dsp accel // Atari TT - Thunder and Storm IDE 64mb ram - SCSI2SD - ET4000 vme graphics

mzry
Captain Atari
Captain Atari
Posts: 390
Joined: Tue Jan 26, 2016 12:39 pm

Re: How do I scan my drive for errors?

Postby mzry » Mon May 21, 2018 9:11 am

I was having trouble seeing the program options before tos2win would close, so I found them online. Will paste here for reference, there is a -A option for atari msdos for instance. This is the command I have used for my boot drive: dosfsck.ttp -A -v -r c:

dosfsck [options] device fsck.msdos [options] device

System administration command. Similar to fsck, but specifically intended for MS-DOS filesystems. When checking an MS-DOS filesystem, fsck calls this command. Normally dosfsck stores all changes in memory, then writes them when checks are complete.
Options
-a
Automatically repair the system; do not prompt the user.

-d file
Drop the named file from the file allocation table. Force checking, even if kernel has already marked the filesystem as valid. dosfsck will normally exit without checking if the system appears to be clean.

-f
Save unused cluster chains to files.

-l
List pathnames of files being processed.

-r
Repair the system, prompting user for advice.

-t
Mark unreadable clusters as bad.

-u file
Attempt to undelete the named file.

-v
Verbose mode.

-w
Write changes to disk immediately.

-y
When queried, answer "yes."

-A
Filesystem is an Atari version of MS-DOS.

-V
Repeat test to verify all errors have been corrected.
Falcon ct63e 060 - 256mb ram - phantom bus and dsp accel // Atari TT - Thunder and Storm IDE 64mb ram - SCSI2SD - ET4000 vme graphics


Social Media

     

Return to “Professionals”

Who is online

Users browsing this forum: No registered users and 0 guests