mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Change sizedetection for files so we work with sparse files, too.
2002/07/15 16:41:48-00:00 !flatcap AT_NONAME -> AT_UNNAMED 2002/07/15 15:09:21-00:00 !flatcap lingering attribute name problems 2002/07/11 16:20:34-00:00 !flatcap whitespace and include guards 2002/07/09 19:17:49-00:00 !flatcap move the runlist functions from attrib.c to runlist.c 2002/07/08 23:27:16-00:00 !flatcap added AT_NONAME so we can search for a (un)named attribute or just iterate through all attributes 2002/07/06 20:07:59-00:00 !antona New API for compressing run lists into mapping pairs arrays and adapt mkntfs to that API. Addition of ntfs_walk_attrs(). 2002/07/03 21:56:01-00:00 !antona Updates 2002/07/02 23:47:11-00:00 !antona Global replacement of __[su]{8,16,32,64} with [su]{8,16,32,64} and layout.h define it. 2002/04/27 19:49:10-00:00 !antona Update library, new APIs ntfs_attr_find_vcn(), misc fixes and cleanups, make all the utilities compile, fix bugs I noticed in ntfslabel and it now works properly. 2002/04/23 23:27:33-00:00 !antona Fixup the force option in mkntfs.c. Change the ntfs_check_if_mounted so it works on system not implementing {set,get,end}mntent, too. Also make it more powerful in telling us not only if something is mounted but also if it is the fs root and if it is read-only. 2002/04/23 19:37:18-00:00 !mattjf Removed the check_mount() function and added ntfs_check_if_mounted() to mkntfs 2002/04/22 10:34:32-00:00 !antona Attribute list support (merging done, part 2, some stuff still incomplete). mkntfs ntfs volume creation. See the changelog... 2002/04/21 01:26:39-00:00 !antona Cleanup/streamline include file dependencies. 2002/04/21 01:12:55-00:00 !antona Fix mkntfs again. 2002/04/20 23:09:43-00:00 !antona Port attribute lookup functions with attribute list support from ntfs tng driver. Port/reimplement extent mft record handling code as well. Rename out all dollar signs from type names and constants. Adapt all callers to new API. Note mkntfs is currently broken due to some needed work. 2002/04/19 21:09:55-00:00 !antona Finished provisional inode.c::ntfs_{open,close}_inode() functions. Also, started defining API provided by attrib.[ch], so far only done search context related stuff. 2002/04/18 18:15:46-00:00 !antona Define API for bootsect.[ch]: is_boot_sector_ntfs(). 2002/04/16 15:34:32-00:00 !antona Fix the library... 2002/04/15 21:41:16-00:00 !antona Little fix of a fix. (-: 2002/04/15 20:04:29-00:00 !antona Fix all compiler warnings that came up with -Wall. Enabled -Wall for ./configure --enable-debug everywhere. Fix a few bugs in mkntfs that came up in the warnings (just error code paths, nothing major). 2002/04/15 19:02:41-00:00 !antona Really fix the library and mkntfs while at it. 2002/04/14 15:26:24-00:00 !antona Remove find_first_attr and make all users use get_attr_search_ctx + find_attr instead. 2002/03/12 22:11:02-00:00 !antona Final tidyups. 2002/03/12 22:00:44-00:00 !antona Fix a few small mistakes 2002/03/12 21:48:27-00:00 !antona Change version numbers of mkntfs and ntfsfix to match linux-ntfs release and add options to mkntfs to disable content indexing on the volume and to enable compression on the volume. 2002/03/12 00:34:35-00:00 !antona Fix typo in mkntfs usage information. 2002/02/01 02:46:16-00:00 !antona Attempt to fix compile warnings on powerpc. 2002/01/10 10:54:27-00:00 !antona Updates 2002/01/10 10:11:46-00:00 !antona Fix logfile size calculation. 2001/12/15 05:26:07-00:00 !antona Hm, it would appear that on my SuSE 7.2 + many other thins + 2.5.1-pre11 kernel mkntfs gets an EINVAL from seek instead of ENOSPACE crashes out. Converted the crash into a warning only. 2001/11/10 16:24:13-00:00 !antona More logfile size updates so we are more sane with floppies. 2001/11/10 14:47:39-00:00 !antona Debug display bug fixes. 2001/11/10 14:27:38-00:00 !antona And more typos. 2001/11/10 14:25:33-00:00 !antona Oops. Didn't compile. Typo 2001/11/10 14:22:15-00:00 !antona Remove obsoleted disklabel.h stuff. 2001/11/10 14:17:39-00:00 !antona Enhance mkntfs' device size determination. 2001/11/10 03:06:05-00:00 !antona Bug fixes and debug output enhancements. 2001/11/09 23:36:17-00:00 !antona Bug fixes 2001/11/09 21:18:22-00:00 !antona More fixes and allow small volumes down to 1MiB, scaling down the $LogFile as much as necessary. 2001/11/09 19:21:09-00:00 !antona Fix directories on large clusters and allow 4MB volumes. 2001/08/27 16:58:07-00:00 !antona Updates. 2001/07/25 22:49:25-00:00 !antona Small tidying up of a misspelling. 2001/07/25 22:30:34-00:00 !antona Bug fixes for cluster sizes > 4kb involving corrections to mft mirror size and contents, mft data attribute position and mft bitmap size. Some of those were nasty so this is a major improvement. 2001/06/16 19:22:45-00:00 !antona Get rid of logfile stuff for mkntfs as it is clearly not needed. 2001/06/16 18:26:34-00:00 !antona Make mft bitmap non resident and located just after $Boot. This fixes all the crashes experienced! This makes mkntfs complete and bug free AFAIK. 2001/06/15 16:47:47-00:00 !antona Integrate logfile.c into mkntfs 2001/06/13 19:00:56-00:00 !antona More cleanups and man page final updates/polishing. 2001/06/13 18:07:00-00:00 !antona Some output cleanup. 2001/06/13 12:21:51-00:00 !flatcap the backup boot sector is in no-mans-land beyond the normal clusters 2001/06/13 11:51:17-00:00 !flatcap fixed sector/cluster typo 2001/06/13 11:47:05-00:00 !flatcap $bitmap - set bits beyond volume 2001/06/13 01:35:02-00:00 !antona fix backup boot sector problem with error message instead of crashing out. we rely on chkdsk to fix this as it is a kernel limitation we can't do anything about atm. 2001/06/13 00:13:38-00:00 !antona Fix run list corruption stupidity. 2001/06/12 22:39:35-00:00 !antona Testing 2001/06/12 22:17:30-00:00 !antona Testing. 2001/06/12 21:58:32-00:00 !antona Fix stupid bugs in calculating the clusters per mft/index record values. 2001/06/12 20:13:35-00:00 !antona Fix nr_sectors / sector_size problems with previous commit. 2001/06/12 20:02:50-00:00 !antona Enable automatic determination of file size of non-block devices instead of crashing out. A user specified size stil overrides the actual size, we assume the file size will be adjusted automatically by the seek to the last sector and write of the backup boot sector. 2001/06/11 20:31:29-00:00 !antona Bugfixing of mkntfs.c. Loads of it. (-8 2001/06/11 04:02:09-00:00 !antona Linux-NTFS 1.0.0-pre-1 - FEATURE FREEZE ======================================= mkntfs complete with option parsing and more cool things. mkntfs man page complete. info files updated. TODO Before 1.0.0 final: - Test mkntfs options & mkntfs itself. - Test tar ball generation. - Test rpm generation. 2001/06/10 15:54:20-00:00 !antona Linux-NTFS 0.1.0-pre1 ===================== -fixed up ntfsfix and ntfsdump_logfile -corrected stuff -several bug fixes -fixed (hopefully) final bug with mkntfs (sd generator was wrong due to brain'o) -mkntfs now completed, only need to add a few command line options before first public release. -rpm generation file updated and autostrip modified to make use of install-stip make target instead of stripping manually -made bootsector check verbosity during mount dependent on --enable-debug configure option. 2001/06/10 14:00:12-00:00 !antona mkntfs alpha 4 ============== - set back up boot sector as used in volume bitmap - almost no errors left. only thing chkdsk now complains about is the root dir security descriptor. 2001/06/10 02:25:38-00:00 !antona mkntfs alpha 3 ============== - Several bugfixes (root dir link count wasn't incremented, mftmirror usns weren't correct [off by one too high], etc). - Implement new $UpCase generation using flatcap (Richard Russon)'s algorithm for generating it. This dropped the stripped mkntfs executable from 204kb down to 78kb in size. A whopping 62% size decrease! Yey! And the source code dropped ny over 600kb in size as well. And compilation got quicker, too. 2001/06/09 18:32:57-00:00 !antona mkntfs alpha 2 create_hardlink() was forgetting to increment the use count! 2001/06/09 16:31:13-00:00 !antona mkntfs alpha release is here! Yey! The only thing I am worried about is the fact that the system call to get the number of sectors on the device returns a value rounded to the nearest 1024 bytes (converted to 512 byte blocks) thus we might be writting the backup boot sector too early instead of on the real last sector but there is nothing I can do apart from starting to play games like accessing the main device for hds instead of the partition device which wouldn't help in the case of the last partition though... Alternatively have to place the backup boot sector in the middle of the disk like WinNT3.51 and earlier did but I need an image to see exactly how they did it and even then we have the problem of not knowing where the middle of the disk is as we don't really know how many sectors there are for real with Linux kernel lying to us. 2001/06/09 00:25:56-00:00 !antona mkntfs delayed. more reverse engineering required to determine exact method of index entry collation. first few helper functions are already done and entered into ntfslib in unistr.c 2001/06/08 19:58:25-00:00 !antona getting closer to mkntfs alpha. 2001/06/08 14:09:52-00:00 !antona mkntfs compiles. But untested. Also there are still things to do... 2001/06/07 23:31:54-00:00 !antona mkntfs - the end to the saga draws closer... 2001/06/06 22:55:49-00:00 !antona And some more mkntfs + some updates to layout.h concerning directories and alignment requirements. 2001/06/05 23:45:47-00:00 !antona The mkntfs saga continues. 2001/06/05 10:33:02-00:00 !antona Update automatic config/make process and mkntfs to use the cvs release tag for version reporting. 2001/06/05 10:19:53-00:00 !antona mkntfs update. 2001/06/04 23:38:55-00:00 !antona Integrate ldm.c into automatic build process. A bit more on mkntfs and make it compile (do _not_ run as it is - am working on directory creation so chances are it will hang if you run it or something). 2001/06/04 14:04:31-00:00 !antona More work on mkntfs dir stuff. 2001/06/04 11:29:45-00:00 !antona *** empty log message *** 2001/06/03 12:04:30-00:00 !antona More directory work in mkntfs 2001/06/03 02:09:08-00:00 !antona Fix/expand dircetory info in layout.h and add creation of index root attribute to mkntfs.c. 2001/06/01 19:04:08-00:00 !antona Updates & fixes. 2001/06/01 02:07:26-00:00 !antona It has been a long time since last commit. At moment have done a lot of work on mkntfs but also at the moment ntfsfix and ntfsdump_logfile and libntfs are broken. Basically only mkntfs works and that is not complete either. 2001/04/08 03:02:55-00:00 !antona Added cvs Id header. 2001/03/02 15:09:25-00:00 !antona Added begin of mkntfs utility. (Doesn't do anything, including doesn't compile at the moment.) (Logical change 1.5)
This commit is contained in:
parent
9cbb7f7777
commit
bd5e13a59b
3554
ntfstools/mkntfs.c
3554
ntfstools/mkntfs.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user