aia21
f73d77d568
- Implement ntfs_pread() and ntfs_pwrite() in terms of device
...
operations pread() and pwrite() respectively and fall back to using
seek() + read()/write() if no pread()/pwrite() device operation is
supplied or the OS does not support the pread()/pwrite() system call.
Adapt unix_io pread()/pwrite() device operations to use pread()/
pwrite() system call and adapt win32_io device operations to not
supply pread()/pwrite(). (Csaba Henk, Anton)
2006-12-09 14:01:12 +00:00
yura
c475778b47
Turn ntfs_pathname_to_inode() into ntfs_pathname_to_inode_num() which
...
returns ntfs inode number instead of opened inode itself.
Reimplement ntfs_pathname_to_inode() as wrapper to new API.
2006-12-06 18:50:13 +00:00
yura
f12f4aefb7
ntfs_log_error("Failed.\n") is evil. TODO: Implement ntfs_log_errortrace
2006-11-25 21:10:35 +00:00
yura
18c8f75c7b
make ntfs_attr_rm to always close attribute (both on success and failure)
2006-11-22 18:28:13 +00:00
yura
b33658bc61
cleanups
2006-11-17 22:51:29 +00:00
yura
7d1016fe97
Treat filenames in POSIX namespace as case insensitive in case of case insensitive mounts.
2006-11-15 23:15:17 +00:00
yura
cb27c9f616
* Rename MS_{RDONLY,NOATIME} to NTFS_MNT_{RDONLY,NOATIME}.
...
2006-11-12 22:46:50 +00:00
uvman
76fc32ed87
Fix a memleak. (Szaka)
2006-11-01 22:37:31 +00:00
uvman
7d585a0327
Change callers of malloc() to ntfs_malloc() (Szaka). Fix compilition (Yuval).
2006-11-01 13:30:40 +00:00
uvman
3e3196133c
Avoid a memory leak on the error code path.
2006-10-30 13:43:09 +00:00
yura
b1583bdce6
Fix several memleaks
2006-10-27 14:15:32 +00:00
uvman
ff55ecb513
Whitespace cleanup
2006-10-27 12:24:29 +00:00
uvman
bd1837335b
trace output updates. (Szaka, Yuval)
2006-10-26 20:45:28 +00:00
uvman
ca2fb9a467
Remove inline keywords from static non-one-liners of '.c' files.
2006-10-26 19:10:05 +00:00
uvman
fc7553ad2b
[Inconstant,Damaged] metadata -> Inconsistent metadata
2006-10-25 18:57:15 +00:00
uvman
7b6f7e98d4
Remove saving and restoring errno around logging calls as these will not change errno anyway. Remove save/restore only if the saved value will not be used.
2006-10-22 00:23:29 +00:00
uvman
a117a21941
Comment documentation fixes.
2006-09-25 16:58:38 +00:00
yura
d15ed62ae4
a bit of cleanups
2006-08-14 03:52:56 +00:00
yura
2338377ec3
bit move verbose in ntfs_delete()
2006-07-28 23:15:35 +00:00
yura
0d94460169
be bit more verbose
2006-07-17 11:55:29 +00:00
yura
28a2b1f2b0
prepare to Szaka's code merge: remove not working Rich's index code
2006-07-17 11:49:52 +00:00
yura
2d137b6900
create SD in __ntfs_create
2006-07-13 16:01:52 +00:00
yura
035df31eae
move ROUND_{UP,DOWN} to support.h, make second parameter to be order in which
...
we should power 2 (to prevent incorrect use)
2006-07-13 02:49:07 +00:00
yura
345247a596
ntfs_link(): prevent creating of recursive directary structure.
...
FUSE incorrectly handles case insensitive filesystems: when I try to rename
"/Dir" to "/DIR", ntfsmount receive rename("/Dir", "/DIR/Dir") call.
This patch do not fix rename, but prevent fs corruption. I will mail Miklos
about this problem.
2006-06-03 22:09:24 +00:00
yura
6b0018def4
Fix bug with renaming directories with names in DOS and WIN32 namespaces.
2006-06-03 21:37:27 +00:00
cha0smaster
b0f4e5099e
ntfs_create: add for any case check
2006-02-23 00:29:04 +00:00
cha0smaster
2fa889ff26
cleanups
2006-02-19 00:37:15 +00:00
cha0smaster
dc751c641b
cleanup
2006-02-10 11:00:47 +00:00
szaka
d34acd45bf
__ntfs_create(): fix cluster leaks for some special files when index entry
...
creation fails
2006-02-09 21:43:52 +00:00
cha0smaster
e2450ad61a
tidy up djgpp S_IF{SOCK,LNK} fix
2006-01-30 22:10:31 +00:00
szaka
770aded28d
Define S_IFLNK and S_IFSOCK for djgpp (Christophe)
2006-01-29 14:07:45 +00:00
cha0smaster
eba747ac93
* Add NTFS_DEV_LIST define. Use it everywhere instead of linux-ntfs-dev@lists.sf.net.
...
* Replace all ntfs_log_trace where we ask to send mail to us with ntfs_log_error
2005-12-18 16:27:20 +00:00
flatcap
04ebd8256d
The addition of one hundred and forty-five linefeeds. Thanks Yura!
2005-12-04 22:42:51 +00:00
cha0smaster
df8ce8fd42
dir.c::ntfs_delete(): Fix bug with deletion hard links to directories. See comment to ntfs_link() if care for why we support this case.
2005-12-03 18:04:44 +00:00
cha0smaster
9d6a1cd081
minor fixes to comments
2005-12-03 16:18:15 +00:00
uvman
0d651e54d3
Give a better name to MFT_RECORD_IS_8 and rename FILE_ATTR_DUP_* to match this meaning.
2005-11-11 23:35:56 +00:00
cha0smaster
4652ad72c6
* implement symblic link creation in ntfs_create
...
* rename ntfs_create -> __ntfs_create. add wrapers ntfs_create{_symlink,_device}
* ntfsmount: implement .symlink
* ntfsmount: fix readdir to emulate . and .. when needed
2005-11-10 18:13:15 +00:00
cha0smaster
1254b2951c
Fix stupidness introduced in latest changesets. Thanks to Yuval for comments.
2005-11-08 19:49:52 +00:00
cha0smaster
2c3dfcba27
Teech ntfs_create() to create Interix charcter and block devices. Add @dev parameter to ntfs_create() for this.
2005-11-08 16:13:17 +00:00
cha0smaster
53446b07f8
- Change @type parameter for ntfs_create() to be dev_t rather than internal NTFS_DT_* constants.
...
- Teech ntfs_create() to create FIFOs and sockets.
2005-11-08 15:15:37 +00:00
cha0smaster
a732881c5e
see changelog
2005-11-07 20:37:07 +00:00
cha0smaster
5bbb43d947
fix really hard to trigger bug in ntfs_delete
2005-11-04 22:43:10 +00:00
flatcap
b2606af8ab
a few typos
2005-11-02 18:06:48 +00:00
flatcap
83b9eddfc9
provide some meaningful function descriptions
2005-11-02 17:34:08 +00:00
flatcap
9c2e3a8206
add/update function comment blocks
...
(ok, they need words, but it's a start)
2005-10-31 01:15:12 +00:00
szaka
370bea1395
ntfsinfo: figure out and dump index attribute types
2005-10-30 22:53:38 +00:00
flatcap
121d05deb6
add/update function comment blocks
...
(ok, they need words, but it's a start)
2005-10-30 16:12:22 +00:00
flatcap
8892ba7ac6
remove some colour hacks
...
remove a few #ifdef DEBUGs and RM_WRITEs
throw in lots of extra traces
2005-10-28 04:32:21 +00:00
flatcap
8a584700c5
whitespace fixes - no code changes
2005-10-26 22:54:57 +00:00
szaka
746dff1a24
NTFS_INDEX_ prefix $I30, $SII, $SDH, $O and $Q indexes
2005-10-23 18:35:58 +00:00