tor 2022-05-19 klockan 00:02 +0000 skrev Clint Adams: > Is the output of > > strace -e '%%stat' sh -c 'test -c /dev/null' > > conspicuously different on ia64 in contrast with other architectures?
There is no major difference: x86_64: ellert@debian-unstable:~$ uname -a Linux debian-unstable 5.17.0-2-amd64 #1 SMP PREEMPT Debian 5.17.6-1 (2022-05-11) x86_64 GNU/Linux ellert@debian-unstable:~$ strace -e '%%stat' sh -c 'test -c /dev/null' newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=107023, ...}, AT_EMPTY_PATH) = 0 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=1900992, ...}, AT_EMPTY_PATH) = 0 newfstatat(AT_FDCWD, "/home/ellert", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, ".", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x3), ...}, 0) = 0 +++ exited with 0 +++ ia64: ellert@yttrium:~$ uname -a Linux yttrium 5.17.0-1-mckinley #1 SMP Debian 5.17.3-1 (2022-04-18) ia64 GNU/Linux ellert@yttrium:~$ strace -e '%%stat' sh -c '[ -c /dev/null ]' newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=25579, ...}, AT_EMPTY_PATH) = 0 newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=2937560, ...}, AT_EMPTY_PATH) = 0 newfstatat(AT_FDCWD, "/home/ellert", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, ".", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 newfstatat(AT_FDCWD, "/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x3), ...}, 0) = 0 +++ exited with 0 +++ yttrium.debian.net is the debian ia64 porterbox, so you can probably run these test too. Mattias
signature.asc
Description: This is a digitally signed message part