Forum › Forums › antiX-development › Development › CLI shutdown command functionality › Reply To: CLI shutdown command functionality
Hi,
In my experience with antiX (especially with runit and on slower hardware), the behavior of shutdown and halt is not always as robust as expected in other distributions (e.g. Ubuntu or FreeBSD).
I’ve consistently seen that using shutdown or halt can sometimes lead to an unclean unmount, which results in a filesystem check (fsck) on the next boot.
On the other hand, using:
sync
sudo poweroff
has proven to be more reliable. poweroff tends to trigger a more direct and complete shutdown sequence in antiX, and combining it with sync ensures that pending disk writes are flushed before the system powers down.
For this reason, in antiX environments—especially on slower systems or removable media—poweroff is often the safer and more consistent option compared to shutdown or halt.
Best regards,
Wallon