Skip to content

Instantly share code, notes, and snippets.

View graymouzer's full-sized avatar

Jeffrey Kendrick graymouzer

  • Greenville, SC
View GitHub Profile

Run mdadm - this command is used to manage and monitor software RAID devices in linux.

mdadm --detail /dev/md0 or md<N>

mount -t ext4 /dev/md0 /share/MD0_DATA

Check disks

mdadm --examine /dev/sdd3

@rprichard
rprichard / NamedPipeTest.cc
Last active July 3, 2025 13:47
Windows Named Pipe Test (Connection and Disconnection)
// Dedicated to the public domain as per the Creative Commons CC0
// (https://creativecommons.org/about/cc0/).
// Compile with C++11 (i.e. -std=c++11)
// Tests the behavior of Windows named pipes regarding the lifecycle of
// connections.
//
// This test demonstrates various ways that Wine (as of 1.9.12) differs from
// Windows: