Register FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Thu May 23, 2013 14:42



Post new topic Reply to topic  [ 6 posts ] 
How can I use ntfs-3g in my program? 
Author Message

Joined: Wed Jan 06, 2010 07:11
Posts: 3
Post How can I use ntfs-3g in my program?
I am writing a program which can access a disk on the sector level. I was able to access files on a FAT32 formatted disk. I would like to know how I can use the NTFS-3G driver in my program so that I can access files on an NTFS formatted disk. Is NTFS-3G the solution to my problem?


Wed Jan 06, 2010 07:20
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1008
Post Re: How can I use ntfs-3g in my program?
Hi,

Quote:
I am writing a program which can access a disk on the sector level.

Accessing on the sector level is bypassing the file system, and whether it is FAT or NTFS makes no difference.
Quote:
I would like to know how I can use the NTFS-3G driver in my program so that I can access files on an NTFS formatted disk. Is NTFS-3G the solution to my problem?

The purpose of ntfs-3g is accessing files stored on an NTFS formatted disk, so ntfs-3g must be the solution.
But, what is your operating system ?

Regards

Jean-Pierre


Wed Jan 06, 2010 09:22
Profile

Joined: Wed Jan 06, 2010 07:11
Posts: 3
Post Re: How can I use ntfs-3g in my program?
Thanks for the reply. My program is written in C, running on Fedora 10.


Wed Jan 06, 2010 09:33
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1008
Post Re: How can I use ntfs-3g in my program?
Hi,

Quote:
My program is written in C, running on Fedora 10.

ntfs-3g is available in standard Fedora 10, the latest update from Fedora 10 i386 is on
http://download.fedora.redhat.com/pub/f ... 0.i386.rpm
A more recent version is available on http://www.tuxera.com/community/ntfs-3g-download/ (you have to compile and install)

Regards

Jean-Pierre


Wed Jan 06, 2010 10:27
Profile

Joined: Wed Jan 06, 2010 07:11
Posts: 3
Post Re: How can I use ntfs-3g in my program?
Yes, I understand that it is included in Fedora 10. As I have mentioned, I was able to access the files from a FAT formatted disk by starting from the master boot record, the partition tables and then reading the file allocation tables. Can I use the same approach for NTFS disk? Can you give me an idea of how or where to start? Thanks.


Wed Jan 06, 2010 11:36
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1008
Post Re: How can I use ntfs-3g in my program?
Hi,

Quote:
I was able to access the files from a FAT formatted disk by starting from the master boot record, the partition tables and then reading the file allocation tables. Can I use the same approach for NTFS disk?

Yes, of course. You just have to reinvent ntfs-3g.
Quote:
Can you give me an idea of how or where to start?

Just use ntfs-3g.

Regards

Jean-Pierre


Wed Jan 06, 2010 12:20
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: jaempab and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.