Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-10-2003, 12:13 AM   #1
theking
Nice Kitty
 
theking's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: The good old USA!!!
Posts: 21,053
Why two readings on folder size

Size: 346 MB (363,177,253 bytes)

Size on disk: 848 MB (889,651,200 bytes)
__________________
When you're running down my country hoss...you're walking on the fighting side of me!

FOR THE LYING LOWLIFE POSTING AS PATHFINDER...https://gfy.com/fucking-around-and-pr...athfinder.html
theking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2003, 12:15 AM   #2
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
Does the folder contain lots of little files?
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2003, 12:17 AM   #3
theking
Nice Kitty
 
theking's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: The good old USA!!!
Posts: 21,053
Quote:
Originally posted by NetRodent
Does the folder contain lots of little files?
Contains: 20,470 files, 1,406 folders
__________________
When you're running down my country hoss...you're walking on the fighting side of me!

FOR THE LYING LOWLIFE POSTING AS PATHFINDER...https://gfy.com/fucking-around-and-pr...athfinder.html
theking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2003, 12:31 AM   #4
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
There's your answer. You've got a lot of slack space. Disk space isn't allocated down the bit, its allocated in clusters (often between 1k to 32k in size). That means that even if you have a file that is smaller than your cluster size, the remainder of the cluster is unusable. For large files this isn't a problem as they'll fill several clusters competely and the last cluster partially. For small files, this can lead to very inefficient use of the disk.

If this is a problem, you might want to consider tar'ing/zipping the files or changing your file system around to use smaller clusters.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2003, 12:43 AM   #5
theking
Nice Kitty
 
theking's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: The good old USA!!!
Posts: 21,053
Quote:
Originally posted by NetRodent
There's your answer. You've got a lot of slack space. Disk space isn't allocated down the bit, its allocated in clusters (often between 1k to 32k in size). That means that even if you have a file that is smaller than your cluster size, the remainder of the cluster is unusable. For large files this isn't a problem as they'll fill several clusters competely and the last cluster partially. For small files, this can lead to very inefficient use of the disk.

If this is a problem, you might want to consider tar'ing/zipping the files or changing your file system around to use smaller clusters.
I assumed that was the reason but did not know for sure.

Another question when you upload to a server which would apply to allocated disk storage.

Size: 346 or
Size on disk: 848
__________________
When you're running down my country hoss...you're walking on the fighting side of me!

FOR THE LYING LOWLIFE POSTING AS PATHFINDER...https://gfy.com/fucking-around-and-pr...athfinder.html
theking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2003, 02:05 AM   #6
theking
Nice Kitty
 
theking's Avatar
 
Industry Role:
Join Date: Sep 2002
Location: The good old USA!!!
Posts: 21,053
Any answers to my last question?
__________________
When you're running down my country hoss...you're walking on the fighting side of me!

FOR THE LYING LOWLIFE POSTING AS PATHFINDER...https://gfy.com/fucking-around-and-pr...athfinder.html
theking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2003, 02:23 AM   #7
X37375787
Guest
 
Posts: n/a
it depends on the default allocation size. NTFS for example is 8KB, so even if you create a 1 Byte file, it will fill up 8KB. I dunno what *nix OSs have though.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2003, 02:56 AM   #8
mule
Confirmed User
 
mule's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: hamsterdam
Posts: 6,085
Quote:
Originally posted by theking
Any answers to my last question?
LOL, for a retired adult webmaster you sure know a lot about computers
__________________
Converting like a mofo
mule is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.