Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Folder creation in /dev/shmem: (4 Items)
   
Folder creation in /dev/shmem  
Hi,

I'm not able to create a folder in /dev/shmem. But, if I untar a file which has folder structure in it, then a folder 
gets created in /dev/shmem.

Is it possible to create folder in /dev/shmem? 

Regards,
Lakshminarayanan
RE: Folder creation in /dev/shmem  
Lakshminarayanan,

In general, the RAM filesystem built into the process manager doesn't
support directory creation.
More information here:
http://www.qnx.com/developers/docs/6.4.1/neutrino/user_guide/fsystems.ht
ml#RAM

The answer to you question is thus no.

I'm not sure what you are doing or what the results you report with
regards to untarring and a folder being created in /dev/shmem...

Regards,

Eric 

> -----Original Message-----
> Hi,
> 
> I'm not able to create a folder in /dev/shmem. But, if I 
> untar a file which has folder structure in it, then a folder 
> gets created in /dev/shmem.
> 
> Is it possible to create folder in /dev/shmem? 
> 
> Regards,
> Lakshminarayanan
RE: Folder creation in /dev/shmem  
Hi Eric,

The below elucidates what I do:

tar -czf test.tgz temp/* (temp is a sample folder)
cp test.tgz /dev/shmem
tar -xzf test.tgz

This results in a folder "temp" with its files in /dev/shmem.

Regards,
Lakshminarayanan

-----Original Message-----
From: Eric Fausett [mailto:community-noreply@qnx.com] 
Sent: Monday, October 05, 2009 11:11 AM
To: momentics-community
Subject: RE: Folder creation in /dev/shmem

Lakshminarayanan,

In general, the RAM filesystem built into the process manager doesn't support directory creation.
More information here:
http://www.qnx.com/developers/docs/6.4.1/neutrino/user_guide/fsystems.ht
ml#RAM

The answer to you question is thus no.

I'm not sure what you are doing or what the results you report with regards to untarring and a folder being created in /
dev/shmem...

Regards,

Eric 

> -----Original Message-----
> Hi,
> 
> I'm not able to create a folder in /dev/shmem. But, if I untar a file 
> which has folder structure in it, then a folder gets created in 
> /dev/shmem.
> 
> Is it possible to create folder in /dev/shmem? 
> 
> Regards,
> Lakshminarayanan



_______________________________________________

QNX Momentics Community Support
http://community.qnx.com/sf/go/post39341


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
RE: Folder creation in /dev/shmem  
Lakshminarayanan,

That's interesting and strange.  I hope someone else with more knowledge
on this might comment on your result.

All I know is that the RAM filesystem implemented in the process manager
and usually exposed as /dev/shmem isn't a normal filesystem.  It also
doesn't support the creation of directories.  All this is detailed in
the documentation link I gave you earlier.  I hope you find it useful.

Regards,

Eric 

> -----Original Message-----
> Hi Eric,
> 
> The below elucidates what I do:
> 
> tar -czf test.tgz temp/* (temp is a sample folder) cp 
> test.tgz /dev/shmem tar -xzf test.tgz
> 
> This results in a folder "temp" with its files in /dev/shmem.
> 
> Regards,
> Lakshminarayanan