mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

そういえばモダンなrebootはほんとうにsync(2)を呼んでるか調べたいんだったんだよね

$ ls -l `which reboot`
lrwxrwxrwx 1 root root 16 Feb 21 11:18 /usr/sbin/reboot -> ../bin/systemctl

$ file /usr/bin/systemctl
/usr/bin/systemctl: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=7d48b4d4dfa2940ff94ef3b0c0bf39688d1c79cb, for GNU/Linux 3.2.0, stripped
$ dpkg -S /usr/bin/systemctl
systemd: /usr/bin/systemctl

んー

https://github.com/systemd/systemd/blob/main/src/systemctl/systemctl.c からは直接は呼んでないぬ

The systemd System and Service Manager . Contribute to systemd/systemd development by creating an account on GitHub.
GitHubsystemd/src/systemctl/systemctl.c at main · systemd/systemdThe systemd System and Service Manager . Contribute to systemd/systemd development by creating an account on GitHub.

sync(2)を呼んでそうなCのソースファイルはけっこうあるみたい

$ git grep -l 'sync(' | grep .c | wc -l
157

grep .cじゃだめじゃん

$ git grep -l 'sync(' | grep '\.c' | wc -l
132

fsync( も含まれてた

$ git grep -l '\bsync(' | grep '\.c'
src/core/crash-handler.c
src/core/emergency-action.c
src/core/job.c
src/import/import-fs.c
src/import/import.c
src/import/pull.c
src/libsystemd/sd-bus/test-bus-benchmark.c
src/nspawn/nspawn.c
src/shared/async.c
src/shared/machine-id-setup.c
src/shared/seccomp-util.c
src/shared/switch-root.c
src/shutdown/shutdown.c
src/systemctl/systemctl-util.c
src/sysupdate/sysupdate.c
src/test/test-barrier.c

@zundan ダジャレを検出しました(検出ワード: '\\)

@zundan ダジャレを検出しました(検出ワード: '\\)