Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Cyber Angels

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 53 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

fsck.msdos



SYNOPSIS

       dosfsck [-aAflrtvVwy] [-d path -d ...]  [-u path -u ...]
       device


DESCRIPTION

       dosfsck verifies the consistency of  MS-DOS  file  systems
       and  optionally  tries  to repair them. The following file
       system problems can be corrected (in this order):

       -      FAT contains invalid cluster  numbers.  Cluster  is
              changed to EOF.
       -      File's  cluster  chain contains a loop. The loop is
              broken.
       -      Bad clusters (read errors). The clusters are marked
              bad  and  they  are removed from files owning them.
              This check is optional.
       -      Directories with a  large  number  of  bad  entries
              (probably corrupt). The directory can be dropped.
       -      Files  .  and  ..  are non-directories. They can be
              dropped or renamed.
       -      Directories . and .. in root  directory.  They  are
              dropped.
       -      Bad file names. They can be renamed.
       -      Duplicate directory entries. They can be dropped or
              renamed.
       -      Directories with non-zero size field. Size  is  set
              to zero.
       -      Directory . does not point to parent directory. The
              start pointer is adjusted.
       -      Directory .. does not point  to  parent  of  parent
              directory. The start pointer is adjusted.
       -      Start cluster number of a file is invalid. The file
              is truncated.
       -      File contains bad or free  clusters.  The  file  is
              truncated.
       -      File's  cluster  chain  is longer than indicated by
              the size fields. The file is truncated.
       -      Two or more files share the  same  cluster(s).  All
              but  one  of  the  files are truncated. If the file
              being  truncated  is  a  directory  file  that  has
              already   been  read,  the  file  system  check  is
              restarted after truncation.
       -      File's cluster chain is shorter than  indicated  by
              the size fields. The file is truncated.
       -      Clusters  are marked as used but are not owned by a
              file. They are marked as free.

       Additionally, the following problems are detected, but not
       repaired:

       -      Invalid parameters in boot sector.
       -      Absence of . and .. entries in non-root directories
              differences  in  Atari  format:  Some  boot  sector
              fields  are interpreted slightly different, and the
              special FAT entries for end-of-file and bad cluster
              can  be  different. Under MS-DOS 0xfff8 is used for
              EOF and Atari employs 0xffff by default,  but  both
              systems  recognize  all values from 0xfff8...0xffff
              as end-of-file.  MS-DOS uses only  0xfff7  for  bad
              clusters, where on Atari values 0xfff0...0xfff7 are
              for this purpose (but the standard value  is  still
              0xfff7).

       -d     Drop the specified file. If more that one file with
              that name exists, the first one is dropped.

       -f     Salvage unused cluster chains to files. By default,
              unused  clusters  are  added to the free disk space
              except in auto mode (-a).

       -l     List path names of files being processed.

       -r     Interactively repair the file system. The  user  is
              asked  for  advice  whenever there is more than one
              approach to fix  an  inconsistency.   This  is  the
              default behaviour.

       -t     Mark unreadable clusters as bad.

       -u     Try  to  undelete the specified file. dosfsck tries
              to allocate a chain of contiguous unallocated clus­
              ters  beginning  with  the  start  cluster  of  the
              undeleted file.

       -v     Verbose mode. Generates slightly more output.

       -V     Perform a verification pass. The file system  check
              is  repeated  after  the first run. The second pass
              should never report any fixable errors. It may take
              considerably  longer  than  the first pass, because
              the first pass may have generated long list of mod­
              ifications  that  have  to be scanned for each disk
              read.

       -w     Write changes to disk immediately.

       -y     Same as -a (automatically  repair  filesystem)  for
              compatibility with other fsck tools.

       If  -a and -r are absent, the file system is only checked,
       but not repaired.


EXIT STATUS

       0      No recoverable errors have been detected.
       Werner   Almesberger   <werner.almesberger@lrc.di.epfl.ch>
       Extensions (FAT32, VFAT) by and current maintainer:  Roman
       Hodek <Roman.Hodek@informatik.uni-erlangen.de>

Linux                    December 31 1997              DOSFSCK(8)

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =


  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can help in many different ways.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds