well JkDefrag 3.35 is out and i need to upgrade. this release now supports truecrypt drives etc. i'm going to be pretty busy this weekend so if someone possibly has both truecrypt and autoit installed and some free time on their hands maybe you could save me some time by telling me what autoit detects truecrypt drives as. you can use this script
$var = DriveGetDrive( "all" ) If NOT @error Then For $i = 1 to $var[0] MsgBox(4096,"Drive " & $i, $var[$i] & " is " & DriveGetType($var[$i])) Next EndIf
thanks a ton if you help me; if not then i'll figure it out eventually
even more easily, just
My Computer => Right click => Properties => Under Type:
Sorry Travis, I don't have Truecrypt
Edit: Used NeoRame's Portable, found the answer:
Local Disk. (Like the C: drive)
Insert original signature here with Greasemonkey Script.
In case you're like me an wanted to see the v3.35 changelog...here ya go...
Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!
Travis,
Either "Removeable" or "Fixed" depending on TrueCrypt's command option when the volume was mounted..
From the TrueCrypt User Guide:
/mountoption or /m rm or removeable: Mount volume as removeable medium
I checked it by prefacing your script with:
Run("TrueCrypt.exe /v L:\Tmp\TrueCryptVolA /p XXXX /l X /m rm /quit")
Run("TrueCrypt.exe /v L:\Tmp\TrueCryptVolB /p XXXX /l Y /quit")
Drive X was "Removeable" and drive Y was "Fixed".
Roger
hm... okay thanks! well do you have any clue how to distinguish between a truecrypt drive and a non-truecrypt drive?
Can you check the volume info? Perhaps a TrueCrypt volume has a specific serial number or something. If you can't detect it directly, don't worry about it.
Sometimes, the impossible can become possible, if you're awesome!
No, sorry. I tried using GetDriveSerial(drive) and it shows that there is nothing special about the serial number. Each TrueCrypt drive has different one. There isn't a regular AutoIt DriveGetFunction that can return anything that you can use but maybe there is a User Defined Function you could use, or someone could write one for you. I'd ask on the AutoIt forum.
I have a feeling though that there isn't anything as the TrueCrypt guys designed it to be transparent.
ok then. i was just trying to do it because someone said before that their truecrypt drive wasn't showing up in JkDefrag. i guess that's because their drive was mounted as removable. i guess it would be okay if i can't get removable mounted truecrypt drives to show up by default, but i'll still keep trying. can anyone confirm if truecrypt drives show up (just show up, not defrag) in the jkdefrag list or not? i guess i should just break down and find some extra drive somewhere to install truecrypt on.
Fixed Truecrypt drives show up in your JkDefrag Portable 3.4 window but Removeable ones do not. Reading your JkDefragUI.au3 source file I would expect this. If I Run JkDefrag Portable with /flash then the Removabe TrueCrypt volumes show up as well.
JkDefrag 3.6 is out BTW.