Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the raw command of linux to bind the original character device to the block device

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux raw command to bind the original character device to the block device, the article is very detailed, has a certain reference value, interested friends must read it!

Raw is used to bind the Linux raw character device to the block device. Any block device can be used: the device driver does not even have to be accessible at binding time (it may later be loaded as a kernel module on demand).

Raw is used in two modes: it either sets raw device bindings or queries existing bindings. "when setting up raw devices, / dev/raw/raw is the device name of the existing raw device node in the file system." A block device bound to can be specified as the path name of an existing block device file by its primary and secondary device number or path name / dev/.

Syntax format: raw [parameters]

Common parameters:

Reference example

Query existing bindings:

[root@linuxcool] # raw-Q

Query all bound raw devices:

[root@linuxcool] # raw-a

Query help information:

[root@linuxcool ~] # raw-h above is all the contents of binding the original character device to the block device using linux's raw command. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report