|
|
@af4dec0
|
14 years |
romanenko.oleg |
Support for using new function fat_valid_name in fat_match
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@298a6ce
|
14 years |
romanenko.oleg |
Using local variables for storing LFN data instead of global …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@620a367
|
14 years |
romanenko.oleg |
Take care about return value of fat_directory_open
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@616e73c
|
14 years |
romanenko.oleg |
Minor fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4bbca8
|
14 years |
romanenko.oleg |
Add copyrights
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bba3d90
|
14 years |
romanenko.oleg |
Using new directory api to support creating long names
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@563686b
|
14 years |
romanenko.oleg |
Fix for fat_read. Add error checking for fat_directory_open and use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b85c19a
|
14 years |
romanenko.oleg |
1. Rewrite fat_match and fat_read through new functions.
2. Rewrite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@010b52d8
|
14 years |
romanenko.oleg |
Minor fix in fat_match
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cefd3ec
|
14 years |
romanenko.oleg |
Rewrite fat_match through new functions.
Functions like open or stat …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a40c49
|
14 years |
romanenko.oleg |
Rewrite fat_read (readdir part) trough new functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65ccd23
|
14 years |
romanenko.oleg |
Initial support for LFN. Long names could be read from
filesystem …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0182e5cc
|
14 years |
romanenko.oleg |
1. Rewrite and clean fat_get_cluster_fat12
2. Support MIPS and other …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@88a27f1
|
14 years |
romanenko.oleg |
1. Split fat_get_cluster into 3 methods: fat_get_cluster_fat[12,16,32] …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5db2ae
|
14 years |
romanenko.oleg |
1. Add macros for determining first cluster of root directory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a51029f
|
14 years |
romanenko.oleg |
Implemented readonly access to FAT32 file system
Support reading root …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb052b4
|
14 years |
romanenko.oleg |
1. Add new macros for determining FAT32 (FAT_IS_FAT32) and change …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce8f4f4
|
14 years |
romanenko.oleg |
Replace str_cmp to bcmp for directory name comparsion.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3dbe4ca2
|
14 years |
romanenko.oleg |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7bbf029
|
14 years |
martin |
improve stack traces and assertions
reduce header files pollution
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d260a95
|
14 years |
romanenko.oleg |
Improve code style for my changes. Adding macros for determining type …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97bc3ee
|
14 years |
romanenko.oleg |
Full support for FAT12 file system. Correct creating directories and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc35e98
|
14 years |
romanenko.oleg |
Basic support for FAT12 file system. With many limitations of course.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b62dc100
|
14 years |
jakub |
Avoid having '\0' in FAT dentry names by avoiding str_cpy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ca5eaa7
|
14 years |
jakub |
Create an extra reference to an unlinked FAT node. This keeps the node …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9fec913
|
14 years |
jakub |
Add omitted block_put() to error path.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffa2c8ef
|
14 years |
martin |
do not intermix low-level IPC methods with async framework methods
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
14 years |
martin |
more unification of basic types
- use sysarg_t and native_t (unsigned …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@991f645
|
14 years |
jakub |
Rename dev_handle_t to devmap_handle_t and make it explicitly clear …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a93d79a
|
15 years |
jakub |
Do not hold the parent→idx→lock in when calling fat_idx_get_by_pos() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a1d8ab
|
15 years |
jakub |
Merge from lp:~jakub/helenos/fs.
This merge adds two important …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69a60c4
|
15 years |
martin |
implement sync
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dba4a23
|
15 years |
jakub |
Speed up sequential I/O by caching the "current" cluster in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6da81e0
|
15 years |
jakub |
Modify _fat_block_get() to return the "current" cluster number to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a23d60
|
15 years |
jakub |
Use convenience macros for accessing FAT boot sector in fat_ops.c as well.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@377cce8
|
15 years |
jakub |
Start to cache the FAT node's last cluster in fat_node_t and change …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19f857a
|
15 years |
jiri |
Rename string.h to str.h to avoid header conflict with standard C string.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed903174
|
15 years |
martin |
implement support for 64bit file offsets
* the libc API is a small …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24a2517
|
15 years |
jakub |
Do not try to create '.' and '..' entries in files in fat_link().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cac2d69
|
15 years |
martin |
fix futile typedef to a working one
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eda925a
|
15 years |
martin |
improve naming conventions:
merge async_data_receive() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@472c09d
|
15 years |
martin |
more consistent naming scheme:
async_data_blob_receive → …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@430de97
|
15 years |
jakub |
Add fat_node_fini_by_dev_handle() and finish fat_unmounted().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7efc517
|
15 years |
jakub |
Move fat_sanity_check() to fat_fat.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64aed80
|
15 years |
jakub |
Do not leak options in fat_mounted().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c11713
|
15 years |
jakub |
Add dummy libfs unmount support and change all file systems to use it. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92bee46
|
15 years |
jakub |
Refuse to mount FAT file systems with root directory entries that do …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ffaab5
|
15 years |
jiri |
Remove accidentaly commited debugging code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@711e1f32
|
15 years |
jiri |
Do some sanity checks when mounting a fat file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1313ee9
|
15 years |
martin |
introduce device namespaces
* add support for explicit open in libfs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e4cada
|
15 years |
martin |
rename fibril_sync.[ch] to fibril_synch.[ch]
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfddfcd
|
16 years |
jakub |
Make fat_write() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@453f2e75
|
16 years |
jakub |
Make fat_read() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1647323
|
16 years |
jakub |
Make fat_match() never assert on an I/O error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0da4e41
|
16 years |
jakub |
ipc_data_*() and ipc_share_*(), respectively, should be renamed to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8810c63
|
16 years |
jakub |
Do not assume that a block is not dirty if we did not make it dirty. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a15176
|
16 years |
jakub |
Make fat_idx_get_new() return the exact error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fc1e5d
|
16 years |
jakub |
Make fat_node_get_core() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17bf658
|
16 years |
jakub |
Make fat_node_get_new() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6bc3a5
|
16 years |
jakub |
fat_node_get_core() needs to take the ffn_mutex before it manipulates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12bdc942
|
16 years |
jakub |
Remove dead code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@073f550
|
16 years |
jakub |
Update fat implementation of libfs operations wrt. the preceding API …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46c0498
|
16 years |
jakub |
Make fat_unlink() return an error code instead of hitting an assertion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b4668e
|
16 years |
jakub |
Make fat_link() return an error code instead of hitting an assertion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4098e38
|
16 years |
jakub |
Make fat_node_sync() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d044447
|
16 years |
jakub |
Merge FAT server error handling improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cca29e3c
|
16 years |
jakub |
Make fat_append_clusters(), fat_chop_clusters(), fat_free_clusters(), …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e402382
|
16 years |
jakub |
Make fat_cluster_walk() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@684b655
|
16 years |
jakub |
Make _fat_block_get() return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ee00b7
|
16 years |
jiri |
Revamp block device interface: (1) block size is fixed, determined by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c91f2d1b
|
16 years |
jakub |
Enable the block_get() and block_put() APIs to return error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d44aabd
|
16 years |
jakub |
Grow the parent node size if fat_link() allocates a new cluster.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d290ef4
|
16 years |
jakub |
fat_link() should zero out all the blocks of the newly allocated …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f116e7
|
16 years |
jakub |
Introduce fat_zero_cluster().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b713492b
|
16 years |
jakub |
Fix the root directory check when fat_link() needs to allocate a new …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00a9625
|
16 years |
jakub |
fat_create_node() should mark new zeroed blocks dirty.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a405563
|
16 years |
jirik.svoboda |
Fix some warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75160a6
|
16 years |
jakub |
Add libfs_stat() and let FAT and TMPFS use it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@852b801
|
16 years |
jakub |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fbe064b
|
16 years |
jirik.svoboda |
Allow libblock to operate in write-through mode. With 'wtcache' mount …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ebe721
|
16 years |
jakub |
Use fibril synchronization in FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9c8c81
|
16 years |
martin |
rename libadt → adt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c20aa06
|
16 years |
martin |
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@16d17ca
|
16 years |
jakub |
Add fs_handle argument to libfs_mount() needed to recognize homogenous …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83937ccd
|
16 years |
jakub |
Rudimentary support for non-root mounts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf95bc0
|
16 years |
jakub |
Streamline TMPFS and fix its design so that it properly supports …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0be3e8b
|
16 years |
jakub |
Do not attempt to unlink non-empty FAT directories.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@770d281
|
16 years |
jakub |
Do not attempt to unlink() FAT root.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6035ba
|
16 years |
jakub |
Introduce the concept of FS nodes. A FS node is a typed abstraction of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@594303b
|
16 years |
jakub |
Support mount options.
Let tmpfs decide whether to start empty or …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eb2e96
|
16 years |
jirik.svoboda |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92fd52d7
|
16 years |
jirik.svoboda |
Nuke strcpy() and strcmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@699743c
|
16 years |
jakub |
Set a loop control variable properly when growing the FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e32b65a
|
16 years |
jakub |
Add the ability to grow a FAT directory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1baec4b
|
16 years |
jakub |
Create "." and ".." entries on FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a31c1ccf
|
16 years |
jakub |
Implement fat_unlink().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14c331a
|
16 years |
jakub |
Consider "prd" and "prd." to be the same FAT dentry names.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49df572
|
16 years |
jakub |
When creating a new directory node, allocate the first cluster for it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5da446
|
16 years |
jakub |
When syncing a FAT node, do not skip attributes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0fdd6bb
|
16 years |
jakub |
Add somewhat functional fat_link().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|