I want a Ram disk to be mounted automatically with certain permissions at boot time.

From: LOEWENTHAL Simon (sloewenthal@gemini.edu)
Date: Sun Jul 10 2005 - 19:46:41 EDT


Dear all knowledgable folks,

Our Sol 8 system has to export a ramdisk to another system. I won't go
into the reasons why.

At boot time the system mounts the ramdisk:

swap - /ramdisk tmpfs - yes size=200m
/ramdisk on swap read/write/setuid/size=200m/dev=4 on Sun Jul 10
19:28:15 200

However, each time its mounted the default permissions are 755. I want
to have it mount the file system 777. Of course, I could achieve this
by adding a script in rc?.d to change the permissions, but this doesn't
help if the FS is remounted during the day. Does anyone know of a way
to solve this?

I suspect that it'll have to be done with a script that simply says:
chmod 777 /ramdisk !

Regards,
Simon.

-- 
ISG/Gemini/AURA
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:04 EDT