WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: disable embedded NTFS module  (Read 3852 times)

Offline okieh

  • Newbie
  • *
  • Posts: 3
disable embedded NTFS module
« 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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: disable embedded NTFS module
« Reply #1 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".
« Last Edit: October 19, 2013, 07:14:53 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: disable embedded NTFS module
« Reply #2 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.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: disable embedded NTFS module
« Reply #3 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.
« Last Edit: October 20, 2013, 09:19:35 AM by hiro »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: disable embedded NTFS module
« Reply #4 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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: disable embedded NTFS module
« Reply #5 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