Forum Topic - Creating a file in /dev folder: (3 Items)
   
Creating a file in /dev folder  
Hi

How to create a file in /dev directory ?

Currently, I am using QNX 6.4.1 installed on VMWare. 
For example /dev/sample with rw permission. it is a normal file.

I need this temporarly, I will not write any data in to this files. All I want is to run my Third party code I need to 
have a file in /dev folder.

please help me out as soon as possible.

Regads,
Ramakrishna
RE: Creating a file in /dev folder  
You might be able to use
http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/m/mknod.html

But if you are say porting something that needs some functionality with
it, then you'll need a resmgr which does a resmgr_attach
http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/r/resmgr_attac
h.html

Chris

-----Original Message-----
From: Rama Krishna [mailto:community-noreply@qnx.com] 
Sent: Monday, November 30, 2009 11:50 AM
To: general-filesystems
Subject: Creating a file in /dev folder

Hi

How to create a file in /dev directory ?

Currently, I am using QNX 6.4.1 installed on VMWare. 
For example /dev/sample with rw permission. it is a normal file.

I need this temporarly, I will not write any data in to this files. All
I want is to run my Third party code I need to have a file in /dev
folder.

please help me out as soon as possible.

Regads,
Ramakrishna



_______________________________________________

General
http://community.qnx.com/sf/go/post42865
RE: Creating a file in /dev folder  
Maybe a link in the process prefix tree with ln -P ?

> -----Original Message-----
> From: Chris Travis [mailto:community-noreply@qnx.com]
> Sent: Monday, November 30, 2009 1:08 PM
> To: general-filesystems
> Subject: RE: Creating a file in /dev folder
> 
> You might be able to use
> http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/m/mknod.html
> 
> But if you are say porting something that needs some functionality with
> it, then you'll need a resmgr which does a resmgr_attach
> http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/r/resmgr_atta
> c
> h.html
> 
> Chris
> 
> -----Original Message-----
> From: Rama Krishna [mailto:community-noreply@qnx.com]
> Sent: Monday, November 30, 2009 11:50 AM
> To: general-filesystems
> Subject: Creating a file in /dev folder
> 
> Hi
> 
> How to create a file in /dev directory ?
> 
> Currently, I am using QNX 6.4.1 installed on VMWare.
> For example /dev/sample with rw permission. it is a normal file.
> 
> I need this temporarly, I will not write any data in to this files. All
> I want is to run my Third party code I need to have a file in /dev
> folder.
> 
> please help me out as soon as possible.
> 
> Regads,
> Ramakrishna
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post42865
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post42872
>