[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "mount -t ntfs" vs "mount.ntfs" ?



On Tue, 2022-02-01 at 17:56 +0100, Yvan Masson wrote:
> 
> Le 01/02/2022 à 14:24, Tixy a écrit :
> > On Tue, 2022-02-01 at 13:39 +0100, Yvan Masson wrote:
> > > Le 31/01/2022 à 18:02, Christian Britz a écrit :
> > > > 
> > > > 
> > > > On 2022-01-31 11:43 UTC+0100, Yvan Masson wrote:
> > > > 
> > > > > Thanks for the links, I missed that NTF3 was already included
> > > > > in the
> > > > > kernel I use (from Debian testing). So in my case ntfs3g is
> > > > > able to
> > > > > mount a rescued partition, while NTFS3 is not (thanks Andrei
> > > > > for
> > > > > confirming what I supposed): this means that in some cases,
> > > > > NTFS3 is not
> > > > > as mature as ntfs3g.
> > > > 
> > > > As far as I know, NTFS3 is not enabled in any Debian kernel. 🤔
> > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998627
> > > > 
> > > Which probably explains why I could not mount using `mount -t
> > > ntfs` :-)
> > > 
> > > Slightly off-topic question: using pre-5.15 kernel, how can I
> > > mount a
> > > partition with kernel driver?
> > 
> > You can't, the NTFS kernel driver first appeared in Linux 5.15.
> > 
>  From what I understand, there was a read-only driver before 5.15:
> - see for example 
> https://superuser.com/questions/139452/kernel-ntfs-driver-vs-ntfs-3g ;
> or 
> https://www.paragon-software.com/us/home/ntfs3-driver-faq/
> - kernel build config (/boot/config-....) also mentions ntfs, even
> for 
> pre-5.15 kernels

Sorry, you are correct, I was mistaken, it's been in the kernel tree
[1] for over a decade. However I can't find it mentioned in the config
for the Debian kernels on my machine so I'm assuming Debian don't
enable it (I'm looking in /boot/config-5.10.0-11-amd64). But you say
you found in in you kernel configs?

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/fs/ntfs

-- 
Tixy



Reply to: