summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/check.c
Commit message (Collapse)AuthorAgeFilesLines
* newfs_msdosfs: Respect FSFIXFATpfg2014-07-141-1/+1
| | | | | | | Fix some whitespace issues while here. Obtained from: NetBSD (rev. 1.9) MFC after: 3 days
* Print a newline after the error message.jh2012-11-031-0/+1
| | | | | PR: bin/168447 Submitted by: Boris Kochergin
* sbin/fsck: s/perror/perr/ to avoid shadowinguqs2012-10-211-2/+2
| | | | | | | | | - rename some other vars too - merge NetBSD license changes Obtained from: NetBSD PR: bin/139802 Reviewed by: ed
* Fix some style(9), although there's a lot more issues here.brian2010-06-201-1/+1
| | | | | | | | | Fix some casting errors. PR: 142384 Submitted by: giffunip at tutopia dot com Obtained from: NetBSD MFC after: 3 weeks
* Rename fields to match better the msdosfs headers. This work is stillkib2010-02-141-1/+1
| | | | | | | | | incomplete as some info doesn't really belong to the structs where it is defined. Submitted by: Pedro F. Giffuni <giffunip tutopia com> Reviewed by: bde MFC after: 2 weeks
* Bug fixes from NetBSDkib2010-02-141-2/+2
| | | | | | | | | | | - fix sign-compare issues. - ANSIfy a couple of functions. - Remove more duplicate #includes. - Memory leak found by Coverity on NetBSD. Submitted by: Pedro F. Giffuni <giffunip tutopia com> Reviewed by: bde MFC after: 2 weeks
* License changes from NetBSD.kib2010-02-141-7/+0
| | | | | | | Move to 2 clause license, approved by Wolfgang Solfrank. Submitted by: Pedro F. Giffuni <giffunip tutopia com> MFC after: 2 weeks
* Fixed operation of -f to match its documentation and fsck_ffs. Itbde2004-02-051-3/+2
| | | | | | | | | 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.
* Prepare to fix checkdirty() by moving it from check.c to fat.c. It isbde2004-02-051-43/+0
| | | | | identical to a subset of readfat(), so it belongs near readfat() if not in it.
* Oops, highly non-KNF indentation is normal for large expressions inbde2003-12-281-6/+5
| | | | | | | | | | | this program. Gnu indentation is used for these. Redo the fix for the large expression at the end of the previous commit to give gnu indentation. The original version was gnuish but had 9 bogus extra characters of indentation in its continuation lines, perfect tab lossage on every line, and other bugs. The previous commit log should have claimed to fix style bugs in the previous-1 commit (1.5), not the forced null previous commit (1.6).
* Fixed some style bugs in previous commit (mainly highly non-KNF indentation).bde2003-12-271-15/+15
|
* Make msdosfs support the dirty flag in FAT16 and FAT32.trhodes2003-12-261-0/+52
| | | | | | | | Enable lockf support. PR: 55861 Submitted by: Jun Su <junsu@m-net.arbornet.org> (original version) Reviewed by: make universe
* In check.c:trhodes2003-10-301-3/+2
| | | | | Avoid shadowing declarations. Avoid compairing signed and unsigned types.
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-1/+1
|
* more file system > filesystemtrhodes2002-05-161-1/+1
|
* Add fsck_msdosfs.obrien2001-07-091-0/+194
Obtained from: NetBSD
OpenPOWER on IntegriCloud