Commit graph

26 commits

Author SHA1 Message Date
Ori Bernstein
da1daf3012 gefs: initial import 2024-05-16 20:47:43 +00:00
Sigrid Solveig Haflínudóttir
6be977907b fshalt: halt ext4srv as well 2024-02-14 21:51:26 +00:00
cinap_lenrek
276c090a95 fshalt: get rid of special nvme hack for disk shutdown
The kernel has been fixed, no need to exclude
nvme drives anymore.
2023-11-18 21:59:38 +00:00
mia soweli
2531938269 scram: → /rc/bin/scram
no need for scram to be a c program and duplicate the acpi shutdown code.
try writing power off to /dev/pmctl or fall back to the new -H flag
for aux/acpi.
2023-06-04 13:52:05 +00:00
Sigrid Solveig Haflínudóttir
f0084afefa fshalt: until sd* drivers get fixed (in a calm manner) only unconfigure nvme drives 2023-05-26 21:33:17 +00:00
Sigrid Solveig Haflínudóttir
390c71f0c7 sdnvme, fshalt: turn disks off on fshalt
MNT Reform's power rails are switched off abruptly on shutdown
which causes an "unsafe" shutdown on nvme. This may result in
loss of valid data in the volatile write cache, which is never
going to be synced in this case. This problem has been reported
on forums about Linux too, including actual filesystem errors
resulting from that behavior.

Notify nvme about a shutdown and wait up to 3s before disabling
the controller. This resulted in "unsafe shutdowns" nvme's counter
to never increase on fshalt.
2023-05-24 16:14:33 +00:00
Sigrid Solveig Haflínudóttir
25ad7eef2c fshalt: optionally use /dev/pmctl to shut down the machine 2022-09-07 19:49:38 +00:00
Sigrid Solveig Haflínudóttir
f05b00e7be fshalt: shut up about #P not being present 2022-08-20 16:40:11 +00:00
Sigrid Solveig Haflínudóttir
a078bdb66a fshalt: support relative paths to the new kernel 2022-08-20 16:38:45 +00:00
Ori Bernstein
0986cc7a92 fshalt: remove unused variable 2022-08-20 12:39:23 +00:00
Ori Bernstein
efc7a9a729 fshalt: allow passing a kernel to 'fshalt -r'
reboot(1) doesn't shut down the file system gracefully,
and fshalt -r didn't support passing a kernel; this
change allows rebooting into a new kernel with fshalt.
2022-08-12 10:36:55 +00:00
cinap_lenrek
22b28520cd fshalt: wait for fileservers command file to vanish
cwfs and hjfs create ther /srv command files with
ORCLOSE flag, so they get removed once the fileserver
terminates. we can use this to check that the fileserver
has in fact finished halting without making assumtions
about the time it should maximally take for any fileserver
to write out its buffers to disk.
2018-11-27 22:37:32 +01:00
cinap_lenrek
3db2012126 fshalt: remove kfs support 2015-08-21 19:40:29 +02:00
cinap_lenrek
66f86d03a5 fshalt: rfork n to avoid limbo namespace when the command fails 2013-12-22 17:26:31 +01:00
aiju
2e19497159 hjfs: default service name, fshalt 2012-08-07 18:43:13 +02:00
aiju
1eff3709b4 acpi shutdown 2012-06-29 16:55:48 +02:00
aiju
58693ad81c fshalt: really scram the local machine 2011-07-21 10:45:41 +02:00
cinap_lenrek
79e59f5beb fshalt: have to bind 2011-07-20 10:26:56 +02:00
aiju
943b0d4609 fshalt: scram the local machine 2011-07-19 16:31:14 +02:00
cinap_lenrek
68befdff72 timesync: let timesync set the rtc with respect to gmtdelta 2011-06-15 21:15:22 +02:00
aiju
27dc8032ab added scram(8) 2011-05-18 04:17:27 +00:00
stanley lieber
f305ca8610 fshalt: fix for cwfs. 2011-04-21 03:10:08 +00:00
stanley lieber
fbea254ad3 add Fish-'s installer patches; possibly not in a working state. testing/fixes requested. 2011-04-20 03:49:58 +00:00
cinap_lenrek
5e45406a0d fixing perms 2011-03-30 18:29:07 +00:00
Taru Karttunen
a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Taru Karttunen
2959e1ede0 Import sources from 2011-03-30 iso image - rc 2011-03-30 17:14:36 +03:00