Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: okieh on October 19, 2013, 10:35:53 AM

Title: disable embedded NTFS module
Post by: okieh on October 19, 2013, 10:35:53 AM
Hi,

is there a (official) way, do disable ntfs.ko.gz?

blacklisting this module does not work.
Title: Re: disable embedded NTFS module
Post by: tinypoodle on October 19, 2013, 07:12:27 PM
is there a (official) way, do disable ntfs.ko.gz?
What exactly do you mean by "embedded NTFS module"?

Quote
blacklisting this module does not work.

Define "does not work", i.e. what would you expect, and what is occurring instead?


Also, please post subjects regarding extensions under respective subforum, not under "Base".
Title: Re: disable embedded NTFS module
Post by: Rich on October 19, 2013, 10:22:22 PM
Hi tinypoodle
Quote
Also, please post subjects regarding extensions under respective subforum, not under "Base".
Actually, I think this is in the right spot. Under 4.x  ntfs.ko.gz  shows up in  /lib/modules/3.0.3-tinycore/kernel/fs/
which I think is part of the base.
Title: Re: disable embedded NTFS module
Post by: hiro on October 20, 2013, 09:16:52 AM
Yes, it's in base. You could delete it in a remaster (That's what I would do (TM)).

That makes me remember a great thing I learned because of tinycore: disabling things not by putting a flag or boot options but by using the most intuitive, clean way: deletion.
Title: Re: disable embedded NTFS module
Post by: tinypoodle on October 20, 2013, 02:08:55 PM
I reckon I stand corrected - likely I have not made any attempt to mount ntfs since that was introduced into base.
Title: Re: disable embedded NTFS module
Post by: theYinYeti on October 21, 2013, 04:19:10 AM
Why would you want to remove ntfs? If that is to force ntfs-3g use instead, an alternative is to change the /usr/sbin/fstype this way at boot:
Code: [Select]
sudo sed -i 's/\$(blkid \$1)/$(blkid $1|sed s@TYPE=\\"ntfs\\"@TYPE=\\"ntfs-3g\\"@g)/' /usr/sbin/fstypeI got this tip from SvOlli :)
See here if you want this change right from boot-time:
http://yeti.selfip.net/cms/index.php/post/2013/05/12/NTFS-and-modular-boot-for-TinyCore-Linux