Forum Home
Press F1
 
Thread ID: 49334 2004-09-16 08:25:00 Fedora 2 ntfs read/write Shaun Minfie (2961) Press F1
Post ID Timestamp Content User
272871 2004-09-16 08:25:00 Hey There,

I have just downloaded and installed the ntfs rpm from here (linux-ntfs.sourceforge.net).

uname -a shows

Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT 2004 i686 athlon i386 GNU/Linux
And thats the version of the rpm I downloaded and installed. I can mount the drive and read it using mount /dev/hdb1 /mnt/archive but what I want to know is can I safely write using this ?

A little help on the fstab entry wouldnt go amis either :)

Cheers
Shaun
Shaun Minfie (2961)
272872 2004-09-16 09:03:00 Yes and no. Whilst that will allow you to write to that partition, and it does it reasonably well, you must be aware that nfts writing support is not perfect in linux and can (and has) caused problems on the drive.

As for the fstab query, what do you want to do with it. Do you want to mount it for yourself only or do you want to mount it for all users with full r/w access or what?

Ashley
Ashley Matthews (550)
272873 2004-09-16 09:18:00 Ahhh ok. If its imperfic then I dont care if I can write to it. I aint that much of a risk taker.

Auto mount read only for all users would be good :)
Shaun Minfie (2961)
272874 2004-09-16 12:34:00 Try this then:
cat /etc/fstab | grep hdb1

This will show your current line for it.... It may need changing to:
/dev/hdb1 /mnt/hdb1 ntfs ro,users,umask=555 0 0


Chill.
Chilling_Silence (9)
272875 2004-09-18 01:15:00 Hey Chill,

Thanks for that.

I had to change it to /dev/hdb1 /mnt/hdb1 ntfs ro,uid=sam,umask=555 0 0 so that I could get access to it.

Cheers
Shaun
Shaun Minfie (2961)
272876 2004-09-18 02:10:00 Good to hear :-)

Can I ask how you found out to set the UID?

Well done :-)


Chill.
Chilling_Silence (9)
272877 2004-09-18 03:51:00 Lol. It was included one of the examples in the faq for the ntfs rpm.

The problem I had was that the FAQ seems to be quite old and out of date.

I would have thought that users should have worked hmmmmmm.

Now for KDE 3.3 :) Bring it on. I wish Dag had it the I could do the update through JSG.

Cheers
Shaun
Shaun Minfie (2961)
272878 2004-09-18 03:54:00 my bad.

I wish Dag had the packages for it.

I wish Dag had the packages for it.

I wish Dag had the packages for it.

I wish Dag had the packages for it.

I wish Dag had the packages for it.

I wish Dag had the packages for it.

100 lines :)
Shaun Minfie (2961)
272879 2004-09-18 03:54:00 Hehe... There's always the Source code in the Gentoo distfiles folder ;-) Chilling_Silence (9)
272880 2004-09-18 04:08:00 I came across an article in a recent PC Authority which describes a different approach which is a really sneaky way to safely write to NTFS partitions.

What they do is use the Microsoft filesystem handler. :D :O The Linux installation copies the actual MS code from your licenced XP system, and puts it into a wrapper.

For you XP people who don't want a FAT partition to be the sandpit for file sharing for both read and write, this might be the way to go. MS might want to keep the file syetm implementation secret, but they have had to tell their own programmers. ;-)
Graham L (2)
1 2