WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Accessing NTFS file systems  (Read 2486 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Accessing NTFS file systems
« on: January 07, 2022, 10:42:13 AM »
Does this kernel have the ability to write in ntfs format!?

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/fs/ntfs?h=v5.15.13

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Accessing NTFS file systems
« Reply #1 on: January 07, 2022, 11:32:10 AM »
HI xor
According to the kernel config file, yes it can:
Code: [Select]
CONFIG_NTFS3_FS=mfound here:
http://tinycorelinux.net/13.x/x86/release/src/kernel/config-5.15.10-tinycore

If specifying the filesystem type, you must use  ntfs3 , not  ntfs. For example:
Code: [Select]
mount -t ntfs3 /dev/sdxY /mnt/sdxY

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: Accessing NTFS file systems
« Reply #2 on: January 09, 2022, 02:25:11 PM »
Does the kernel need to be recompiled for this?
or can this result be achieved with an application to be added from the repository!?

HI xor
According to the kernel config file, yes it can:
Code: [Select]
CONFIG_NTFS3_FS=mfound here:
http://tinycorelinux.net/13.x/x86/release/src/kernel/config-5.15.10-tinycore

If specifying the filesystem type, you must use  ntfs3 , not  ntfs. For example:
Code: [Select]
mount -t ntfs3 /dev/sdxY /mnt/sdxY

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Accessing NTFS file systems
« Reply #3 on: January 09, 2022, 08:48:10 PM »
HI xor
Make sure the driver is loaded:
Code: [Select]
sudo modprobe ntfs3
You should then be able to mount and work with  NTFS  file systems.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: Accessing NTFS file systems
« Reply #4 on: January 10, 2022, 02:41:59 AM »
As far as I understand, ntfs is still not included in the kernel, so it is not like the kernel that sees FAT32,

now the question is
I'm asking for TCL11 then
http://tinycorelinux.net/11.x/x86_64/tcz/ntfs-3g.tcz
after downloading this plugin as "tce-load -wi ntfs-3g"
what is the exact command to mount the drive that is ntfs with which command!?
« Last Edit: January 10, 2022, 05:26:25 AM by Juanito »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Accessing NTFS file systems
« Reply #5 on: January 10, 2022, 03:00:59 AM »
HI xor
This thread is about TC13.
NTFS is supported in the TC13 kernel.
This thread is not the place tor TC11 questions.
If you have a question about a TC11 extension, start a separate thread.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Accessing NTFS file systems
« Reply #6 on: January 10, 2022, 10:18:10 AM »
HI xor
To mount devices using the  ntfs-3g.tcz  extension:
Code: [Select]
ntfs-3g /dev/sdxY /mnt/sdxYIf the directory in  /mnt  does not exist, create it.
If you get permission denied type of errors, try using  sudo.

In the future, please do not hijack threads.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: Accessing NTFS file systems
« Reply #7 on: January 10, 2022, 12:06:59 PM »
Thx