如何在Linux中创建虚拟设备? [英] How to create a virtual device in linux?

查看:480
本文介绍了如何在Linux中创建虚拟设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题与- 如何创建虚拟文件? 除了我想在Linux中代替它.我想我需要做的是创建一个虚拟设备并将应用程序日志记录指向该设备.如果可能的话,我想用python或ruby或其他解释方式编写设备.

My question is pretty much the same as - How to create a virtual file? except I want to do it in Linux instead. I imagine what I need to do is create a virtual device and point the application logging to that device. I'd like to write the device in python or ruby or something else interpreted, if possible.

推荐答案

检出命名管道 http://en.wikipedia.org/wiki/Named_pipe

这篇关于如何在Linux中创建虚拟设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆