Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poweroff: update page #13176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

poweroff: update page #13176

wants to merge 1 commit into from

Conversation

spageektti
Copy link
Member

No description provided.

@github-actions github-actions bot added the page edit Changes to an existing page(s). label Jun 27, 2024
Copy link
Member

@acuteenvy acuteenvy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this depends on the version of systemd. I don't know when exactly this was changed though.

man poweroff in Debian 12 (systemd 252):
https://manned.org/man/debian-bookworm/poweroff

-f, --force
Force immediate halt, power-off, reboot. If specified, the command does not contact the init system. In most cases, filesystems are not properly unmounted before shutdown. For example, the command reboot -f is mostly equivalent to systemctl reboot -ff, instead of systemctl reboot -f.

man poweroff in Debian 11 (systemd 247):
https://manned.org/man/debian-bullseye/poweroff

-f, --force
Force immediate halt, power-off, or reboot. When specified once, this results in an immediate but clean shutdown by the system manager. When specified twice, this results in an immediate shutdown without contacting the system manager. See the description of --force in systemctl(1) for more details.

Other init systems probably also do this differently.

@spageektti
Copy link
Member Author

spageektti commented Jun 27, 2024

I thought this is just a typo because for me it works with one --force flag.

@spageektti spageektti requested a review from kbdharun June 28, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
page edit Changes to an existing page(s).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants