Digg this topic Add to my del.icio.us Submit to SlashDot  
Reply to this topicStart new topic
> (solved) REQ: set ramdrive as read-only at runtime?, without unmounting, or with minimal effort
Rasqual
post Jun 13 2007, 11:12 AM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 13-June 07
Member No.: 8,654


France


Hello,
Is it possible to set the read-only attribute to an already attached ramdisk?

My current solution is to save the ramdisk to an image file and mount that image as RO, which is not too bad I guess. It allows me to use the junctions (which point to existing partitions/paths) on that disk and to not risk having them altered. This is good because some utilities choke on junction points (some antivirii, for instance) and try to go into infinite loops.

Edit: Thanks Olof, that was really quick!
Go to the top of the page
 
+Quote Post
Olof Lagerkvist
post Jun 14 2007, 12:14 AM
Post #2


Advanced Member
***

Group: Developer
Posts: 120
Joined: 27-April 07
From: Borås, Sweden
Member No.: 6,234


Sweden


QUOTE (Rasqual @ Jun 13 2007, 01:12 PM) *
Hello,
Is it possible to set the read-only attribute to an already attached ramdisk?

Yes, I have added that possibility now. (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)

Example:
CODE
imdisk -e -o ro -m B:

This will change drive B: to read-only.
Go to the top of the page
 
+Quote Post
jaclaz
post Jun 14 2007, 06:00 AM
Post #3


Finder
***

Group: Advanced user
Posts: 1,581
Joined: 14-July 06
Member No.: 2


Italy


@Rasqual

Interesting idea! (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)

@Olof

VERY good (and prompt as always) work! (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)

jaclaz
Go to the top of the page
 
+Quote Post
« Next Oldest · ImDisk · Next Newest »
 

Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 27th February 2008 - 05:24 PM

MKPortal ©2003-2006 mkportal.it