Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by kees99

2 days ago

You'd probably want to do the filesystem unmount dance first:

  echo 1 > /proc/sys/kernel/sysrq
  echo u > /proc/sysrq-trigger
  dmesg --follow \
  | grep -qm1 'Emergency Remount complete'
  echo o > /proc/sysrq-trigger

...least putting a bit too much trust in ext4/btrfs/zfs journalling.

0 comments

kees99

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities