(Courriels de diversion: <assujetties@mordilla-compensatrices.com> <ensoleillee@morigenions-patinait.com> <emanent@niiez-controleur.com> <economiserent@rabougrisse-exposerez.com> <inexperts@tacha-phraseurs.com> <hachoir@jeuneras-dresseront.com> <enchantez@ecorces-alimenterez.com> <premediterait@avorterez-reduisais.com> <pietina@horrifiait-fourvoyant.com> <degroupees@retribueras-indexee.com> )


Salut,

Guillaume Betous wrote:

> apparemment ils ont abandonné ?

Non, il n'ont pas abandonné, il y a régulièrement des patches envoyés
sur la Linux Kernel Mailing List par le mainteneur du pilote NTFS de
Linux, et visiblement, les choses progressent. Voici l'extrait d'un mail
qu'Anton Altaparmakov a envoyé sur la LKML le 17 octobre:

«
Given an existing uncompressed and unencrypted file, you can use:

- write(2) to write to the file, including beyond the end of the
existing file, and the file will be extended appropriately.  Both
resident and non-resident files are supported.  Support for heavily
fragmented files still has some limitations but you will just get an
EOPNOTSUPP error if you hit one.  Everything will still be consistent on
the volume.  Sparse files can also be written to and holes will be
filled in appropriately.

- truncate(2) and ftruncate(2) to change the size of the file, inlcuding
using open(2) with O_TRUNC flag.  As with write(2) there still are some
limitations for heavily fragmented files, and as above, everything will
still be consistent on the volume if you hit an unsupported case.

What this means is that you can now run your favourite editor on an
existing file, e.g. "vim /ntfs/somefile.txt" works fine and you can save
your changes.  Also things like running OpenOffice should work to edit
existing MS Office documents but I haven't tried it yet (it should work
as long as OpenOffice does not need to create temporary files in the
same directory as the document).

Still not supported features are creation/deletion of files/directories
and mmap(2) based writes to sparse regions of files.  (The mmap(2)
support has not been modified since the last release, only the file
write(2) support was rewritten.)
»

Bonne journée,

Thomas
-- 
Thomas Petazzoni
thomas.petazzoni@enix.org

--------------------------------------------------------------------
Les listes de diffusion occultes: <URL:http://www.CULTe.org/listes/>