| View previous topic :: View next topic |
| Author |
Message |
ssuominen Developer

Joined: 30 Sep 2005 Posts: 1375 Location: Finland
|
Posted: Sat Jul 15, 2006 9:36 am Post subject: sys-fs/ntfs3g to replace sys-fs/captive for NTFS read/write? |
|
|
"Hello,
As part of the Linux-NTFS project, I'm happy to announce my contribution
to ntfsmount and libntfs which resulted ntfs-3g, a read-write ntfs driver,
capable for unlimited file creation and deletion.
The driver was successfully tested very exhaustively for a longer period of
time by many ways and methods, creating and destroying millions of files and
directories on newly created images, and on over 40 real, very diverse NTFS
images collected over the last four years."
Read more from http://sourceforge.net/mailarchive/forum.php?thread_id=23836054&forum_id=2697
Apparently this driver does not need native NTFS driver from Microsoft, but does everything itself using sys-fs/fuse.
Here is an ebuild if you like to test it,
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Read-write ntfs driver, capable for unlimited file creation and deletion."
HOMEPAGE="http://sourceforge.net/mailarchive/forum.php?thread_id=23836054&forum_id=2697"
SRC_URI="http://mlf.linux.rulez.org/mlf/ezaz/ntfs-3g-${PV}-BETA.tgz"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND="sys-fs/fuse"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/ntfs-3g-${PV}-BETA
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog CREDITS NEWS README
}
If your filesystem breaks note that I don't care.  |
|
| Back to top |
|
 |
mariux2 Apprentice

Joined: 16 Sep 2003 Posts: 242
|
Posted: Sat Jul 15, 2006 10:08 am Post subject: |
|
|
It works great, only its a bit slow.
Hopefully that will improve in the future |
|
| Back to top |
|
 |
ssuominen Developer

Joined: 30 Sep 2005 Posts: 1375 Location: Finland
|
Posted: Sat Jul 15, 2006 10:19 am Post subject: Forgot to mention ebuild name.. |
|
|
| Use sys-fs/ntfs3g/ntfs3g-20070714.ebuild for that ebuild. |
|
| Back to top |
|
 |
Mesto n00b

Joined: 03 Jan 2006 Posts: 8
|
Posted: Sat Jul 15, 2006 10:36 am Post subject: |
|
|
yep i got it to work in archlinx (laptop) once i get my dualboot on my desktop (Gentoo/xp) then ill try this....i have 4 SATA hardrives want to be able to access all of them  _________________ echo "grtwwnxEh~gjwfwrtw3sjy" | perl -pe 's/(.)/chr(ord($1)-5)/ge' |
|
| Back to top |
|
 |
Hauser l33t


Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Sat Jul 15, 2006 10:50 am Post subject: |
|
|
I can't seem to get it mount on boot. My fstab entry is as follows:
| Code: | | /dev/sda1 /win/C ntfs-3g silent,umask=0,uid=1000,gid=100 0 0 |
I can mount it manually:
But when I reboot, I get:
| Code: | | mount: Unknown filesystem type 'ntfs-3g' |
_________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
| Back to top |
|
 |
omidxo n00b


Joined: 23 Feb 2005 Posts: 61
|
Posted: Sat Jul 15, 2006 11:36 am Post subject: |
|
|
| tks a lot |
|
| Back to top |
|
 |
eqlb n00b


Joined: 19 May 2005 Posts: 36
|
|
| Back to top |
|
 |
Tyler_Durden Apprentice


Joined: 27 Jul 2004 Posts: 157 Location: Germany
|
Posted: Sat Jul 15, 2006 5:37 pm Post subject: Re: Full Ntfs driver for linux released |
|
|
There is already a topic about that.
Edit by NeddySeagoon - Two posts merged here _________________ Gentoo 10.0 x86_64
Intel Core i7 860
Gigabyte P55A-UD3
Gigabyte Geforce GTX460 1024MB
16GB DDR3
1x Samsung HD103SJ
6x Samsung HD203WI (SATA-RAID 12TB)
KNC-ONE DVB-S2 |
|
| Back to top |
|
 |
safeness Tux's lil' helper


Joined: 02 Jul 2004 Posts: 81 Location: Bellevue, WA
|
Posted: Sat Jul 15, 2006 6:13 pm Post subject: |
|
|
Recursive linkage? Oh the humanity!
I saw this on slashdot earlier and will definitely try it out once it hits portage or when I have an ntfs drive that I need to write to.  _________________ "The freedom of opinion and the reasonable maintenance of it is not a crime and ought not to occasion injury." --Thomas Jefferson |
|
| Back to top |
|
 |
doalwa Tux's lil' helper


Joined: 03 Mar 2003 Posts: 122 Location: Old Europe
|
Posted: Sat Jul 15, 2006 10:48 pm Post subject: |
|
|
Woohoo, major props to Szaka for developing this driver, it really opens up a whole lot of possibilities!
I just installed it using the Ebuild posted above, and so far I haven't encountered a single problem, everything is working as advertised! _________________ Keepin' the Funk alive since 1983! |
|
| Back to top |
|
 |
yoshi314 l33t


Joined: 30 Dec 2004 Posts: 782 Location: PL
|
Posted: Sun Jul 16, 2006 9:31 am Post subject: |
|
|
heh ms is gonna be pissed.
they probably expected ntfs to be figured out when they would already have a new fs :]
wonder what will they do now?
btw did anyone have problems with it? is it stable enough? _________________ ~amd64, ~x86
shrink your /usr/portage with squashfs+aufs |
|
| Back to top |
|
 |
enderandrew l33t


Joined: 25 Oct 2005 Posts: 731
|
Posted: Sun Jul 16, 2006 10:05 am Post subject: |
|
|
Why would MS be pissed?
If you're using this, then you're dual booting and keeping a NTFS partition. That means you have a copy of Windows. MS should be happy anytime a Linux user is still keeping a copy of Windows. _________________ Nihilism makes me smile. |
|
| Back to top |
|
 |
Hauser l33t


Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Sun Jul 16, 2006 10:13 am Post subject: |
|
|
| doalwa wrote: | ...
I just installed it using the Ebuild posted above, and so far I haven't encountered a single problem, everything is working as advertised! |
Can you get it automatically mounted on boot? _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
| Back to top |
|
 |
yoshi314 l33t


Joined: 30 Dec 2004 Posts: 782 Location: PL
|
Posted: Sun Jul 16, 2006 10:48 am Post subject: |
|
|
| enderandrew wrote: | Why would MS be pissed?
If you're using this, then you're dual booting and keeping a NTFS partition. That means you have a copy of Windows. MS should be happy anytime a Linux user is still keeping a copy of Windows. |
yeah that would be true IF we would still have to rely on captive-ntfs, which needs some of ms code to work.
but who says i can't use ntfs partition for arbitrary [non-ms] data now? :> _________________ ~amd64, ~x86
shrink your /usr/portage with squashfs+aufs |
|
| Back to top |
|
 |
enderandrew l33t


Joined: 25 Oct 2005 Posts: 731
|
Posted: Sun Jul 16, 2006 10:52 am Post subject: |
|
|
It certainly is possible, but I'm not sure why a Linux user who doesn't use Windows would use NTFS. NTFS isn't horrid, but why use any experimental driver for a file system, when better fully-open-source native file systems exist in the Linux world? _________________ Nihilism makes me smile. |
|
| Back to top |
|
 |
yoshi314 l33t


Joined: 30 Dec 2004 Posts: 782 Location: PL
|
Posted: Sun Jul 16, 2006 2:21 pm Post subject: |
|
|
| Quote: | | I'm not sure why a Linux user who doesn't use Windows would use NTFS |
- to test the driver out, and avoid the wrath of the rest of his windows-addicted family when windows partition goes missing
- because he can!
_________________ ~amd64, ~x86
shrink your /usr/portage with squashfs+aufs |
|
| Back to top |
|
 |
Archangel1 Veteran


Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Mon Jul 17, 2006 8:17 am Post subject: |
|
|
| yoshi314 wrote: | | enderandrew wrote: | Why would MS be pissed?
If you're using this, then you're dual booting and keeping a NTFS partition. That means you have a copy of Windows. MS should be happy anytime a Linux user is still keeping a copy of Windows. |
yeah that would be true IF we would still have to rely on captive-ntfs, which needs some of ms code to work.
but who says i can't use ntfs partition for arbitrary [non-ms] data now? :> |
If you didn't have Windows installed at all, why on earth would you use NTFS for a partition when you've got a bunch of filesystems in Linux that are better? _________________ What are you, stupid? |
|
| Back to top |
|
 |
JoKo Tux's lil' helper

Joined: 16 May 2004 Posts: 141 Location: Xanthi, Greece
|
Posted: Mon Jul 17, 2006 8:45 am Post subject: |
|
|
| Does anyone know when ntfs-3g will become AMD64 compatible? |
|
| Back to top |
|
 |
Dieter@be Guru

Joined: 03 Apr 2005 Posts: 314 Location: Wetteren, Belgium
|
Posted: Mon Jul 17, 2006 8:46 am Post subject: |
|
|
file creation and deletion? isn't more required to have all the possibilities a filesystem-driver should have? _________________ Nothing beats a ride on the Gentoo learning curve.
2 Gentoo Linux boxes - 2 Arch Linux boxes - Love all four
Say no to i386 binaries! -- Adopt an unanswered topic |
|
| Back to top |
|
 |
mariux2 Apprentice

Joined: 16 Sep 2003 Posts: 242
|
Posted: Mon Jul 17, 2006 8:58 am Post subject: |
|
|
| Archangel1 wrote: | | yoshi314 wrote: | | enderandrew wrote: | Why would MS be pissed?
If you're using this, then you're dual booting and keeping a NTFS partition. That means you have a copy of Windows. MS should be happy anytime a Linux user is still keeping a copy of Windows. |
yeah that would be true IF we would still have to rely on captive-ntfs, which needs some of ms code to work.
but who says i can't use ntfs partition for arbitrary [non-ms] data now? :> |
If you didn't have Windows installed at all, why on earth would you use NTFS for a partition when you've got a bunch of filesystems in Linux that are better? |
Because you have an external hard drive that you use on other pc's too. |
|
| Back to top |
|
 |
SpineBuster n00b

Joined: 22 Jan 2004 Posts: 14
|
Posted: Mon Jul 17, 2006 11:12 am Post subject: |
|
|
| JoKo wrote: | | Does anyone know when ntfs-3g will become AMD64 compatible? | I'm just using it! No problems so far. |
|
| Back to top |
|
 |
ssuominen Developer

Joined: 30 Sep 2005 Posts: 1375 Location: Finland
|
Posted: Mon Jul 17, 2006 1:13 pm Post subject: |
|
|
Apparently chutzpah committed this to Portage tree.  |
|
| Back to top |
|
 |
irondog l33t


Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Mon Jul 17, 2006 2:33 pm Post subject: |
|
|
If there is an open source solution for safely reading and writing an NTFS volume, I would say a kernel driver for linux is not very far away anymore. _________________ Alle dingen moeten onzin zijn. |
|
| Back to top |
|
 |
Phlogiston Veteran


Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Jul 17, 2006 6:47 pm Post subject: |
|
|
| irondog wrote: | | If there is an open source solution for safely reading and writing an NTFS volume, I would say a kernel driver for linux is not very far away anymore. |
However in this case it's quite far away, because the driver uses methods that are not allowed in the linux kernel. Furthermore the driver must be compatible with other platforms... So it's quite a long way to go I think. I'm wondering which driver from the guys will "win" in the end  _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
| Back to top |
|
 |
irondog l33t


Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Mon Jul 17, 2006 7:02 pm Post subject: |
|
|
| Quote: | | However in this case it's quite far away, because the driver uses methods that are not allowed in the linux kernel. | Are you talking about recursion? This is 'forbidden by Linus'. It's not that a kernel is technically unable to use recursion.
| Quote: | Furthermore the driver must be compatible with other platforms... So it's quite a long way to go I think. I'm wondering which driver from the guys will "win" in the end  |
It's all about having information about the internals of the NTFS filesystem. If the information is available, writing a kernel driver is not a big deal. There are many experienced FS driver hackers around to implement a nice driver. The information is out there and the linux kernel is fexible enough to catch up. Once a kernel driver emerges, this fuse stuff will die soon, that's for sure. _________________ Alle dingen moeten onzin zijn.
Last edited by irondog on Mon Jul 17, 2006 7:16 pm; edited 1 time in total |
|
| Back to top |
|
 |
|