Linux tips: Using ntfs-3g to mount NTFS devices

Source: Internet
Author: User

1. Comparison of several file systems

(1) Support file system in Linux system:

Ext2

Second extended file system (referred to as ext2 or ext2) has been the default filesystem for gnu/linux many years ago. The ext2 replaces the extended file system (which is the predecessor of the " second Generation "). It corrects some of its predecessor's mistakes and breaks some limits. ext2 follows the consistent standard of UNIX? class file systems. ext2 from the first day it appeared, it was destined to evolve at the same time as providing robustness and high performance.

Ext3

The third extended file system can be seen as a successor to Ext2 from the name. It is compatible with ext2 and improves log support.

One of the main drawbacks of ext2 's " traditional " file system is the inability to withstand sudden system crashes (power outages or software crashes). In general, once the system restarts again, the last crash causes the system to check the structure of the file system for a long time and attempt to correct the error. These processes sometimes cause the problem to be partially enlarged and eventually result in the loss of some or all of the saved files. The use of logs solves these problems. For simplicity's sake, let's say we have logged this command before actually executing a command, such as saving a file. This operation is like the captain's record of daily events on the logbook. Records are closely related to the file system. The problem will be quickly confirmed and the final fix will be limited to a very small extent. The time used to determine a file system problem is proportional to the time used by the system rather than the size of the file system. ext3 provides a log file system while using the EXT2 structure to ensure compatibility. This makes switching between ext2 and ext3 very easy.

ReiserFS

Unlike ext3 , reiserfs is created out of thin air. It is the same as the ext3 log file system, but because of the use of the binary tree introduced from the database software concept and in the internal structure and Ext3 produced a very big difference.

JFS

JFS is a log file system designed and used by IBM . It was originally a private and closed system. But IBM later decided to open it up to open source software. It has an internal structure similar to ReiserFS .

XFS

XFS is a log file system designed by SGI , which is also used in the Irix operating system. It was originally a private and closed system, but later SGI decided to open it to open source software. Its internal structure has many special features, such as support for real-time bandwidth, extended and cluster-based file systems (not included in the free edition)


This is a comparison chart of several file systems:


(2) using ntfs-3g:

We often encounter on the Linux system to access the file system NTFS USB drive or mobile hard disk, each time the plug is displayed can not be mounted, people are very distressed:


At this point we must use the NTFS-3G tool to mount the NFTS filesystem device.
What is ntfs-3g?
NTFS-3G is an open source project developed and maintained by Tuxera Corporation to provide NTFS-partitioned drivers for Linux. The ability to read and write to Windows NT (including Windows 2000, Windows XP, Windows Server 2003, and Windows Vista) file systems safely and quickly.

Install ntfs-3g:


Configure and install:




Then we look at the current ones that have those nfts devices:

We can see that there are three NTFS devices in the hard disk/DEV/SDC.

We try to mount/dev/sdc1 to/mnt:


We successfully mount and can read and write content to the device.

3. Summary

This tip allows us to mount NTFS devices, eliminating the incompatibility between Linux and Windows.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.