ramdisk

Hello,

I have a SUN with Solaris 9.

I now allready how to create a ramdisk because I found the following link: http://docs.sun.com/app/docs/doc/817-0690/6mgflntjs?a=view

This works fine, but on the ramdisk I have only one file (the name of the ramdisk).

When I copy different files to the ramdisk I only can still see this one file (the name of the ramdisk) and the files which I have copied to the ramdisk will be added to this file.

Now my questions:

1. How can I access only a specific copied file?

2. How can normal users (not root) read the ramdisk? Must I only change the permissions.

Hopefully you can help me.

Thanks a lot.

best regards,

Christoph

[728 byte] By [chrisidc] at [2007-11-26 8:55:04]
# 1

Disclaimer -- I don't know much about ramdisks...but here goes:

how are you mounting your ramdisk device?

IIUIC, it has to be mounted as a filesystem in order for you to see it's contents or to be able to read/write to/from it. Simply copying something to the devicefile itself will not work -- you'll prbly end up clobbering the device file.

implicate_order at 2007-7-6 22:52:08 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Which file format must be used to mount? jfs, ufs ?
chrisidc at 2007-7-6 22:52:08 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

Check this out:

http://translate.google.com/translate?hl=en&sl=fr&u=http://www.sunwizar d.net/html/articles/vr002.html&sa=X&oi=translate&resnum=2&ct=res ult&prev=/search%3Fq%3Dmounting%2Bramdisks%2Bon%2Bsolaris%26hl%3Den%26lr%3D% 26rls%3DGGGL,GGGL:2006-14,GGGL:en

It's a translated page from the original Frech source. It shows how you can use RAMDISK devices. The Filesystem is UFS (you'd newfs the device)

implicate_order at 2007-7-6 22:52:08 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...