coreutils-6.7 needs R: mounted /proc.
Paweł Sikora
pluto at agmk.net
Mon Dec 11 19:35:11 CET 2006
e.g. chmod and rm need mounted proc for working.
$ mkdir foo
$ cd foo
$ touch bar
$ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
/bin/chmod: cannot access `./bar': Function not implemented
$ strace /bin/chmod -Rf a+rX,u+w,g-w,o-w .
(...)
stat(".", {st_mode=S_IFDIR|0755, st_size=16, ...}) = 0
chmod(".", 0755) = 0
open(".", O_RDONLY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=16, ...}) = 0
fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fcntl(3, F_DUPFD, 3) = 4
getdents(3, /* 3 entries */, 4096) = 72
getdents(3, /* 0 entries */, 4096) = 0
close(3) = 0
lstat("/proc/self/fd/4/bar", 0x60c4d8) = -1 ENOENT (No such file or
directory)
fstat(4, {st_mode=S_IFDIR|0755, st_size=16, ...}) = 0
stat("/proc/self/fd", 0x7ffff64ac750) = -1 ENOENT (No such file or
directory)
write(2, "/bin/chmod: ", 12/bin/chmod: ) = 12
write(2, "cannot access `./bar\'", 21cannot access `./bar') = 21
write(2, ": Function not implemented", 26: Function not implemented) = 26
write(2, "\n", 1
) = 1
close(4) = 0
close(1) = 0
close(2) = 0
exit_group(1) = ?
Process 26016 detached
More information about the pld-devel-en
mailing list