Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-fs/ntfs3g to replace sys-fs/captive for NTFS read/write?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 1375
Location: Finland

PostPosted: Sat Jul 15, 2006 9:36 am    Post subject: sys-fs/ntfs3g to replace sys-fs/captive for NTFS read/write? Reply with quote

"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. 8O

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. 8)
Back to top
View user's profile Send private message
mariux2
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 242

PostPosted: Sat Jul 15, 2006 10:08 am    Post subject: Reply with quote

It works great, only its a bit slow.

Hopefully that will improve in the future
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 1375
Location: Finland

PostPosted: Sat Jul 15, 2006 10:19 am    Post subject: Forgot to mention ebuild name.. Reply with quote

Use sys-fs/ntfs3g/ntfs3g-20070714.ebuild for that ebuild.
Back to top
View user's profile Send private message
Mesto
n00b
n00b


Joined: 03 Jan 2006
Posts: 8

PostPosted: Sat Jul 15, 2006 10:36 am    Post subject: Reply with quote

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 :D
_________________
echo "grtwwnxEh~gjwfwrtw3sjy" | perl -pe 's/(.)/chr(ord($1)-5)/ge'
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sat Jul 15, 2006 10:50 am    Post subject: Reply with quote

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:
Code:
$ mount /win/C

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
View user's profile Send private message
omidxo
n00b
n00b


Joined: 23 Feb 2005
Posts: 61

PostPosted: Sat Jul 15, 2006 11:36 am    Post subject: Reply with quote

tks a lot
Back to top
View user's profile Send private message
eqlb
n00b
n00b


Joined: 19 May 2005
Posts: 36

PostPosted: Sat Jul 15, 2006 5:26 pm    Post subject: Full Ntfs driver for linux released Reply with quote

there seems to be a new ntfs driver linux, with full read and write support. This is great news since captive is slow and has some issues

http://sourceforge.net/mailarchive/forum.php?thread_id=23836054&forum_id=2697
http://www.linux-ntfs.org/

Hopefully there will be a gentoo ebuild file soon.. i would do it my self but it seems like i dont really now what i am doing :p
Back to top
View user's profile Send private message
Tyler_Durden
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 157
Location: Germany

PostPosted: Sat Jul 15, 2006 5:37 pm    Post subject: Re: Full Ntfs driver for linux released Reply with quote

eqlb wrote:
there seems to be a new ntfs driver linux, with full read and write support. This is great news since captive is slow and has some issues

http://sourceforge.net/mailarchive/forum.php?thread_id=23836054&forum_id=2697
http://www.linux-ntfs.org/

Hopefully there will be a gentoo ebuild file soon.. i would do it my self but it seems like i dont really now what i am doing :p


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
View user's profile Send private message
safeness
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2004
Posts: 81
Location: Bellevue, WA

PostPosted: Sat Jul 15, 2006 6:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 122
Location: Old Europe

PostPosted: Sat Jul 15, 2006 10:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 782
Location: PL

PostPosted: Sun Jul 16, 2006 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Sun Jul 16, 2006 10:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sun Jul 16, 2006 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 782
Location: PL

PostPosted: Sun Jul 16, 2006 10:48 am    Post subject: Reply with quote

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
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Sun Jul 16, 2006 10:52 am    Post subject: Reply with quote

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
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 782
Location: PL

PostPosted: Sun Jul 16, 2006 2:21 pm    Post subject: Reply with quote

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 :D
  • because he can! :D

_________________
~amd64, ~x86
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Mon Jul 17, 2006 8:17 am    Post subject: Reply with quote

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
View user's profile Send private message
JoKo
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 141
Location: Xanthi, Greece

PostPosted: Mon Jul 17, 2006 8:45 am    Post subject: Reply with quote

Does anyone know when ntfs-3g will become AMD64 compatible?
Back to top
View user's profile Send private message
Dieter@be
Guru
Guru


Joined: 03 Apr 2005
Posts: 314
Location: Wetteren, Belgium

PostPosted: Mon Jul 17, 2006 8:46 am    Post subject: Reply with quote

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
View user's profile Send private message
mariux2
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 242

PostPosted: Mon Jul 17, 2006 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
SpineBuster
n00b
n00b


Joined: 22 Jan 2004
Posts: 14

PostPosted: Mon Jul 17, 2006 11:12 am    Post subject: Reply with quote

JoKo wrote:
Does anyone know when ntfs-3g will become AMD64 compatible?
I'm just using it! No problems so far.
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 1375
Location: Finland

PostPosted: Mon Jul 17, 2006 1:13 pm    Post subject: Reply with quote

Apparently chutzpah committed this to Portage tree. :wink:
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Mon Jul 17, 2006 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Mon Jul 17, 2006 6:47 pm    Post subject: Reply with quote

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 8)
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Mon Jul 17, 2006 7:02 pm    Post subject: Reply with quote

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 8)

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum