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

[cmds] Add -s, -r, and -p options to shutdown, remove reboot, poweroff #2000

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Sep 5, 2024

In an effort to save disk space and have more functionality on all disk images, the shutdown program has been enhanced to allow powering off with -p and rebooting with -r. This replaces the poweroff and reboot commands, which are removed.

shutdown is/has been present on all disk images, including the smallest 360k FAT and MINIX. The previous idea of using hard links wasn't so good as FAT filesystems require full copies, thereby negating any savings for those images.

Manual page updated.

@ghaerr ghaerr merged commit a4f544f into master Sep 5, 2024
1 check passed
@ghaerr ghaerr deleted the shutdown branch September 5, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant