Re: problems read/write mounting of NTFS



Bob McGowan wrote:
Bob McGowan wrote:
Krzysztof Lubański wrote:
On Fri, 2007-08-17 at 14:03 -0700, Bob McGowan wrote:
But, it was formatted with NTFS and I was not able to write to it[...]
[...]
I've also adjusted the associated options in /etc/fstab, but I still can't write to the disk.

Hello.

The standard NTFS kernel driver and ntfsprogs have only a limited
write support. E.g. the kernel driver only allows to change existing
files, but without changing their length.

I then thought I should try the FUSE based tools, so I removed the ntfsprogs package and libntfs9 that it depends on and tried to install ntfs-3g. But it depends on 'libfuse2 (>=2.6), but all that's available in Etch is 2.5.3-4.4, which is already installed. [...]

NTFS-3G is not in stable yet, try installing it from
http://backports.org/. It will surely allow you to write.


That's the rub - I did try to install NTFS-3G, from backports, but it has the dependency mentioned (on libfuse2 >=2.6), which didn't get resolved by the installer.

I'll check backports again, and see if the libfuse2 library is there. If so I'll try installing it "manually" and report back.

Thanks.


OK, fuse 2.6 and libfuse 2.6 are on backports.org, but I had to download the deb files manually and used dpkg to install them. After that, the ntfs-3g package installed just fine.

Now, to see about using it ;)

Thanks for the help.

Well, closer, but not quite there...

I'm using kernel 2.6.18-5-686, which has the fuse driver, but it's not full featured. I get this warning:

WARNING: Deficient Linux kernel detected. Some driver features are
not available (swap file on NTFS, boot from NTFS by LILO), and
unmount is not safe unless it's made sure the ntfs-3g process
naturally terminates after calling 'umount'. If you wish this
message to disappear then you should upgrade to at least kernel
version 2.6.20, or request help from your distribution to fix
the kernel problem. The below web page has more information:
http://ntfs-3g.org/support.html#fuse26

I've downloaded the source code for fuse version 2.6.5, compiled the driver only, and installed it. The warning message is gone.

And I can mount the disk device rw as me. The problem is, I can't unmount it ;(

mount reports this for the device:

/dev/sde1 on /media/ntfs type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)

/etc/fstab has:

/dev/sde1 /media/ntfs ntfs-3g rw,user,noauto 0 0

I don't see the "user=rmcgowan" that I'm used to seeing when I mount a VFAT formated device. I believe that's part of the problem, as 'man mount', under 'user' states the name of the user who mounted the device is saved, so they can unmount it.

By setting the "users" option (note plural), any user is allowed to unmount. This allows me to do so, but it would be nice to know no one else can do it.

Any ideas?

Thanks.

--
Bob McGowan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Relevant Pages

  • Newbie - Installing drivers, compiling drivers, and compiling source.
    ... MSI Wireless card, PC54G2 ... I have installed the Nvidia driver. ... install the motherboard chipset drivers but will get to that (don't know how ... to compile, or recompile the kernel). ...
    (Fedora)
  • NVIDIA driver on Suse 9.1
    ... I've got a NVIDIA FX 5600 and I'm trying to install the driver from the ... the kernel module is build 100%. ...
    (alt.os.linux)
  • Re: [PATCH 0/7] OMFS filesystem version 3
    ... ntfs to fuse, still that was done and the resulting filesystem at the ... moment happens to outperform the kernel one in every respect;) ... still needs a lot of work on several areas (the size of the Microsoft NTFS ... Over time this changed for me and I started working primarily on the kernel and pushing things back into libntfs and as these things go I eventually was so busy that I no longer had the time to do any back porting to libntfs and since then I have only been working on the kernel driver. ...
    (Linux-Kernel)
  • Re: Fedora 7 - RPM Build Nvidia 9755 [revisited]
    ... Livna NVIDIA driver RPMs doesn't mean that the same problem exists ... to have to do it everytime I boot a different kernel, ... echo install of nvidia.ko driver failed ...
    (Fedora)
  • Re: Make Error (please help i need my webcam to work)...
    ... Did you look at line 485 in the Makefile? ... There should be a README and INSTALL file in the driver source ... I'm confused as to why you needed to use a 2.4 driver for a 2.6 ... >> Looks like you have to create a soft link into the kernel source. ...
    (comp.os.linux.misc)