uvman
87d87073c7
The periodic 'int is not neccessarily 32bit' fixes.
2006-10-28 23:45:22 +00:00
uvman
2991c40d90
Remove double-commenting. Why use C++-style comments for multilines anyway?
2006-10-28 23:11:25 +00:00
uvman
ff55ecb513
Whitespace cleanup
2006-10-27 12:24:29 +00:00
aia21
8ddea064b9
Revert 1.13 commit from Yuval: Gratuitous API/ABI change.
2006-10-27 09:04:08 +00:00
uvman
ca2fb9a467
Remove inline keywords from static non-one-liners of '.c' files.
2006-10-26 19:10:05 +00:00
aia21
3d56b14bca
fix a packing bug
2006-10-20 19:54:22 +00:00
aia21
0c86fccdc9
Fix GUID to string conversion to follow documentation (details: it is not
...
little endian at all, it is a binary sequence)...
See remarks section at:
http://windowssdk.msdn.microsoft.com/en-us/library/96ff78dc.aspx
2006-10-10 10:29:11 +00:00
yura
a00ee02388
had not noticed lack of externs :(
2006-08-03 04:30:41 +00:00
yura
1493070b8e
Fix include order. Thanks, Yuval!
2006-08-03 02:49:00 +00:00
yura
08689c171e
Merge index code from ntfs-3g. Clean it a bit and fix adding index allocation when index root in the base mft record.
2006-08-02 03:55:41 +00:00
yura
9d0f9aec4c
Add new API ntfs_attr_exist() that checks whether attribute with selected type and name already present in inode. (Szaka)
2006-08-02 03:12:34 +00:00
yura
b86f4a41c1
introduce ntfs_[cm]alloc
2006-08-02 03:11:12 +00:00
yura
a3a318a8b4
forgot "cvs delete"
2006-07-22 19:39:59 +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
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
antona
422725fce4
Update a comment for a field.
2006-04-21 16:12:48 +00:00
cha0smaster
d3b82fa6cd
fix VCN size in index.c
2006-04-06 17:00:33 +00:00
szaka
134319ae80
libntfs: add and ntfs_inode_badclus_bad() and convert all copy-pastes
...
to use them
2006-04-05 02:53:40 +00:00
szaka
813933e1bc
libntfs: add ntfs_mft_usn_dec() and convert all copy-pastes to use them
2006-04-05 02:49:24 +00:00
szaka
be823c7a1e
libntfs: add ntfs_str2ucs and ntfs_freeucs function, and convert
...
copy-pastes to use them
2006-04-05 02:45:55 +00:00
szaka
ddc558f1ec
libntfs: add ntfs_index_root_get() which reads the index root of an attribute
2006-03-27 21:14:56 +00:00
szaka
9b801db7c8
libntfs: add ntfs_attr_readall() which reads the entire data from an attribute
2006-03-27 20:01:36 +00:00
szaka
43f2ab6ec3
mkntfs: set the physical drive and the extended boot signature to 0x80
...
in the Extended BPB which are needed to boot from disk
2006-03-14 21:20:20 +00:00
cha0smaster
74a95a993b
comment ni->{allocated,data}_size
2006-02-23 22:54:55 +00:00
antona
45c9aa137e
- Deal with missing syslog function by making code conditional on
...
presence of syslog.h header file (DOS/djgpp). (Christophe)
- Avoid clash with existing constants (OSX). (Christophe)
2006-02-22 14:20:08 +00:00
antona
90596212bf
Update documentation for allocated_size in file name attribute.
2006-02-21 11:43:49 +00:00
cha0smaster
32420ad699
implement POC of syslog logging handler, make ntfsmount to use it
2006-02-13 01:23:31 +00:00
antona
e5a3006f47
Only use O_EXCL if mounting r/w.
2006-02-04 02:42:42 +00:00
antona
135282539b
Fixes to previous commit.
2006-02-03 23:11:35 +00:00
antona
af9fd39611
Wheee! Lots of last minute fixes and enhancements.
...
- Compiler warning fixes for gnome-vfs and fuse modules. (Anton)
- Change volume mounting (actually device opening) to happen with
O_EXCL bit set so at least on Linux no one can change the device
block size under our feet. (Anton)
- Change volume mounting and mkntfs to set the device block size to the
sector size using BLKBSZSET ioctl (Linux only). This should be
optimal for performance and should fixes the bug of not being able to
create the backup boot sector if the number of sectors on the device
is odd, the sector size is 512 bytes, and the kernel is 2.4. (Anton)
- Enforce cluster size, mft record size, and index record size to be at
least equal to the sector size and verify they are still valid and in
particular display a warning message if the volume will not be
mountable by the kernel driver (it requires mft record size and index
record size to be below or equal to the system page size which we
determine using sysconf()). (Anton)
2006-02-03 22:19:17 +00:00
antona
29ed836b4b
Update VOLUME_FLAGS_MASK, too.
2006-02-03 09:23:03 +00:00
antona
4b0fb6faff
Add VOLUME_CHDSK_UNDERWAY flag to volume flags (layout.h). Thanks to Szaka for
...
the information.
2006-02-03 09:03:09 +00:00
cha0smaster
e2450ad61a
tidy up djgpp S_IF{SOCK,LNK} fix
2006-01-30 22:10:31 +00:00
cha0smaster
ff72ed6141
Oops, by accident commited incomplete stuff to dir.h
2006-01-08 15:56:03 +00:00
cha0smaster
e975db6fd5
should fix build under Solaris
2006-01-08 15:53:27 +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
cha0smaster
ce1aabed3b
FreeBSD and Cygwin do not know about MS_NOATIME too. Fix this.
2005-11-24 14:23:38 +00:00
flatcap
0f7ee235ed
comments for unions
2005-11-20 11:34:30 +00:00
flatcap
8ee10753ce
move a useful ioctl here, from mkntfs
2005-11-19 14:55:51 +00:00
cha0smaster
2367a06b6e
Rework time updates, more close to like windows does. Still do not update for / because of sync problems.
2005-11-17 18:00:58 +00:00
szaka
94e1647414
More comments on SDH_INDEX_DATA's reserved_II field
2005-11-16 00:17:53 +00:00
cha0smaster
e58a468d0c
* Fix bug with updating atime on read-only volumes. (Thanks to Szaka and Anton)
...
* Add MS_NOATIME to ntfs_mount. (By Yuval's request)
2005-11-15 16:31:40 +00:00
szaka
ae643af3cd
Update QUOTA_CONTROL_ENTRY and QUOTA_O_INDEX_DATA description
2005-11-15 01:00:22 +00:00
cha0smaster
632b146410
Add @from_vcn parameter to ntfs_attr_update_mapping_pairs, update all
...
users to submit it, thus write speed to very fragmented files
dramatically increased, while write speed to low fragmented files
stayed at approximately same level.
2005-11-14 00:17:19 +00:00
szaka
7b68432c72
Name consistently the same $SDS, $SDH and $SII fields
2005-11-12 15:35:51 +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
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
szaka
1e3ce5d1dd
FILE_ATTR_DUP_VIEW_INDEX_PRESENT is also present in $STANDARD_INFORMATION
...
on 3.x volumes
2005-11-07 22:22:43 +00:00