NTFS Write [CLOSED]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

NTFS Write [CLOSED]

Postby altair4 on Thu Feb 12, 2009 9:57 am

I'm new here and I'm coming from a somewhat older distro so please be patient with me.

Here is a line from my fstab for a WinXP partition formatted in ntfs:
UUID=DA9056C19056A3B3 /media/WinXP ntfs defaults,nls=utf8,umask=0222 0 1

I just wrote to it. You can't write to an ntfs partition using "ntfs" in fstab. You can only write to an ntfs partition using "ntfs-3g" in fstab. Have I not been keeping up with the latest developments or is this a non-standard ntfs driver? Has the old "ntfs" been deprecated and the new "ntfs" = "ntfs-3g".

I'm older than dirt and simply don't believe in writing to an ntfs partition in a dual boot situation. I can always add "ro" to the fstab line for that partition but I'm a little confused. Any illumination would be appreciated.
Last edited by altair4 on Sat Feb 21, 2009 2:41 pm, edited 2 times in total.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5837
Joined: Tue Feb 03, 2009 10:27 am

Linux Mint is funded by ads and donations.
 

Re: NTFS Write

Postby Husse on Fri Feb 13, 2009 8:02 am

I'm a bit confused too because I thought that writing to NTFS was enabled with just ntfs in fstab at least from Daryna
However ntfs-3g is in either case what makes it possible to write to NTFS
It's now perfectly safe - of course you don't get it "logged" in the NTFS journal
The opposite is not true (writing from Windows to ext3) - it's possible but not safe
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: NTFS Write

Postby Fred on Fri Feb 13, 2009 8:34 am

altair4,

In the later versions of Mint, ntfs-3g is called automatically when using ntfs mounting in fstab. ntfs-3g has improved tremendously in the past year or so. Very few problems are now popping up when reading and writing to ntfs partitions these days.

In my opinion r/w access from Linux to ntfs is the most reliable, and safest way to share data. Fat32 has its' own problems, which in my opinion now outweigh the ntfs r/w problems that still exist.

I don't know if there is anything in it that will help you but you might look at the thread referenced below.

viewtopic.php?f=42&t=22093

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: NTFS Write

Postby altair4 on Fri Feb 13, 2009 9:23 am

I very much appreciate your response and I understand your argument about ntfs r/w but I'm like an old dog that got burnt from touching its nose to the stove. I've had to reinstall too many Windows OSs starting with WinNT3.5 because of file corruption, some of them caused by ntfs-3g back when it was classified as "experimental" ( which wasn't that long ago ). I realize that was then and this is now but I'm just stubborn :)

This is how I "fixed" my fstab entry in case anyone else wishes to wast some time in fstab and possibly ruin their system :lol: :

Original: UUID=DA9056C19056A3B3 /media/WinXP ntfs defaults,nls=utf8,umask=0222 0 1

New: LABEL=WinXP /windows/C ntfs umask=0222,ro 0 0

(1) UUID's drive me crazy so I use "LABEL=" to id partitions in fstab
( Had to do it anyway since I have 2 partitions with the same UUID - that's a long story )
(2) The "ro" is probably redundant given my umask but I did it anyway.
(3) The very last number in the original entry dictates when and if a filesystem check and possible repair is done at boot time on that partition. If you had write access to the partition I suppose that would make sense but since I now only have read access I disabled it by setting it to 0. Don't care very much for one filesystem doing a check on another filesystem when one of them is Microsoft's.

I'm sure I left off a utf-8 parameter or something somewhere along the way but this is working so far and I'm ready to make adjustments if necessary.

I do apologize for what's basically turned into a rant but it just "threw" me a little that "ntfs" is now "ntfs-3g".
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5837
Joined: Tue Feb 03, 2009 10:27 am

Re: NTFS Write

Postby Fred on Fri Feb 13, 2009 3:02 pm

altair4,

No apologies necessary. Being an old dog myself I understand perfectly. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], BobLuck and 24 guests