Only root can read write /boot/grub2/grub.cfg
setfacl -m other::- grub.cfg
$ echo $SHELL /bin/sh |
D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptible sleep (waiting for an event to complete) T Stopped, either by a job control signal or because it is being traced. W paging (not valid since the 2.6.xx kernel) X dead (should never be seen) Z Defunct ("zombie") process, terminated but not reaped by its parent.
# while true; do date; ps auxf | awk '{if($8=="D") print $0;}'; sleep 1; done Tue Aug 23 20:03:42 CLT 2011 Tue Aug 23 20:03:43 CLT 2011 root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] Tue Aug 23 20:03:44 CLT 2011 Tue Aug 23 20:03:45 CLT 2011 Tue Aug 23 20:03:46 CLT 2011 ... Tue Aug 23 20:03:47 CLT 2011 Tue Aug 23 20:03:53 CLT 2011 Tue Aug 23 20:03:54 CLT 2011 root 302 0.0 0.0 0 0 ? D May22 2:58 \_ [kdmflush] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] Tue Aug 23 20:03:55 CLT 2011 Tue Aug 23 20:03:56 CLT 2011 Tue Aug 23 20:03:57 CLT 2011 Tue Aug 23 20:03:58 CLT 2011 Tue Aug 23 20:03:59 CLT 2011 root 302 0.0 0.0 0 0 ? D May22 2:58 \_ [kdmflush] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] Tue Aug 23 20:04:00 CLT 2011 Tue Aug 23 20:04:01 CLT 2011 Tue Aug 23 20:04:02 CLT 2011
# while true; do ps auxf | grep D | grep -E "(jbd2\/dm\.*|kdmflush)"; sleep 1; done root 302 0.0 0.0 0 0 ? D May22 2:58 \_ [kdmflush] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] root 302 0.0 0.0 0 0 ? D May22 2:58 \_ [kdmflush] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8] root 302 0.0 0.0 0 0 ? D May22 2:58 \_ [kdmflush] root 321 0.0 0.0 0 0 ? D May22 4:11 \_ [jbd2/dm-0-8]