aboutsummaryrefslogtreecommitdiff
path: root/fatfs/main.c
Commit message (Collapse)AuthorAgeFilesLines
* 2007-03-28 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-03-281-4/+8
| | | | | * main.c (diskfs_readonly): Remove variable. (main): Set `diskfs_readonly' and `diskfs_hard_readonly' to one.
* 2003-08-01 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann2003-08-021-1/+1
| | | | | | | | | | | | | | | | | | * node-create.c: New file. * Makefile (SRCS): Added node-created.c. * dir.c: Include <hurd/fsys.h>. (diskfs_direnter_hard): Initialize a new block with zeros. Enter direntry and setup the virtual inode. Also handle directories correctly. (diskfs_rewrite_hard): Function rewritten. (diskfs_dirempty): Change logic to test if a file was deleted. * fat.c (fat_extend_chain): Unlock spin_lock when returning from function. Set dn->last to 0 when deallocating the complete file. Update dn->last when not deallocating the complete file. Set dn->first to zero when the complete file was deallocated. Also update dn->length_of_chain to the new amount of clusters in the chain. * main.c (diskfs_hard_readonly): Remove global variable.
* 2003-04-26 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann2003-05-101-1/+13
| | | | | | | | | * dir.c (diskfs_get_directs): Consider ENTRY when adding "." and ".." for the rootnode. * inode.c (read_node): Use ifind instead of diskfs_cached_lookup and do not use diskfs_nput anymore. * main.c (diskfs_S_fsys_getfile): New function.
* Initial check-in.Marcus Brinkmann2002-12-031-0/+265