I have this external HDD, which has two partitions: one ext4 and one ntfs. However, when I connect it to some devices, the ntfs-3g driver goes crazy and stays in a loop of mounting->unmounting->remounting the ntfs partition. I already removed the ntfs-3g package, but I keep getting error messages related to the ntfs partition being "removed unsafely".
Is there any way I can make this partition invisible to the OS? At least to make it leave the partition alone and not try to do anything with it?
Thanks a lot!
udevadm info --query=all --name=/dev/sdx1
where x is the alphabet corresponding to your drive' will provide all the information about the drive in this aspect. Or you could use the very simple and widely used 'blkid' commandsudo blkid /dev/sdXN
where X is an alphabet to uniquely identify your drive and N is the partition number – Guruprasad Apr 07 '13 at 20:21mount
command." I want ntfs from cease existing in my OS. If there is an ntfs partition in my device, the OS (or any application) won't be able to mount it. I want my OS to behave as if such a dreaded file system (ntfs) was never created. Is that possible? – Eduardo Bezerra Apr 07 '13 at 20:48ntfs-3g
you will still be able to mount the NTFS partition read-only. – Guruprasad Apr 07 '13 at 20:53install ntfs /bin/false
in /etc/modprobe.d/blacklist.conf, but that didn't solve the problem either. I guess I'll give a try to the solution you pointed and hope that no application tries to mount the ntfs partition. Last resort: wipe out the ntfs partition from the hdd completely. Thanks for the tips, bro. – Eduardo Bezerra Apr 07 '13 at 20:59