Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Byte size discrepancy in Copy

Byte size discrepancy in Copy
Thread Tools
Mac Elite
Join Date: Sep 2000
Status: Offline
Reply With Quote
Sep 9, 2003, 06:00 AM
 
Hello!

I just made a backup of my home folder by simply dragging it to another (external) drive. Now, both report the same size in GBs, but the byte size is not the same in both.

Both drives are the same size and formatted with HFS+. I encountered no error messages or permission problems. So, what could be causing this discrepancy? Shouldn't both copies be exactly the same size?
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Sep 9, 2003, 01:28 PM
 
Your home folder is constantly being updated as you use it, i.e. prefs, caches, etc. So, descrepency between the folders is likely and will grow as time goes by.
Vandelay Industries
     
Gamoe  (op)
Mac Elite
Join Date: Sep 2000
Status: Offline
Reply With Quote
Sep 9, 2003, 02:48 PM
 
Originally posted by Art Vandelay:
Your home folder is constantly being updated as you use it, i.e. prefs, caches, etc. So, descrepency between the folders is likely and will grow as time goes by.
I understand that, but is it common even when comparing the folders right after copying?
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Sep 9, 2003, 03:01 PM
 
Originally posted by Gabriel Morales:
I understand that, but is it common even when comparing the folders right after copying?
It can be. The simple act of copying makes changes to the Finder prefs. Other processes can be making changes to prefs, caches, etc. too even during the copy.
Vandelay Industries
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Sep 9, 2003, 03:57 PM
 
1. Invisible files.
2. Are you comparing the "on disk" size or the size in parentheses? The first value is variable depending on the block size of the drive.

tooki
     
Gamoe  (op)
Mac Elite
Join Date: Sep 2000
Status: Offline
Reply With Quote
Sep 9, 2003, 08:50 PM
 
Originally posted by tooki:
1. Invisible files.
2. Are you comparing the "on disk" size or the size in parentheses? The first value is variable depending on the block size of the drive.

tooki
Right. As I said, the drives seem to be of exactly the same capacity and both are formatted in HFS+. So, both drives should have the same block size, right? Or, are there other variables here I haven't accounted for?


Perhaps its just what Art says, and it was just an updated file or two.
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Sep 9, 2003, 11:08 PM
 
It could be that, or could be invisible files. I'm not yet sure what the Finder's behavior is when copying folders that contain invisible files.

tooki
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Sep 9, 2003, 11:14 PM
 
Originally posted by tooki:
It could be that, or could be invisible files. I'm not yet sure what the Finder's behavior is when copying folders that contain invisible files.

tooki
It copies all files within folders, including invisible files.
Vandelay Industries
     
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status: Offline
Reply With Quote
Sep 9, 2003, 11:20 PM
 
Having two disks of the same size with the same partition map, and each partition having the same filesystem type (eg, HFS+) does not necessarily mean the same block size.

Chances are that if they were both formatted using defaults, then they will have the same block size. The block size, number of iNodes, superblocks (in UFS, at least), etc, are set when the filesystem is created, and is not necessarily related to the size of the disk (although the defaults for HFS+ are usually determined according to the size of the disk by Apple).
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:25 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2