USB external ntfs drive. Command line vs thunar, fstab
I'm running Fluxbox on Gentoo.
I've got Thunar file manager, with the volman plugin.
I've got fuse as a kernel module, and ntfs support compiled in the kernel.
I've got fuse and ntsf-3g emerged.
I've got an external enclosure holding an ntfs harddrive connected via USB. It is not always turned on. It is called "data" and is generally on /dev/sdb1.
I can open up thunar with the drive turned on and click it on the left panel which auto-mounts it at /media/data, and the file /media/.hal-mtab looks like this:
Edit: Also, the line in my /etc/mtab
/dev/sdb1 1000 0 ntfs-3g nosuid,nodev,uhelper=hal,umask=0077,uid=1000 /media/data
All good so far.
/dev/sdb1 /media/data fuseblk rw,nosuid,nodev,allow_other,default_permissions,blksize=4096 0 0
Now when I try to mount it as root with
(no I'm not trying to mount if when its already mounted btw...) I get a return saying ntsf-3g is not a known type. Whats wrong here?
mount -t ntfs-3g /dev/sdb1 /wherever/
Also, the /media/data folder is not always there. Does thunar mkdir this folder everytime before it automounts it and then rmdir after it unmounts? If the folder exists and thunar tries to mount it it goes to /media/_data. If I'm alternating mounting it between thunar and command line do I have to mkdir and rmdir this folder everytime at command line as well?
What if I want to put the mounting in fstab? Will fstab freak out if the driver isn't turned on during boot? if I turn it on later will fstab auto-mount it?
Hmmm...I think thats all I had.