Marcelo, Thanks for the details. Comments inline...
Marcelo Leal wrote: > execve("/usr/bin/rm", 0x08047DBC, 0x08047DC8) argc = 2 > mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, > -1, 0) = 0xFEFF0000 > resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12 > resolvepath("/usr/bin/rm", "/usr/bin/rm", 1023) = 11 > sysconfig(_CONFIG_PAGESIZE) = 4096 > xstat(2, "/usr/bin/rm", 0x08047A68) = 0 > open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT > xstat(2, "/lib/libc.so.1", 0x080471C8) = 0 > resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14 > open("/lib/libc.so.1", O_RDONLY) = 3 > > fstatat64(AT_FDCWD, "Arquivos.file", 0x08047C80, 0x00001000) Err#2 ENOENT > This is interesting ! Note that the fstatat64() call is failing with ENOENT. So, there is something we are missing. I assume you are able to list the directory contents and ascertain that the file exists. Can you please provide the directory listing ("ls -l") of the directory in question ? Note that a "ls -l" would use fstat64 to get the stats of the files. So, truss on "ls -l" would also help. Thanks and regards, Sanjeev. > fstat64(2, 0x08046CE0) = 0 > write(2, " r m : ", 4) = 4 > write(2, " Arquivos . fil".., 13) = 13 > write(2, " : ", 2) = 2 > write(2, " N o s u c h f i l e".., 25) = 25 > write(2, "\n", 1) = 1 > _exit(2) > _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss