Hi,
On Thu, 29 Sep 2005, Jens Arm wrote:
> I have found a bug in ntfsmount and/or libntfs, perhaps with names which =
are nearly the same:
>=20
> I get an "operation not supported".
> I use newest cvs.
>=20
> I have to do to get the error:
>=20
> 1. create fs with mkntfs
> 2. mount it with: ntfsmount /home/tux/media/ntfs -o dev=3D/dev/sda1,succe=
ed_chmod
> 3. cd /home/tux/media/ntfs
> 4. mkdir test
> 5. cd test
> 6. touch 264832689khvIQa 348035721etiZZU 305540613SFQwUV 405740136TgfzsO =
440602278DYNWAB 426966314QlUQUx 264833286kqktve 248221352ZxcJwZ
> here I get: touch: kann ,,248221352ZxcJwZ" nicht ber=FChren: Die Oper=
ation wird nicht unterst=FCtzt
> 7. ls -lsa
> tux@tux:~/media/ntfs/test$ ls -lsa
> insgesamt 0
> 0 drwx------ 1 tux tux 0 2005-09-29 08:38 .
> 0 -rw------- 1 tux tux 0 2005-09-29 08:38 264832689khvIQa
> 0 -rw------- 1 tux tux 0 2005-09-29 08:38 264833286kqktve
> 0 -rw------- 1 tux tux 0 2005-09-29 08:38 305540613SFQwUV
> 0 -rw------- 1 tux tux 0 2005-09-29 08:38 348035721etiZZU
> 0 -rw------- 1 tux tux 0 2005-09-29 08:38 405740136TgfzsO
> 0 -rw------- 1 tux tux 0 2005-09-29 08:38 426966314QlUQUx
> 0 -rw------- 1 tux tux 0 2005-09-29 08:38 440602278DYNWAB
>=20
> Why the last file cannot be created ????
> Looks like there are problems with filenames which are equal at some poin=
t.
>=20
> I am not on the list, so please mail directly to me.
It is not a bug it is a feature. ntfsmount and libntfs only support a=20
very restricted set of directory modifications. So you just hit a case=20
that is not supported. If you read the ntfsmount man page you will see:
<quote>
=09Partly implented features:
=09=09* Create/Delete/Move files and directories.
</quote>
I admit this probably ought to be described in more detail than that but=20
it does give you the hint that it is partly implemented...
Best regards,
=09Anton
--=20
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/ |