Szabolcs Szakacsits | 15 Nov 2009 21:11
Favicon

Stable NTFS-3G 2009.11.14 released


Welcome,

We are happy to announce the next stable NTFS-3G release. It is based on 
the latest Advanced NTFS-3G release which is already used by several 
distributions as the default NTFS driver. The changes include:

    * New: Full file ownership and permissions support. The ownership 
	and permissions of files are interoperable with Windows and 
	conforms to the POSIX rules.
    * New: POSIX ACL support. The ACLs are an extension to ownership 
	and permissions as defined in POSIX.
    * New: Optional Windows-type inheritance of ACLs.
    * New: Full extended attributes support for all namespaces: user, 
	system, security and trusted.
    * New: Junction points support. The junction points and symbolic 
	links created by Windows are seen as symbolic links.
    * New: Access is possible to NTFS internal data like Windows style 
	archive bit and file attributes. They are mapped to extended 
	attributes for easier access.
    * New: Compression write support: sequential writing to compressed 
	files is supported.
    * New: Support copying and restoring encrypted files without 
	decrypting them.
    * New: Support getting and setting high-resolution file timestamps.
    * New: Support to get, set and remove DOS filenames.
    * New: Tools for managing ownership, permissions and ACLs: secaudit 
	checks the integrity of ownership, permissions and ACL, usermap 
	gives help to configure ownership.
    * New: Implemented setchgtime() on Mac OS X.
(Continue reading)

Kazuhiro Takenaka | 27 Nov 2009 07:25
Picon

Broken Link of this Mailing List Archive

Hello All.

I want to know how to backup a NTFS filesytem on a Linux system,
So I browsed the archive of this mailing list.

And then I found a thread that matches my purpose.
The following URL is it.

http://sourceforge.net/mailarchive/forum.php?thread_name=4963BB45.8090404%40wanadoo.fr&forum_name=ntfs-3g-devel

But I cannot access some links in the following sentences
included in the above page.

==================================
Yes it is mostly possible, but not so easy. See the following
threads on the project forum :
http://forum.ntfs-3g.org/viewtopic.php?t=1035
http://forum.ntfs-3g.org/viewtopic.php?t=1045
==================================

How can I access these links?
--
Kazuhiro Takenaka
Open Source Business Unit
NTT DATA INTELLILINK CORPORATION
email Kazuhiro Takenaka <takenakak@...>
URL   http://www.intellilink.co.jp/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
(Continue reading)

Alexander Kalouguine | 26 Nov 2009 17:12
Picon

On NTFS-3G multiple access

Hi colleagues,

For our project, we need simultaneous access to the NTFS-3G partition (from several clients).

Could you please let us know if the NTFS-3G driver supports 
simultaneous access to the NTFS volumes for one writer + multiple 
readers with the locking implemented on the volume level and not on the file-level?

If yes, could you please let us know if the NTFS-3G handles OK the 
Windows+Mac or Windows+Linux environments, i.e. when:
1. The writer is the Windows workstation and the readers are Mac OS X (Linux)
workstations;
2. The writer is Mac OS X (Linux) workstation and the readers are Windows 
workstations;
3. Other combinations of readers and writer?

Is there specific NTFS-3G API that enables to ‘reload the FS cache data from the volume’, ‘flush the FS cache data to the volume’ for NTFS volumes under Mac OS X or Linux?

Thanks,
Alex.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@...
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
Szabolcs Szakacsits | 27 Nov 2009 07:37
Favicon

Re: Broken Link of this Mailing List Archive


Hi Kazuhiro,

I asked our IT to fix the forum links, if possible. The forum 
had to be moved to a new server when we moved in the Summer.

This is the rule who one can find an old topic:

  OLD URL: http://forum.ntfs-3g.org/viewtopic.php?t=1035

  NEW URL: http://tuxera.com/forum/viewtopic.php?t=1035

Best regards,
		Szaka

On Fri, 27 Nov 2009, Kazuhiro Takenaka wrote:

> Hello All.
> 
> I want to know how to backup a NTFS filesytem on a Linux system,
> So I browsed the archive of this mailing list.
> 
> And then I found a thread that matches my purpose.
> The following URL is it.
> 
> http://sourceforge.net/mailarchive/forum.php?thread_name=4963BB45.8090404%40wanadoo.fr&forum_name=ntfs-3g-devel
> 
> But I cannot access some links in the following sentences
> included in the above page.
> 
> ==================================
> Yes it is mostly possible, but not so easy. See the following
> threads on the project forum :
> http://forum.ntfs-3g.org/viewtopic.php?t=1035
> http://forum.ntfs-3g.org/viewtopic.php?t=1045
> ==================================
> 
> How can I access these links?
> --
> Kazuhiro Takenaka
> Open Source Business Unit
> NTT DATA INTELLILINK CORPORATION
> email Kazuhiro Takenaka <takenakak@...>
> URL   http://www.intellilink.co.jp/
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> ntfs-3g-devel mailing list
> ntfs-3g-devel@...
> https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
> 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Kazuhiro Takenaka | 27 Nov 2009 08:00
Picon

Re: Broken Link of this Mailing List Archive

Hi Szaka,

Thanks for your quick response.

Now I can access those links.

> Hi Kazuhiro,
> 
> I asked our IT to fix the forum links, if possible. The forum 
> had to be moved to a new server when we moved in the Summer.
> 
> This is the rule who one can find an old topic:
> 
>   OLD URL: http://forum.ntfs-3g.org/viewtopic.php?t=1035
> 
>   NEW URL: http://tuxera.com/forum/viewtopic.php?t=1035
> 
> Best regards,
> 		Szaka
> 
> 
> On Fri, 27 Nov 2009, Kazuhiro Takenaka wrote:
> 
>> > Hello All.
>> > 
>> > I want to know how to backup a NTFS filesytem on a Linux system,
>> > So I browsed the archive of this mailing list.
>> > 
>> > And then I found a thread that matches my purpose.
>> > The following URL is it.
>> > 
>> > http://sourceforge.net/mailarchive/forum.php?thread_name=4963BB45.8090404%40wanadoo.fr&forum_name=ntfs-3g-devel
>> > 
>> > But I cannot access some links in the following sentences
>> > included in the above page.
>> > 
>> > ==================================
>> > Yes it is mostly possible, but not so easy. See the following
>> > threads on the project forum :
>> > http://forum.ntfs-3g.org/viewtopic.php?t=1035
>> > http://forum.ntfs-3g.org/viewtopic.php?t=1045
>> > ==================================
>> > 
>> > How can I access these links?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Jean-Pierre André | 27 Nov 2009 08:17
Picon

Re: On NTFS-3G multiple access

Hi Alexander,

Alexander Kalouguine wrote:
> Hi colleagues,
>
> For our project, we need simultaneous access to the NTFS-3G partition 
> (from several clients).

Currently, you need a single front-end (NFS, Samba, etc).

> Could you please let us know if the NTFS-3G driver supports 
> simultaneous access to the NTFS volumes for one writer + multiple 
> readers with the locking implemented on the volume level and not on 
> the file-level?

No.

> If yes, could you please let us know if the NTFS-3G handles OK the 
> Windows+Mac or Windows+Linux environments, i.e. when:
> 1. The writer is the Windows workstation and the readers are Mac OS X 
> (Linux)
> workstations;
> 2. The writer is Mac OS X (Linux) workstation and the readers are 
> Windows 
> workstations;
> 3. Other combinations of readers and writer?

None.

> Is there specific NTFS-3G API that enables to ‘reload the FS cache 
> data from the volume’, ‘flush the FS cache data to the volume’ for 
> NTFS volumes under Mac OS X or Linux?

Yes. It is called mount/umount (though the option
remount is not implemented yet).

Regards

Jean-Pierre

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Kazuhiro Takenaka | 30 Nov 2009 05:45
Picon

How to backup and restore parameters of NTFS

Hi All,

I am trying to backup and restore a NTFS filesystem on a Linux system.

I have two aims to do this.

One is to backup and restore by a file unit.

I read the man pages of the following commands: ntfs-3g, ntfs-3g.probe,
ntfs-3g.secaudit, ntfs-3g.usermap.

And now I think I can do it with proper use of those commands.

Another aim is to backup and restore filesystem parameters.

What I can think of now is using ntfsclone by the following
procedures.

  Procedure1.
    Backup a NTFS filesytem by ntfsclone with metadata.

  Procedure2.
    Restore a NTFS filesytem by ntfsclone from the data producted by
    Procedure1.

  Procedure3.
    Remove all files in the NTFS filesystem restored by Procedure2.

My questiions are:

  Q1. Can the procedures I wrote above work according to my
      expectation?

  Q2. Is there any other smart way to do this?

Sincerely Yours.
--

-- 
Kazuhiro Takenaka
Open Source Business Unit
NTT DATA INTELLILINK CORPORATION
email Kazuhiro Takenaka <takenakak@...>
URL   http://www.intellilink.co.jp/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Jean-Pierre André | 30 Nov 2009 08:31
Picon

Re: How to backup and restore parameters of NTFS

Hi,

Kazuhiro Takenaka wrote:
> Hi All,
>
> I am trying to backup and restore a NTFS filesystem on a Linux system.
>
> I have two aims to do this.
>
> One is to backup and restore by a file unit.
>
> I read the man pages of the following commands: ntfs-3g, ntfs-3g.probe,
> ntfs-3g.secaudit, ntfs-3g.usermap.
>
> And now I think I can do it with proper use of those commands.
>
> Another aim is to backup and restore filesystem parameters.
>
> What I can think of now is using ntfsclone by the following
> procedures.
>
>    Procedure1.
>      Backup a NTFS filesytem by ntfsclone with metadata.
>
>    Procedure2.
>      Restore a NTFS filesytem by ntfsclone from the data producted by
>      Procedure1.
>
>    Procedure3.
>      Remove all files in the NTFS filesystem restored by Procedure2.
>    

What is the purpose of Procedure3 ?

> My questiions are:
>
>    Q1. Can the procedures I wrote above work according to my
>        expectation?
>    

It very much depends on what your expectations are.

The above Procedure1 and Procedure2 save and
restore only the metadata, not the user parts of files.
Is this what you want to do ?

If you want to fully save and restore a partition, you
need to use the options --save-image and --restore-image
of ntfsclone.

>    Q2. Is there any other smart way to do this?
>    

The above procedure will restore the full partition
to a new partition of the same size. If you want to
do a partial restore (eg a subdirectory only), with all
the NTFS parameters, you have to design a specific
tool. In
http://pagesperso-orange.fr/b.andre/tools.zip
there is ntfscp.c which is an example of how you
can do that.

Regards

Jean-Pierre

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Kazuhiro Takenaka | 1 Dec 2009 11:03
Picon

Re: How to backup and restore parameters of NTFS

Hi Jean-Pierre,

> What is the purpose of Procedure3 ?

The reason I want to backup by a file unit is to do
incrementtal backup.

There are two methods to do incremental backup a filesystem.

Method1:
    At first time, Make backup data that consist of one object.
    The object is a full dump of the target filesystem.
    "full" means that the dump contains all files on the target filesytem.

    After second time, Pickup and archive the files changed from the
    previous backup.

Method2:
    At first time, Make backup data that consist of two objects.

    The first object is a empty dump of the target filesystem.
    "empty" means that the dump contains no file. It contains
    only the structure of the contarget filesytem.

    The second object is an archive file that consists of all
    files of the target filesystem.

    After second time, Pickup and archive the files changed from the
    previous backup.

I prefer Method2 rather than Meshod1. Because it decouples structure
and data better than the other. And I thought I could get an empty
dump from an empty NTFS filesystem. So I thougt those procedures.

But I cannot think those procedures are smart. I am planning to
investigate what ntfsinfo provides.

> The above procedure will restore the full partition
> to a new partition of the same size. If you want to
> do a partial restore (eg a subdirectory only), with all
> the NTFS parameters, you have to design a specific
> tool. In
> http://pagesperso-orange.fr/b.andre/tools.zip
> there is ntfscp.c which is an example of how you
> can do that.

You pointed me out another difficulty in my attempt.
Archiving and Restoring files on NTFS filesystems need special commands
for it. Because existing archive commands on Linux systems , such like
tar, cpio and so on, can't keep NTFS specific file attributes.
I will give a look to ntfscp.c.

Thanks for giving me useful information.

Sincerely Yours.

> Hi,
> 
> Kazuhiro Takenaka wrote:
>> Hi All,
>>
>> I am trying to backup and restore a NTFS filesystem on a Linux system.
>>
>> I have two aims to do this.
>>
>> One is to backup and restore by a file unit.
>>
>> I read the man pages of the following commands: ntfs-3g, ntfs-3g.probe,
>> ntfs-3g.secaudit, ntfs-3g.usermap.
>>
>> And now I think I can do it with proper use of those commands.
>>
>> Another aim is to backup and restore filesystem parameters.
>>
>> What I can think of now is using ntfsclone by the following
>> procedures.
>>
>>    Procedure1.
>>      Backup a NTFS filesytem by ntfsclone with metadata.
>>
>>    Procedure2.
>>      Restore a NTFS filesytem by ntfsclone from the data producted by
>>      Procedure1.
>>
>>    Procedure3.
>>      Remove all files in the NTFS filesystem restored by Procedure2.
>>    
> 
> What is the purpose of Procedure3 ?
> 
>> My questiions are:
>>
>>    Q1. Can the procedures I wrote above work according to my
>>        expectation?
>>    
> 
> It very much depends on what your expectations are.
> 
> The above Procedure1 and Procedure2 save and
> restore only the metadata, not the user parts of files.
> Is this what you want to do ?
> 
> If you want to fully save and restore a partition, you
> need to use the options --save-image and --restore-image
> of ntfsclone.
> 
>>    Q2. Is there any other smart way to do this?
>>    
> 
> The above procedure will restore the full partition
> to a new partition of the same size. If you want to
> do a partial restore (eg a subdirectory only), with all
> the NTFS parameters, you have to design a specific
> tool. In
> http://pagesperso-orange.fr/b.andre/tools.zip
> there is ntfscp.c which is an example of how you
> can do that.
> 
> Regards
> 
> Jean-Pierre 
--

-- 
Kazuhiro Takenaka
Open Source Business Unit
NTT DATA INTELLILINK CORPORATION
email Kazuhiro Takenaka <takenakak@...>
URL   http://www.intellilink.co.jp/

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
Jean-Pierre André | 1 Dec 2009 21:04
Picon

Re: How to backup and restore parameters of NTFS

Hi,

Kazuhiro Takenaka wrote:
> Hi Jean-Pierre,
>
>    
>> What is the purpose of Procedure3 ?
>>      
> The reason I want to backup by a file unit is to do
> incrementtal backup.
>
> There are two methods to do incremental backup a filesystem.
>
> Method1:
>      At first time, Make backup data that consist of one object.
>      The object is a full dump of the target filesystem.
>      "full" means that the dump contains all files on the target filesytem.
>
>      After second time, Pickup and archive the files changed from the
>      previous backup.
>
> Method2:
>      At first time, Make backup data that consist of two objects.
>
>      The first object is a empty dump of the target filesystem.
>      "empty" means that the dump contains no file. It contains
>      only the structure of the contarget filesytem.
>
>      The second object is an archive file that consists of all
>      files of the target filesystem.
>
>      After second time, Pickup and archive the files changed from the
>      previous backup.
>
> I prefer Method2 rather than Meshod1. Because it decouples structure
> and data better than the other. And I thought I could get an empty
> dump from an empty NTFS filesystem. So I thougt those procedures.
>
> But I cannot think those procedures are smart. I am planning to
> investigate what ntfsinfo provides.
>    

You will get roughly the same results with both
methods. With both of them you will have to restore
to a partition of the same size as the original.

ntfsinfo will not be very useful for restoring the
attributes.

>> The above procedure will restore the full partition
>> to a new partition of the same size. If you want to
>> do a partial restore (eg a subdirectory only), with all
>> the NTFS parameters, you have to design a specific
>> tool. In
>> http://pagesperso-orange.fr/b.andre/tools.zip
>> there is ntfscp.c which is an example of how you
>> can do that.
>>      
> You pointed me out another difficulty in my attempt.
> Archiving and Restoring files on NTFS filesystems need special commands
> for it. Because existing archive commands on Linux systems , such like
> tar, cpio and so on, can't keep NTFS specific file attributes.
> I will give a look to ntfscp.c.
>    

ntfs.c can only copy to NTFS. If you want to save
to non-NTFS you will have to define how you store
the attributes.

By the way I have just added the copy of object ids
to ntfscp, but you need to use the beta test version
of advanced ntfs-3g to benefit from object id copying.

Regards

Jean-Pierre

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev

Gmane