Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntfs-3g driver problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ggaaron
Apprentice
Apprentice


Joined: 10 May 2007
Posts: 217

PostPosted: Sun May 27, 2007 9:33 pm    Post subject: ntfs-3g driver problem Reply with quote

If I use:
Code:
/dev/sdb1        /mnt/sdb1     auto      noauto,user            0 0

in my fstab file and the drive has an ntfs filesystem, then I get this error
Code:
mount: unknown filesystem type 'ntfs'

and this command didn't help
Code:
ln -s /usr/bin/ntfs-3g /sbin/mount.ntfs

I don't have kernel ntfs support, I use only the ntfs-3g driver, how can I tell gentoo to mount ntfs partitions using this driver?
Back to top
View user's profile Send private message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Sun May 27, 2007 11:05 pm    Post subject: Reply with quote

Code:

/dev/sdb1        /mnt/sdb1     ntfs-3g     noauto,user            0 0
Back to top
View user's profile Send private message
ggaaron
Apprentice
Apprentice


Joined: 10 May 2007
Posts: 217

PostPosted: Mon May 28, 2007 7:22 am    Post subject: Reply with quote

I know that I can do that, but I'd like to have auto filesystem, as it is an external drive and I don't plug only ntfs drives there.
Back to top
View user's profile Send private message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Mon May 28, 2007 9:22 am    Post subject: Reply with quote

You didn't mention that... ;)

Maybe try using /etc/filesystems?

man mount:
Code:


If no -t option is given, or if the auto type is specified, mount will try to guess the desired type.  If mount was compiled with the blkid library,
              the guessing is done by this library. Otherwise, mount guesses itself by probing the superblock; if that does not turn up anything that looks famil-
              iar, mount will try to read the file /etc/filesystems, or, if that does not exist, /proc/filesystems.  All of the filesystem types listed there will
              be tried, except for those that are labeled "nodev" (e.g., devpts, proc and nfs).  If /etc/filesystems ends in a line with a single  *  only,  mount
              will read /proc/filesystems afterwards.
Back to top
View user's profile Send private message
ggaaron
Apprentice
Apprentice


Joined: 10 May 2007
Posts: 217

PostPosted: Mon May 28, 2007 9:46 am    Post subject: Reply with quote

Sorry for not mentioning it in the first post.

I added tried adding ntfs and ntfs-3g to the file, but it doesn't work=/

Can I make an alias for mount -t ntfs=mount -t ntfs-3g?
Back to top
View user's profile Send private message
irgu
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2003
Posts: 131

PostPosted: Mon May 28, 2007 7:53 pm    Post subject: Reply with quote

Well, this is not really an ntfs driver problem but a mount one. I know that some distros can mount ntfs partitions with ntfs-3g if 'auto' is used but I didn't study how they do it. Perhaps they use already the improved, new mount from util-linux-ng?
Back to top
View user's profile Send private message
ggaaron
Apprentice
Apprentice


Joined: 10 May 2007
Posts: 217

PostPosted: Tue May 29, 2007 3:47 pm    Post subject: Reply with quote

Partially solved with this dirty trick:
Code:

/dev/sdb1        /mnt/sdb1           auto      noauto,user                                          0 0
/dev/sdb1        /mnt/sdb1ntfs       ntfs-3g   noauto,users,locale=pl_PL.utf8,uid=1000,gid=1000     0 0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum