ntfs.txt
来自「Linux Kernel 2.6.9 for OMAP1710」· 文本 代码 · 共 467 行 · 第 1/2 页
TXT
467 行
For linear raid, just change the raid-level above to "raid-level linear", formirrors, change it to "raid-level 1", and for stripe sets with parity, changeit to "raid-level 5".Note for stripe sets with parity you will also need to tell the MD driverwhich parity algorithm to use by specifying the option "parity-algorithmwhich", where you need to replace "which" with the name of the algorithm touse (see man 5 raidtab for available algorithms) and you will have to try thedifferent available algorithms until you find one that works. Make sure youare working read-only when playing with this as you may damage your dataotherwise. If you find which algorithm works please let us know (email thelinux-ntfs developers list linux-ntfs-dev@lists.sourceforge.net or drop in onIRC in channel #ntfs on the irc.freenode.net network) so we can update thisdocumentation.Once the raidtab is setup, run for example raid0run -a to start all devices orraid0run /dev/md0 to start a particular md device, in this case /dev/md0.Then just use the mount command as usual to mount the ntfs volume using forexample: mount -t ntfs -o ro /dev/md0 /mnt/myntfsvolumeIt is advisable to do the mount read-only to see if the md volume has beensetup correctly to avoid the possibility of causing damage to the data on thentfs volume.Limitiations when using the MD driver=====================================Using the md driver will not work properly if any of your NTFS partitions havean odd number of sectors. This is especially important for linear raid as alldata after the first partition with an odd number of sectors will be offset byone or more sectors so if you mount such a partition with write support youwill cause massive damage to the data on the volume which will only becomeapparent when you try to use the volume again under Windows.So when using linear raid, make sure that all your partitions have an evennumber of sectors BEFORE attempting to use it. You have been warned!ChangeLog=========Note, a technical ChangeLog aimed at kernel hackers is in fs/ntfs/ChangeLog.2.1.20: - Fix two stupid bugs introduced in 2.1.18 release.2.1.19: - Minor bugfix in handling of the default upcase table. - Many internal cleanups and improvements. Many thanks to Linus Torvalds and Al Viro for the help and advice with the sparse annotations and cleanups.2.1.18: - Fix scheduling latencies at mount time. (Ingo Molnar) - Fix endianness bug in a little traversed portion of the attribute lookup code.2.1.17: - Fix bugs in mount time error code paths.2.1.16: - Implement access time updates (including mtime and ctime). - Implement fsync(2), fdatasync(2), and msync(2) system calls. - Enable the readv(2) and writev(2) system calls. - Enable access via the asynchronous io (aio) API by adding support for the aio_read(3) and aio_write(3) functions.2.1.15: - Invalidate quotas when (re)mounting read-write. NOTE: This now only leave user space journalling on the side. (See note for version 2.1.13, below.)2.1.14: - Fix an NFSd caused deadlock reported by several users.2.1.13: - Implement writing of inodes (access time updates are not implemented yet so mounting with -o noatime,nodiratime is enforced). - Enable writing out of resident files so you can now overwrite any uncompressed, unencrypted, nonsparse file as long as you do not change the file size. - Add housekeeping of ntfs system files so that ntfsfix no longer needs to be run after writing to an NTFS volume. NOTE: This still leaves quota tracking and user space journalling on the side but they should not cause data corruption. In the worst case the charged quotas will be out of date ($Quota) and some userspace applications might get confused due to the out of date userspace journal ($UsnJrnl).2.1.12: - Fix the second fix to the decompression engine from the 2.1.9 release and some further internals cleanups.2.1.11: - Driver internal cleanups.2.1.10: - Force read-only (re)mounting of volumes with unsupported volume flags and various cleanups.2.1.9: - Fix two bugs in handling of corner cases in the decompression engine.2.1.8: - Read the $MFT mirror and compare it to the $MFT and if the two do not match, force a read-only mount and do not allow read-write remounts. - Read and parse the $LogFile journal and if it indicates that the volume was not shutdown cleanly, force a read-only mount and do not allow read-write remounts. If the $LogFile indicates a clean shutdown and a read-write (re)mount is requested, empty $LogFile to ensure that Windows cannot cause data corruption by replaying a stale journal after Linux has written to the volume. - Improve time handling so that the NTFS time is fully preserved when converted to kernel time and only up to 99 nano-seconds are lost when kernel time is converted to NTFS time.2.1.7: - Enable NFS exporting of mounted NTFS volumes.2.1.6: - Fix minor bug in handling of compressed directories that fixes the erroneous "du" and "stat" output people reported.2.1.5: - Minor bug fix in attribute list attribute handling that fixes the I/O errors on "ls" of certain fragmented files found by at least two people running Windows XP.2.1.4: - Minor update allowing compilation with all gcc versions (well, the ones the kernel can be compiled with anyway).2.1.3: - Major bug fixes for reading files and volumes in corner cases which were being hit by Windows 2k/XP users.2.1.2: - Major bug fixes aleviating the hangs in statfs experienced by some users.2.1.1: - Update handling of compressed files so people no longer get the frequently reported warning messages about initialized_size != data_size.2.1.0: - Add configuration option for developmental write support. - Initial implementation of file overwriting. (Writes to resident files are not written out to disk yet, so avoid writing to files smaller than about 1kiB.) - Intercept/abort changes in file size as they are not implemented yet.2.0.25: - Minor bugfixes in error code paths and small cleanups.2.0.24: - Small internal cleanups. - Support for sendfile system call. (Christoph Hellwig)2.0.23: - Massive internal locking changes to mft record locking. Fixes various race conditions and deadlocks. - Fix ntfs over loopback for compressed files by adding an optimization barrier. (gcc was screwing up otherwise ?) Thanks go to Christoph Hellwig for pointing these two out: - Remove now unused function fs/ntfs/malloc.h::vmalloc_nofs(). - Fix ntfs_free() for ia64 and parisc.2.0.22: - Small internal cleanups.2.0.21: These only affect 32-bit architectures: - Check for, and refuse to mount too large volumes (maximum is 2TiB). - Check for, and refuse to open too large files and directories (maximum is 16TiB).2.0.20: - Support non-resident directory index bitmaps. This means we now cope with huge directories without problems. - Fix a page leak that manifested itself in some cases when reading directory contents. - Internal cleanups.2.0.19: - Fix race condition and improvements in block i/o interface. - Optimization when reading compressed files.2.0.18: - Fix race condition in reading of compressed files.2.0.17: - Cleanups and optimizations.2.0.16: - Fix stupid bug introduced in 2.0.15 in new attribute inode API. - Big internal cleanup replacing the mftbmp access hacks by using the new attribute inode API instead.2.0.15: - Bug fix in parsing of remount options. - Internal changes implementing attribute (fake) inodes allowing all attribute i/o to go via the page cache and to use all the normal vfs/mm functionality.2.0.14: - Internal changes improving run list merging code and minor locking change to not rely on BKL in ntfs_statfs().2.0.13: - Internal changes towards using iget5_locked() in preparation for fake inodes and small cleanups to ntfs_volume structure.2.0.12: - Internal cleanups in address space operations made possible by the changes introduced in the previous release.2.0.11: - Internal updates and cleanups introducing the first step towards fake inode based attribute i/o.2.0.10: - Microsoft says that the maximum number of inodes is 2^32 - 1. Update the driver accordingly to only use 32-bits to store inode numbers on 32-bit architectures. This improves the speed of the driver a little.2.0.9: - Change decompression engine to use a single buffer. This should not affect performance except perhaps on the most heavy i/o on SMP systems when accessing multiple compressed files from multiple devices simultaneously. - Minor updates and cleanups.2.0.8: - Remove now obsolete show_inodes and posix mount option(s). - Restore show_sys_files mount option. - Add new mount option case_sensitive, to determine if the driver treats file names as case sensitive or not. - Mostly drop support for short file names (for backwards compatibility we only support accessing files via their short file name if one exists). - Fix dcache aliasing issues wrt short/long file names. - Cleanups and minor fixes.2.0.7: - Just cleanups.2.0.6: - Major bugfix to make compatible with other kernel changes. This fixes the hangs/oopses on umount. - Locking cleanup in directory operations (remove BKL usage).2.0.5: - Major buffer overflow bug fix. - Minor cleanups and updates for kernel 2.5.12.2.0.4: - Cleanups and updates for kernel 2.5.11.2.0.3: - Small bug fixes, cleanups, and performance improvements.2.0.2: - Use default fmask of 0177 so that files are no executable by default. If you want owner executable files, just use fmask=0077. - Update for kernel 2.5.9 but preserve backwards compatibility with kernel 2.5.7. - Minor bug fixes, cleanups, and updates.2.0.1: - Minor updates, primarily set the executable bit by default on files so they can be executed.2.0.0: - Started ChangeLog.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?