HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
trunk
/
uspace
/
srv
/
fs
/
fat
/
fat_ops.c
@ 4359
– Rev 4680
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Clear current filter
Rev
Age
Author
Path
Log message
Diff
Changes
4680
5573 d 3 h
svoboda
/trunk/uspace/
Fix some warnings.
/trunk/uspace/app/tester/thread/thread1.c
/trunk/uspace/app/tetris/shapes.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fs/fat/fat_ops.c
4586
5608 d 2 h
jermar
/trunk/uspace/
Add libfs_stat() and let FAT and TMPFS use it.
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4585
5608 d 2 h
jermar
/trunk/uspace/
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/vfs.h
/trunk/uspace/lib/libc/include/sys/stat.h
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/devfs/devfs_ops.h
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
4572
5610 d 0 h
svoboda
/trunk/uspace/
Allow libblock to operate in write-through mode. With 'wtcache' mount option, FAT sets write-through mode on the cache.
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_ops.c
4552
5618 d 23 h
jermar
/trunk/uspace/srv/fs/fat/
Use fibril synchronization in FAT.
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
4509
5628 d 8 h
decky
/trunk/uspace/
rename libadt -> adt
/trunk/uspace/lib/libc/generic/adt
/trunk/uspace/lib/libc/include/adt
/trunk/uspace/lib/libc/generic/libadt
/trunk/uspace/lib/libc/include/libadt
/trunk/uspace/app/trace/ipcp.c
/trunk/uspace/app/trace/proto.c
/trunk/uspace/app/trace/proto.h
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/adt/hash_table.c
/trunk/uspace/lib/libc/generic/adt/list.c
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/fibril.c
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/adt/hash_table.h
/trunk/uspace/lib/libc/include/fibril.h
/trunk/uspace/lib/libc/include/ipc/devmap.h
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/kbd/genarch/gsp.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/kbd/include/gsp.h
/trunk/uspace/srv/ns/clonable.c
/trunk/uspace/srv/ns/service.c
/trunk/uspace/srv/ns/task.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
/trunk/uspace/srv/vfs/vfs_register.c
4465
5633 d 2 h
decky
/trunk/uspace/srv/fs/
implement VFS_OPEN_NODE and VFS_DEVICE (no device handle is returned)
implement no-op VFS_SYNC and VFS_CLOSE
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4429
5645 d 2 h
jermar
/trunk/uspace/
Add fs_handle argument to libfs_mount() needed to recognize homogenous mounts.
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4409
5648 d 0 h
jermar
/trunk/uspace/
Rudimentary support for non-root mounts.
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs_ops.c
4370
5657 d 23 h
jermar
/trunk/uspace/
Streamline TMPFS and fix its design so that it properly supports hardlinks.
libfs operation unlink() is now passed also the name of the component being
unlinked.
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4359
5661 d 3 h
jermar
/trunk/uspace/srv/fs/fat/
Do not attempt to unlink non-empty FAT directories.
/trunk/uspace/srv/fs/fat/fat_ops.c
4358
5661 d 23 h
jermar
/trunk/uspace/srv/fs/fat/
Do not attempt to unlink() FAT root.
/trunk/uspace/srv/fs/fat/fat_ops.c
4357
5661 d 23 h
jermar
/trunk/uspace/
Introduce the concept of FS nodes. A FS node is a typed abstraction of
file-system-specific node type. It replaces the void * in libfs interfaces
and is suitable for holding various information such as mount point data.
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4305
5679 d 6 h
jermar
/trunk/uspace/
Support mount options.
Let tmpfs decide whether to start empty or restored a TMPFS dump based on the mount option.
/trunk/uspace/app/init/init.c
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
4268
5687 d 13 h
svoboda
/trunk/uspace/
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
/trunk/uspace/app/tetris/scores.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/loader.c
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/string.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4264
5688 d 0 h
svoboda
/trunk/uspace/
Nuke strcpy() and strcmp().
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c
/trunk/uspace/app/bdsh/cmds/mod_cmds.c
/trunk/uspace/app/bdsh/cmds/modules/help/help.c
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
/trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
/trunk/uspace/app/bdsh/exec.c
/trunk/uspace/app/bdsh/input.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tetris/scores.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/console.c
/trunk/uspace/lib/libc/generic/getopt.c
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libc/include/string.h
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/loader/main.c
/trunk/uspace/srv/pci/libpci/names.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs_ops.c
3701
5802 d 4 h
jermar
/trunk/uspace/srv/fs/fat/
Set a loop control variable properly when growing the FAT directory.
/trunk/uspace/srv/fs/fat/fat_ops.c
3700
5802 d 4 h
jermar
/trunk/uspace/srv/fs/fat/
Add the ability to grow a FAT directory.
/trunk/uspace/srv/fs/fat/fat_ops.c
3660
5818 d 3 h
jermar
/trunk/uspace/srv/fs/fat/
Create "." and ".." entries on FAT.
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3638
5822 d 23 h
jermar
/trunk/uspace/srv/fs/fat/
Implement fat_unlink().
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3634
5823 d 9 h
jermar
/trunk/uspace/srv/fs/fat/
Consider "prd" and "prd." to be the same FAT dentry names.
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3633
5823 d 23 h
jermar
/trunk/uspace/srv/fs/fat/
When creating a new directory node, allocate the first cluster for it.
/trunk/uspace/srv/fs/fat/fat_ops.c
3629
5825 d 5 h
jermar
/trunk/uspace/srv/fs/fat/
When syncing a FAT node, do not skip attributes.
/trunk/uspace/srv/fs/fat/fat_ops.c
3628
5825 d 5 h
jermar
/trunk/uspace/
Add somewhat functional fat_link().
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_dentry.c
/trunk/uspace/srv/fs/fat/fat_dentry.h
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3625
5825 d 9 h
jermar
/trunk/uspace/
libfs operation link() should return standard error code instead of mere
true/false.
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3621
5825 d 10 h
jermar
/trunk/uspace/srv/fs/fat/
Add implementation of fat_destroy_node() and fat_destroy().
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3609
5826 d 10 h
jermar
/trunk/uspace/srv/fs/fat/
Implementation of fat_create_node().
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3595
5830 d 1 h
jermar
/trunk/uspace/
Avoid unnecessary block reads in block_get().
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3575
5839 d 0 h
jermar
/trunk/uspace/
libfs create operation should take the device handle as argument.
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
3574
5839 d 0 h
jermar
/trunk/uspace/srv/fs/fat/
Move common code to dedicated functions so that it can be easily reused.
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3573
5839 d 2 h
jermar
/trunk/uspace/srv/fs/fat/
VFS_WRITE has two return arguments on success.
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_ops.c
3572
5839 d 4 h
jermar
/trunk/uspace/srv/fs/fat/
Finish implementation of fat_truncate() and fix several warnings.
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3550
5842 d 23 h
jermar
/trunk/uspace/srv/fs/fat/
Extend _fat_blcks_get() to fat_cluster_walk(). Use fat_cluster_walk() to
implement fat_clusters_get() and _fat_block_get().
/trunk/uspace/srv/fs/fat/fat_fat.c
/trunk/uspace/srv/fs/fat/fat_fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3548
5843 d 22 h
jermar
/trunk/uspace/srv/fs/fat/
More fat_truncate() bits.
/trunk/uspace/srv/fs/fat/fat_ops.c
3547
5843 d 23 h
jermar
/trunk/uspace/srv/fs/fat/
Enable fat_write().
/trunk/uspace/srv/fs/fat/fat_ops.c
3546
5843 d 23 h
jermar
/trunk/uspace/srv/fs/fat/
Start implementing fat_truncate().
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3539
5846 d 8 h
jermar
/trunk/uspace/
Add block_cache_init().
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_ops.c
3537
5846 d 11 h
jermar
/trunk/uspace/
Separate the block_init() phase from reading of the boot block.
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
3533
5848 d 5 h
jermar
/trunk/uspace/srv/fs/fat/
move comment
/trunk/uspace/srv/fs/fat/fat_ops.c
3532
5848 d 5 h
jermar
/trunk/uspace/srv/fs/fat/
fat_read() needs to stop reading beyond the EOF.
/trunk/uspace/srv/fs/fat/fat_ops.c