Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 20, 2013, 12:41:48 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: SetBeginOfZone RoundUpToX - minimal gap size  (Read 1187 times)
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« on: May 02, 2009, 09:52:51 am »

RoundUpToX in SetBeginOfZone is very nice improvent, good job.

As far as I understand, SetBeginOfZone(RoundUpToMegabytes(500))  sets the gap size 0-500 MB, 
depending on where the previous zone ends. 

I think it could be useful to  set minimal gap size setting for these commands.
E.g.: by SetBeginOfZone(RoundUpToMegabytes(500,100))
I would add "But gap must have at least 100 MB".
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #1 on: May 02, 2009, 11:17:19 pm »

As far as I understand, SetBeginOfZone(RoundUpToMegabytes(500))  sets the gap size 0-500 MB, 
depending on where the previous zone ends.
Yes.

Quote
I think it could be useful to  set minimal gap size setting for these commands.
Thanks for sharing your idea, I appreciate it! You can already do something like that, by using 2 SetBeginOfZone commands together, like this:

Code:
SetBeginOfZone(RoundUpToMegabytes(500))
SetBeginOfZone(PlusMegabytes(100))
Logged
poutnik
JkDefrag Hero
*****
Posts: 1106


View Profile
« Reply #2 on: May 03, 2009, 01:52:35 am »

Good to know I can use more zone settings...
Logged

It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
ToolmakerSteve
JkDefrag Hero
*****
Posts: 53


View Profile
« Reply #3 on: May 04, 2009, 09:09:16 pm »

Quote
I think it could be useful to  set minimal gap size setting for these commands.
Thanks for sharing your idea, I appreciate it! You can already do something like that, by using 2 SetBeginOfZone commands together, like this:
Code:
SetBeginOfZone(RoundUpToMegabytes(500))
SetBeginOfZone(PlusMegabytes(100))

Jeroen, that is perfect!  I was concerned that this wonderful RoundUp feature would sometimes lead to a gap that was too small too allow for expected growth, so was about to chime in saying that Poutnik's feature suggestion was important to me too. The two commands together do just what I want!

I would even recommend changing your standard scripts to demonstrate that -- it is good to keep some minimum gap between zones.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!