mirror of
https://github.com/reactos/reactos.git
synced 2024-07-27 22:58:42 +00:00
![Trevor Thompson](/assets/img/avatar_default.png)
NtfsAddFilenameToDirectory() - Add CaseSensitive parameter. Update to use new B-Tree code: First, the index is read and converted to a B-Tree in memory. Next, a key for the new file is inserted into the tree. Finally, the tree is converted back to an index root attribute which is written to disk. +btree.c - Includes functions related to B-Trees (AKA B*Trees). ntfs.h - Added several structures for representing B-Trees in memory. Known limitations: For simplicity, only trees with a depth of one are currently supported (i.e. an ordered list of filenames). Directories that have or will require an index allocation to store all their filenames are still TODO. As a consequence, the user will only be able to create about 6 files in a directory. svn path=/branches/GSoC_2016/NTFS/; revision=75223
29 lines
516 B
CMake
29 lines
516 B
CMake
|
|
list(APPEND SOURCE
|
|
attrib.c
|
|
btree.c
|
|
blockdev.c
|
|
cleanup.c
|
|
close.c
|
|
create.c
|
|
devctl.c
|
|
dirctl.c
|
|
dispatch.c
|
|
fastio.c
|
|
fcb.c
|
|
finfo.c
|
|
fsctl.c
|
|
mft.c
|
|
misc.c
|
|
ntfs.c
|
|
rw.c
|
|
volinfo.c
|
|
ntfs.h)
|
|
|
|
add_library(ntfs SHARED ${SOURCE} ntfs.rc)
|
|
set_module_type(ntfs kernelmodedriver)
|
|
target_link_libraries(ntfs ${PSEH_LIB})
|
|
add_importlibs(ntfs ntoskrnl hal)
|
|
add_pch(ntfs ntfs.h SOURCE)
|
|
add_cd_file(TARGET ntfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|