News for hackers. Stuff that matters.
Re:What is fsck up to now? by JdeBP on Tuesday March 17, 2020 @07:58PM (#22612053)
Enjoy some more manual pages in the same vein:

* http://jdebp.uk./Softwares/nosh/guide/commands/monitored-fsc...

* http://jdebp.uk./Softwares/nosh/guide/commands/monitor-fsck-...

And a service:

    % system-control print-service-scripts monitor-fsck-progress
    start:#!/bin/nosh
    start:true
    stop:#!/bin/nosh
    stop:true
    run:#!/bin/nosh
    run:#local socket used for monitor-fsck-progress
    run:local-stream-socket-listen --systemd-compatibility --backlog 2 --mode 0644 /run/fsck.progress
    run:setsid
    run:setlogin -- daemon
    run:vc-get-tty console
    run:fdmove -c 4 2
    run:open-controlling-tty
    run:fdmove 2 4
    run:setuidgid -- daemon
    run:./service
    service:#!/bin/nosh
    service:#fsck combined progress information displayed on /dev/console
    service:monitor-fsck-progress
    restart:#!/bin/sh
    restart:exec false      # ignore script arguments
    %

There are no comments on this comment yet.