HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

raw — Bind a Unix raw character device. More information: <https://manned.org/raw.8>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbindclicharacterunixdeviceraw
linux

Problem

How to use the raw command: Bind a Unix raw character device. More information: <https://manned.org/raw.8>.

Solution

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|--query --all]}}

Code Snippets

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|--query --all]}}

Context

tldr-pages: linux/raw

Revisions (0)

No revisions yet.