Jump to content











Photo
- - - - -

Imdisk -p option can be dangerous with wrongly specified drive letter.


  • Please log in to reply
1 reply to this topic

#1 CienkiBolek

CienkiBolek
  • Members
  • 1 posts
  •  
    Poland

Posted 20 August 2013 - 06:28 PM

Hello.

 

First - my apologies for language problems. I am not native speaker so I can make some mistakes. If anything I have writte below is unclear - please tell.

 

System specs:

 

CPU: Core i5

MB:

RAM: 32G

OS: Windows 7 Pro 64 bit

ImDisk: Version 1.7.5 - (Compiled Jun 13 2013)

 

Now, the problem.

 

Today, on my disk-heavy system I plugged in my external HDD. I didnt notice that one partition took up the R letter. After running my batch file with the command:

@imdisk -a -p "/q /y" -o hd,fix -s 24G -m R:

ImDisk formatted R partition on my external HDD. (Epic facepalm). Fortunately I was able to recover all contents, though it took a little work.

 

However, I think that adding a check if the drive with specific letter exists would be good for fool-proofing the Imdisk.

 

Regards - Luke

 

 

PS. Thanks for a piece of really useful software - Running games from Ramdisk beats any flash SSD :)


Edited by CienkiBolek, 20 August 2013 - 06:32 PM.


#2 v77

v77

    Silver Member

  • Team Reboot
  • 602 posts
  •  
    France

Posted 21 August 2013 - 01:43 AM

About the dangerous commands, but without formatting, I just get something quite funny... In a command prompt (even without admin rights), enter the following commands (I assume that the created device has the number 0):

 

imdisk -a -m C: -s 100M

imdisk -D -u 0

 

And you can reboot your system, because you just have lose all access to the system volume. :P

(however, it only works if we force the unmounting with -u parameter)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users