Hacking can you defrag a WBFS hdd?

AllWiidUp

Well-Known Member
Newcomer
Joined
Dec 17, 2008
Messages
84
Trophies
0
XP
31
Country
Canada
vettacossx said:
So just a curiosity but would it hurt or can i defrag my western digital book? will it help keep my drive in check? does it even need to be done? thanks guys...


I'm not sure if someone wrote a defrag yet, but it's relatively simple. It has to be part of libwbfs or one of the tools, windows/linux defrag utils won't work as they don't understand wbfs.
 

vettacossx

Wii Theme Team Founder
OP
Member
Joined
Sep 19, 2008
Messages
1,330
Trophies
0
Location
Right Behind You! Uh Oh!
XP
217
Country
Thanks!....Ill be patient then thanks for the info
smile.gif
 

mmik

Active Member
Newcomer
Joined
Apr 2, 2009
Messages
35
Trophies
0
XP
192
Country
United States
Last I heard there was no way, and that's why you don't want to delete any games you've installed. It'll screw up a bunch of your games the next time you install one.
 

Darkzero51521

Well-Known Member
Member
Joined
Mar 30, 2009
Messages
174
Trophies
0
XP
14
Country
United States
Defrag is a windows thing. Theres no defrag for Mac or Linux. Defrag's are just needed for windows, i highly doubt it'd be needed in WBFS.
 

mmik

Active Member
Newcomer
Joined
Apr 2, 2009
Messages
35
Trophies
0
XP
192
Country
United States
It's very much needed. If you delete a game, it leaves a space where the game was. If you try to install a game that's bigger than that empty space, it'll overwite some of the next game on the HDD.
 

jwcgator

Well-Known Member
Member
Joined
May 10, 2007
Messages
141
Trophies
0
Age
32
Website
Visit site
XP
159
Country
United States
Actually, the problem with deleting games was some incorrect code in the source code for libwbfs. From what I understood, when it deleted a game it deleted the game + 1 byte or block or something, essentially screwing up the game that came after it on the Hard Drive. It's fixed in WBFS Manager 2.2 and USB loader 1.4
 

raptor5001

Well-Known Member
Newcomer
Joined
Aug 4, 2006
Messages
58
Trophies
1
XP
370
Country
United States
^Yeah that sounds about right, I think.

WBFS doesn't fragment its files, so there is no way to defrag it. What people are speaking of (the free space gaps) would be corrected with a compactor, not a defragger.
 

jesterscourt

Not Brad.
Member
Joined
Jan 3, 2007
Messages
2,356
Trophies
1
XP
1,310
Country
United States
So forgive me for asking the obvious, but say we formatted the HDD back during 1.1 or so, if have the latest loader is it now safe to remove games?
 

dodol

Well-Known Member
Member
Joined
Sep 24, 2007
Messages
173
Trophies
1
XP
346
Country
United States
^if you didn't delete any of your games during 1.1->1.3, you don't even need to perform anythings. the problem is with delete function not format function.
 

ajd4096

Well-Known Member
Member
Joined
Feb 17, 2009
Messages
179
Trophies
1
XP
562
Country
Darkzero51521 said:
Defrag is a windows thing. Theres no defrag for Mac or Linux. Defrag's are just needed for windows, i highly doubt it'd be needed in WBFS.
Defrag ain't just a windows thang.

ext/ffs based file systems do suffer from defragmentation, just not as much as FAT.
There are defrag tools available, but it is usually faster/safer just to dump/restore.

WBFS does not (currently) fragment files per se, but can end up with fragmented free space if you were to repeatedly add/delete games.

I expect there will be some sort of cleanup tool available sooner or later; I also expect the loader to be modified to use other file-systems.
I am not taking bets as to which happens first.
 

raptor5001

Well-Known Member
Newcomer
Joined
Aug 4, 2006
Messages
58
Trophies
1
XP
370
Country
United States
Okay, well let's say that defrag is a Windows problem then. Defragging programs for Mac or Linux do exist, but they are near useless, because if you have fragmentation on your HFS+ or ext2/3 drive, it means it's close to being full. Because of the way those filesystems work, they only fragment files when absolutely necessary, which makes the results of defragging them unnoticeable. Defragging ext2/3 or HFS+ could arguably actually hurt performance in several ways. It's best to just let those filesystems do their job, haha. For a quick primer, check out this: http://geekblog.oneandoneis2.org/index.php...d_defragmenting
 

antiaverage

Well-Known Member
Member
Joined
Apr 1, 2008
Messages
318
Trophies
1
XP
189
Country
United States
raptor5001 said:
Okay, well let's say that defrag is a Windows problem then. Defragging programs for Mac or Linux do exist, but they are near useless, because if you have fragmentation on your HFS+ or ext2/3 drive, it means it's close to being full. Because of the way those filesystems work, they only fragment files when absolutely necessary, which makes the results of defragging them unnoticeable. Defragging ext2/3 or HFS+ could arguably actually hurt performance in several ways. It's best to just let those filesystems do their job, haha. For a quick primer, check out this: http://geekblog.oneandoneis2.org/index.php...d_defragmenting

For Mac fragmentation info:
http://osxbook.com/book/bonus/chapter12/hf...gmentation.html
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    jdhello
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    K3Nv2 @ K3Nv2: Free release can have loopholes where they still make money through ads