Login | Register
My pages Projects Community openCollabNet

Discussions > users > "Name does not refer to a filesystem directory"

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

Re: "Name does not refer to a filesystem directory"

Author pmarek
Full name P.Marek
Date 2007-08-02 23:08:04 PDT
Message Hello Chris!

> I think I have a directory with a strange name.
>
> When I try to commit, I get an error:
>
> # fsvs commit -m "2007-06-26-cmpatch upgrade"
> Committing to file:///media/fsvs
>
>
> An error occurred: Name does not refer to a filesystem directory
> (160016)
> in ci__directory: open_directory
>
> This is after counting more than 300K files. I do an strace to
> see what file/directory it's trying to access, but that doesn't help
> (this is just the tail):
...
> Any ideas?
Please try
  # fsvs commit -d -m "2007-06-26-cmpatch upgrade"
and look at the end of the output. Maybe there's some UTF8-conversion
problem ...

The message itself says that fsvs wanted to open a directory in the
repository that doesn't exist. So it might be necessary to do a "fsvs
sync-repos" ...

Do you have many changes locally? If not, doing the sync-repos and looking
at the status output might be interesting - some path should be shown as
deleted (and possibly added with another name).


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

"Name does not refer to a filesystem directory"

Author "Worley, Chris B" <chris dot b dot worley at intel dot com>
Full name "Worley, Chris B" <chris dot b dot worley at intel dot com>
Date 2007-08-02 14:07:58 PDT
Message I think I have a directory with a strange name.

    When I try to commit, I get an error:

# fsvs commit -m "2007-06-26-cmpatch upgrade"
Committing to file:///media/fsvs


An error occurred: Name does not refer to a filesystem directory
(160016)
  in ci__directory: open_directory

    This is after counting more than 300K files. I do an strace to
see what file/directory it's trying to access, but that doesn't help
(this is just the tail):

lstat("./roots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
brk(0x1292000) = 0x1292000
open("/media/fsvs/db​/transactions/0-1.tx​n/props", O_RDONLY|O_CREAT,
0666) = 3
read(3, "K 10\nsvn:author\nV 4\nroot\nK 15\nsv"..., 4096) = 149
close(3) = 0
open("/media/fsvs/db​/transactions/0-1.tx​n/node.0.0", O_RDONLY) = 3
read(3, "id: 0.0.t0-1\ntype: dir\npred: 0.0"..., 4096) = 119
close(3) = 0
open("/media/fsvs/db​/transactions/0-1.tx​n/node.0.0", O_RDONLY) = 3
read(3, "id: 0.0.t0-1\ntype: dir\npred: 0.0"..., 4096) = 119
close(3) = 0
open("/media/fsvs/db/revs/0", O_RDONLY) = 3
read(3, "PLAIN\nEND\nENDREP\nid: 0.0.r0/17\nt"..., 4096) = 115
close(3) = 0
write(1, "Committing to file:///media/fsvs"..., 33Committing to
file:///media/fsvs
) = 33
write(2, "\n\nAn error occurred", 19

An error occurred) = 19
write(2, ": Name does not refer to a files"..., 57: Name does not refer
to a filesystem directory (160016)
) = 57
write(2, " in ", 5 in ) = 5
write(2, "ci__directory", 13ci__directory) = 13
write(2, ": ", 2: ) = 2
write(2, "open_directory", 14open_directory) = 14
write(2, "\n", 1
) = 1
open("/media/fsvs/db​/transactions/0-1.tx​n",
O_RDONLY|O_NONBLOCK|​O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|S_ISGID|0700, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 8 entries */, 32768) = 232
unlink("/media/fsvs/​db/transactions/0-1.​txn/node.0.0") = 0
unlink("/media/fsvs/​db/transactions/0-1.​txn/rev") = 0
unlink("/media/fsvs/​db/transactions/0-1.​txn/rev-lock") = 0
unlink("/media/fsvs/​db/transactions/0-1.​txn/changes") = 0
unlink("/media/fsvs/​db/transactions/0-1.​txn/next-ids") = 0
unlink("/media/fsvs/​db/transactions/0-1.​txn/props") = 0
getdents64(3, /* 0 entries */, 32768) = 0
close(3) = 0
rmdir("/media/fsvs/d​b/transactions/0-1.t​xn") = 0
munmap(0x2a98f10000, 4096) = 0
exit_group(1) = ?
Process 7944 detached

Any ideas?
Messages per page: