Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2006, 10:03 PM
Garuda Garuda is offline
Junior Member
 
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default mounting ntfs in fstab
hi all,

i've tried to mount ntfs file system in fstab, but i'don't understand how..

can you help me?

normally in console i've used mount_ntfs command, it works.. can I load ntfs partition on startup?

regards,
G.
Reply With Quote
  #2  
Old 09-09-2006, 11:08 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default
add line like this
/dev/ad0sX /mnt/ad0sX ntfs ro 0 0

Replace ad0sX with the name of the partition. I'm not sure about the dump/pass numbers but thats whats great about a forum. Some one anwsers half right, some body else corrects quickly :-)

sh -n /etc/fstab

may be able to check for typo's I'm not sure.

You might want to wait to see if any one else replies before doing this.
Reply With Quote
  #3  
Old 09-10-2006, 12:31 AM
Guest
 
Posts: n/a
Default Re: mounting ntfs in fstab
I do not use Windows any more and have not actually had the issue but it may be worth a look at /boot/defaults/loader.conf
Actually, here is what the section looks like:
Code:
##############################################################
###  Filesystem and related modules  #########################
##############################################################

# Filesystems

cd9660_load="NO"		# ISO 9660 filesystem
coda_load="NO"			# CODA filesystem
fdescfs_load="NO"		# Filedescriptors filesystem
linprocfs_load="NO"		# Linux compatibility process filesystem
msdosfs_load="NO"		# FAT-12/16/32
nfsclient_load="NO"		# NFS client
nfsserver_load="NO"		# NFS server
ntfs_load="NO"			# NTFS
nullfs_load="NO"		# Null filesystem
portalfs_load="NO"		# Portal filesystem
procfs_load="NO"		# Process filesystem
#umapfs_load="NO"		# User-id map filesystem
unionfs_load="NO"		# Union filesystem
Notice about half way down, just after NFS server. That can be changed to ntfs_load="YES" Basicly, this is read at boot time and loads as appropriate. Remember, this is just a suggestion and use if you want to, not because I said. :shock: I do not mind if I screw up, because I learn that way. Good luck.
Edit: You have to use a terminal with su in order to edit this. IE: edit /boot/defaults/loader.conf or you can try kedit or kate instead of edit, if you have them installed.
Originally Posted by Garuda
hi all,

i've tried to mount ntfs file system in fstab, but i'don't understand how..

can you help me?

normally in console i've used mount_ntfs command, it works.. can I load ntfs partition on startup?

regards,
G.
Reply With Quote
  #4  
Old 09-10-2006, 04:46 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default
DO NOT edit any files in /boot/defaults or any other "defaults" directories !!!

These files contain the defaults for the system and ya don't want to edit them. The file /boot/loader.conf overrides any thing in the defaults file, place your edits THERE.

The kernel should have support for ntfs file systems built in, if not you can load the module manually and check.
Reply With Quote
  #5  
Old 09-10-2006, 05:16 AM
Guest
 
Posts: n/a
Default
Originally Posted by TerryP
DO NOT edit any files in /boot/defaults or any other "defaults" directories !!!

These files contain the defaults for the system and ya don't want to edit them. The file /boot/loader.conf overrides any thing in the defaults file, place your edits THERE.

The kernel should have support for ntfs file systems built in, if not you can load the module manually and check.
You may be correct and I may just do that from now on but still have not had an issue with the exception of a type-o I made. Also, I may like my defaults to contain things for my particular setup that were not originally. Thanks for the info.
Reply With Quote
  #6  
Old 09-10-2006, 05:36 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default
After spending a little to much time around OpenBSD man pages e.t.c. a few weeks back I think the idea of a defaults directory and an override is:

Defaults is the basic settings for the system
local overide files are changed for local changes making it easy to figure out what the frig you did over the base and prossibly make upgrades easier e.t.c.
Reply With Quote
  #7  
Old 09-10-2006, 02:55 PM
Guest
 
Posts: n/a
Default
Originally Posted by TerryP
After spending a little to much time around OpenBSD man pages e.t.c. a few weeks back I think the idea of a defaults directory and an override is:

Defaults is the basic settings for the system
local overide files are changed for local changes making it easy to figure out what the frig you did over the base and prossibly make upgrades easier e.t.c.
I started to do it because ath was not even an entry. Personally, I think it should be, considering it's wide use. If you disagree, that is ok by me. I will still make the manual entry. Besides, would'nt it carry through with an upgrade. That may be questionable, as I have seen several systems either carry it or dump it and have to reconfigure. But really, I beleive it does no harm for someone to choose a few defaults for their system. Maybe I am wrong but that is my opinion. No Mass. 8)
Reply With Quote
  #8  
Old 09-10-2006, 04:30 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default
Isn't the idea of the overriding files to do that ?
Reply With Quote
  #9  
Old 09-11-2006, 04:34 PM
Guest
 
Posts: n/a
Default
Originally Posted by TerryP
Isn't the idea of the overriding files to do that ?
Sure, but having your own system default, specific to your setup, in my opinion, is a plus. Again, as I told that guy, do this because you feel you want to, not because I said. It is just my preference and I stand by it.
Reply With Quote
  #10  
Old 09-11-2006, 06:07 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default
The question is has the person been able to mount his/her partition ^_^
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem mounting a NTFS partition B204FM FreeBSD Help 5 03-15-2009 09:59 PM
NTFS mounting Gleb FreeBSD Help 3 01-10-2009 06:11 PM
Installing ntfs-3g (or how to see my NTFS partition part 1.. Aito General Questions 3 11-12-2007 08:18 AM
Mounting NTFS partition martin General Questions 10 05-04-2007 03:40 PM
linprocfs in fstab General Questions 3 12-05-2006 07:37 PM


All times are GMT. The time now is 07:27 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.