歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux內核 >> 編譯linux內核支持ntfs

編譯linux內核支持ntfs

日期:2017/2/27 9:49:15   编辑:Linux內核

  1. # cd /usr/src/Linux-2.4
2. # make menUConfig
3. 選中File System下的NTFS file system support (read only)為M
4. # uname -a
2.4.21-27.0.2.EL
5. # vi Makefile
確保前幾行為
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 21
EXTRAVERSION = -27.0.2.EL
6. # make dep
7. # make modules SUBDIRS=fs/ntfs
8. # mkdir /lib/moduels/2.4.21-27.0.2.EL/kernel/fs/ntfs
9. # cp -f fs/ntfs/*.o /lib/moduels/2.4.21-27.0.2.EL/kernel/fs/ntfs/
10. # depmod -a
11. # modprobe ntfs
12. # lsmod
確保有ntfs在裡面

結束




Copyright © Linux教程網 All Rights Reserved