Browse Source

raw: add page (#6557)

CleanMachine1 3 years ago
parent
commit
c4f7f5a763
1 changed files with 16 additions and 0 deletions
  1. 16 0
      pages/linux/raw.md

+ 16 - 0
pages/linux/raw.md

@@ -0,0 +1,16 @@
+# raw
+
+> Bind a Unix raw character device.
+> More information: <https://manned.org/raw.8>.
+
+- Bind a raw character device to a block device:
+
+`raw /dev/raw/raw{{1}} {{/dev/block_device}}`
+
+- Query an existing binding instead of setting a new one:
+
+`raw /dev/raw/raw{{1}}`
+
+- Query all bound raw devices:
+
+`raw -qa`