PDA

View Full Version : ntfs mounting


vnykr
2007-02-21, 03:09 PM CST
hi
i have mounted my ntfs partitions as follows..

mount /dev/hda6 /mnt/win -t ntfs -ro umask=0222

but ...
here i used readonly..(( -ro))...
how we can mount the drive in write mode.......
i tried (( -rw)) ... but it didnt work......

thanks in advance..
vnykr.

offcenter77
2007-02-21, 03:26 PM CST
Full support for rw on NTFS is not available yet. There are some initiatives going that might provide it, but I wouldn't trust them yet until they mature a little.

Do a Google search for: "ntfs read write linux"

Brian1
2007-02-21, 03:46 PM CST
There is a few ways but each require a bit of work.

First recompile the kernel and add NTFS write support. This one is not gauranteed to work 100percent reliable. It can crash an NTFS table in millseconds.

Next is install fuse and ntfs-3g. There are many post on doing this with yum or from source. If you install from source and using precompiled rpm kernels you will need to install matching version of the current running kernel file called kernel-devel-*******.rpm. To see what kernel rpms you have use the command ' rpm -qa | grep kernel '. If no kernel-devel then you need to install that before building fuse from source. Not needed if using yum. But if you use yum you must install fuse that matches the kernel you have running.

Last is buy a program from a company called Paragon. Never used it but have not heard of any problems other than it cost money.

Best one is install fuse and ntfs-3g. Use the search tool to learn about it.

Brian

jdeslip
2007-02-21, 04:37 PM CST
ntfs write support is available now and you don't need to recompile the kernel! Just install the ntfs-3g kernel module as described on this site: (it is a simple yum install) http://www.gagme.com/greg/linux/fc6-tips.php#ntfs (You may need to install livna or freshrpms first - instructions for which are on the top of that site)

Dies
2007-02-21, 04:47 PM CST
NTFS-3g works great, in some aspects it's faster than native, hundreds of thousands of users have no problems with it including myself, and it's been out for quite some time.

There is no reason not to trust it, unless your data is critical and you don't do regular backups, but that's asking for it with any filesystem.

Brian1
2007-02-21, 05:17 PM CST
According to the ntfs-3g developers they say it is 100percent perfect. If there is ever a problem they want to know.

Brian

timmer
2007-02-21, 09:56 PM CST
Here is how I mounted my NTFS external usb drive (sda1).

# yum install ntfs-3g
# mkdir /mnt/sda1
# mount -t ntfs-3g /dev/sda1 /mnt/sda1

I was then able to copy my Windows data from that drive to my home folder in FC6, never tried writing to yet.

I think I read somewhere that umask=0222 is read only and umask=0000 is read/write.

offcenter77
2007-02-22, 07:47 AM CST
Your concept of umask is wrong. Umask 022 tells the system that all the files you write have permissions 755 (rwx for owner, r & x for everybody else). 000 creates files that are 777 for all files, which is rwx for everybody).

By the way, umask is related to the user, not the file system.

vnykr
2007-02-22, 09:27 AM CST
thanks to all of you....
i will follow the possible steps and i wil let u know the results soon....!

timmer
2007-02-22, 10:04 AM CST
Your concept of umask is wrong. Umask 022 tells the system that all the files you write have permissions 755 (rwx for owner, r & x for everybody else). 000 creates files that are 777 for all files, which is rwx for everybody).

By the way, umask is related to the user, not the file system.

Thanks for the clarification!