summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed operation of -f to match its documentation and fsck_ffs. Itbde2004-02-051-3/+3
| | | | | | | | | has now has no effect except in combination with -p, and plain fsck checks all file systems instead of skipping clean ones for msdosfs only. Renamed the force flag to skipclean and inverted its logic as in fsck_ffs.
* Expanded the comment about the -F flag.bde2003-12-271-2/+8
| | | | Fixed a nearby style bug (unreachable break).
* fsck_msdosfs/main.c:bde2003-12-271-2/+4
| | | | | | | | | | | | - Don't use errexit() to (mis)implement usage(). Using errexit() just gave the bogus exit code 8. - Fixed 3 other style bugs in usage(). fsck/fsutil.[ch]: - Garbage-collected errexit(). It is essentially just one of NetBSD's fsck_ext2fs error printing functions, but we don't have fsck_ext2fs and the function is unsuitable for use there too (since pfatal() is also used and it printf to a different stream).
* Fixed style bugs in previous commit (unsorting of the global declarationsbde2003-12-271-2/+2
| | | | and addition of a tab to a blank line).
* Make msdosfs support the dirty flag in FAT16 and FAT32.trhodes2003-12-261-5/+4
| | | | | | | | Enable lockf support. PR: 55861 Submitted by: Jun Su <junsu@m-net.arbornet.org> (original version) Reviewed by: make universe
* Fix some 'SYNOPSIS' and 'usage' messages.trhodes2002-08-271-1/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-1/+1
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* o __P removedimp2002-03-201-20/+2
| | | | | | | o ansi function prototypes o unifdef -D__STDC__ o __dead2 on usage prototype o remove now-bogus main prototype
* Change exit return value to better match fsck_ffs(8).obrien2001-07-191-1/+1
|
* Recognize the "-F" option which requests whether the filesystem needs toobrien2001-07-191-1/+5
| | | | | | | be cleaned immediately in foreground, or if its cleaning can be deferred to background. Submitted by: Maxime Henrion <mux@qualys.com>
* Add fsck_msdosfs.obrien2001-07-091-0/+165
Obtained from: NetBSD
OpenPOWER on IntegriCloud