summaryrefslogtreecommitdiffstats
path: root/lib/libstand/dosfs.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix readdir for the root directory on a FAT32 file system. The rootmarcel2013-12-191-5/+13
| | | | | | | | | | directory is like any subdirectory and as such needs to use a real cluster number. To this end, keep a DE structure for the root in the DOS_FS structure and populate it accordingly. While here: o allow consecutive path separators by skipping them all. o add missing $FreeBSD$ keyword to dosfs.h.
* Support long filenames.marcel2013-12-181-13/+24
| | | | Obtained from: Juniper Networks, Inc.
* - Comment out unused variable.rodrigc2011-05-031-2/+2
| | | | - Add parentheses around expression to eliminate compiler warning.
* Implement the fo_readdir method. This does not support longmarcel2010-01-091-1/+68
| | | | | | | file names. Obtained from: Juniper Networks, Inc. MFC after: 1 week
* Don't add integers to void pointers.stefanf2004-10-031-1/+1
|
* Clean up error handling in libstand filesystem code to be more consistent:jhb2004-01-211-1/+4
| | | | | | | | | | | | | | | - bzipfs and gzipfs now properly return errno values directly from their read routines rather than returning -1. - missing errno values on error returns for the seek routines on almost all filesystems were added. - fstat() now returns -1 if an error occurs rather than ignoring it. - nfs's readdir() routine now reports valid errno values if an error or EOF occurs rather than EPERM (It was just returning 0 for success and 1 for failure). - nullfs used the wrong semantics for every function besides close() and seek(). Getting it right for close() appears to be an accident at that. - read() for buffered files no longer returns 0 (EOF) if an error occurs, but returns -1 instead.
* Add __FBSDID()s to libstanddillon2001-09-301-2/+3
|
* Add a readdir function to the loader fsops vector, and implement thejlemon2000-04-291-1/+10
| | | | functionality for some of the filesystesms.
* More egcs warning fixes:imp1999-04-251-2/+4
| | | | | | | | | | o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). o Use parens around assignment values used as truth values. o Remove unused function. Reviewed by: obrien and chuckr
* Enable the DOS filesystem. This allows reading from various DOS filesystemsmsmith1998-10-061-2/+2
| | | | | | | (FAT12/16/32, VFAT). Make a private copy of strcasecmp, as the "real" one uses the system ctype header, which introduces locale poisoning.
* Add support for reading directories as files.rnordier1998-08-271-26/+59
| | | | Sort out fs_ops, alloc/free.
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+660
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud