有个叫atest的东西 ls -l atest 查不出来是什么 下面删也删不掉 但是可以用mv改名字,它放在/目录下,用ls /导致不能显示 如果操作,请大侠指点, 顺便问下什么时候会导致ls / 不显示,谢谢! # strace ls atest execve("/bin/ls", ["ls", "atest"], [/* 22 vars */]) = 0 uname({sys="Linux", node="bjicqh700", ...}) = 0 brk(0) = 0x84db000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=64527, ...}) = 0 old_mmap(NULL, 64527, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75e7000 close(3) = 0 open("/lib/libacl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\24\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=19248, ...}) = 0 old_mmap(NULL, 22224, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x46f000 old_mmap(0x474000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x474000 close(3) = 0 mprotect(0xbfffb000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0 open("/lib/libtermcap.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\r\0"..., 512) = 512 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75e6000 fstat64(3, {st_mode=S_IFREG|0755, st_size=11784, ...}) = 0 old_mmap(NULL, 14856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x5d4000 old_mmap(0x5d7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x5d7000 close(3) = 0 open("/lib/tls/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200X\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1573120, ...}) = 0 old_mmap(NULL, 1280524, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x111000 old_mmap(0x244000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x132000) = 0x244000 old_mmap(0x247000, 10764, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x247000 close(3) = 0 open("/lib/libattr.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=7148, ...}) = 0 old_mmap(NULL, 10124, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfd5000 old_mmap(0xfd7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0xfd7000 close(3) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75e5000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb75e5080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xb75e7000, 64527) = 0 brk(0) = 0x84db000 brk(0x84fc000) = 0x84fc000 brk(0) = 0x84fc000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb73e5000 close(3) = 0 rt_sigaction(SIGTERM, {0x8049970, [TERM], SA_RESTORER|SA_RESTART, 0x1390d8}, {SIG_DFL}, = 0 rt_sigaction(SIGKILL, {0x8049970, [KILL], SA_RESTORER|SA_RESTART, 0x1390d8}, {SIG_DFL}, = -1 EINVAL (Invalid argument) rt_sigaction(SIGSTOP, {0x8049970, [STOP], SA_RESTORER|SA_RESTART, 0x1390d8}, {SIG_DFL}, = -1 EINVAL (Invalid argument) ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=54, ws_col=125, ws_xpixel=0, ws_ypixel=0}) = 0 stat64("atest", # rm -rf atest # strace rm -rf atest execve("/bin/rm", ["rm", "-rf", "atest"], [/* 22 vars */]) = 0 uname({sys="Linux", node="bjicqh700", ...}) = 0 brk(0) = 0x8ca4000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=64527, ...}) = 0 old_mmap(NULL, 64527, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75e9000 close(3) = 0 open("/lib/tls/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200X\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1573120, ...}) = 0 old_mmap(NULL, 1280524, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40b000 old_mmap(0x53e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x132000) = 0x53e000 old_mmap(0x541000, 10764, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x541000 close(3) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75e8000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb75e8520, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xb75e9000, 64527) = 0 brk(0) = 0x8ca4000 brk(0x8cc5000) = 0x8cc5000 brk(0) = 0x8cc5000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb73e8000 close(3) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 lstat64("atest", {st_mode=S_IFLNK|0777, st_size=21, ...}) = 0 access("atest", W_OK |
|