FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sun Nov 29, 2020 00:24



Post new topic Reply to topic  [ 5 posts ] 
inappropriate content on fstab 
Author Message

Joined: Sun Dec 16, 2007 12:07
Posts: 12
Post inappropriate content on fstab
i've added this line to /etc/fstab :

/dev/ad4s1 /mnt/vista ntfs-3g defaults 0 0

but it doesn't works,it says : inappropriate content on fstab and ntfs partition isn't loaded properly.

fixes ?

thanks


Sat Jan 12, 2008 19:24
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
Do you use FreeBSD, don't you? The fstab format may be different.


Fri Jan 18, 2008 11:54
Profile

Joined: Sun Dec 16, 2007 12:07
Posts: 12
Post ok
ok. do you know how is this ? thanks.


Fri Jan 18, 2008 14:12
Profile

Joined: Mon Mar 05, 2007 02:23
Posts: 14
Post Re: inappropriate content on fstab
marietto2008 wrote:
i've added this line to /etc/fstab :

/dev/ad4s1 /mnt/vista ntfs-3g defaults 0 0

but it doesn't works,it says : inappropriate content on fstab and ntfs partition isn't loaded properly.


It should be like this:
Code:
/dev/ad4s1              /mnt/vista      ntfs-3g  rw      0       0


Moreover,
  • you should have a mount_ntfs-3g executable under /sbin or /usr/sbin
    (I think a symlink to ntfs-3g will do the job, but you might have to
    write a wrapper script to bridge differences in option handling...)
  • ... even so, it will work only on FreeBSD 6.x, since 7.x onwards
    uses a hard coded list of supported fs types. For 7.x, you can use the
    following path against mount(8) to add ntfs-3g support:
    Code:
    --- /usr/src/sbin/mount/mount-orig.c     2007-06-25 07:06:54.000000000 +0200
    +++ /usr/src/sbin/mount/mount.c  2008-01-18 15:57:43.000000000 +0100
    @@ -136,6 +136,7 @@ use_mountprog(const char *vfstype)
            const char *fs[] = {
            "cd9660", "mfs", "msdosfs", "nfs", "nfs4", "ntfs",
            "nwfs", "nullfs", "portalfs", "smbfs", "udf", "unionfs",
    +       "ntfs-3g",
            NULL
            };


    (install the (sbin portion of the) src tree, go to /usr/src/sbin/mount/, apply this patch and do
    Code:
    make && make install
    )
  • make sure that the fuse kernel module is loaded when you (or the rc scripts) try to perform the mount


Fri Jan 18, 2008 17:21
Profile

Joined: Mon Mar 05, 2007 02:23
Posts: 14
Post Re: inappropriate content on fstab
csabahenk wrote:
... even so, it will work only on FreeBSD 6.x, since 7.x onwards
uses a hard coded list of supported fs types. For 7.x, you can use the
following path against mount(8) to add ntfs-3g support:


... or you can simply replace /sbin/mount_ntfs with a symlink to ntfs-3g or mount_ntfs-3g :/ ...


Fri Jan 18, 2008 17:26
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.