Operating System - HP-UX
1838263 Members
4078 Online
110125 Solutions
New Discussion

Different sizes on UX and NT

 
Miguel Cuesta
Advisor

Different sizes on UX and NT

Hi!

I've been migrating files from HPUX to NT.

I've got HPUX 9.0 and NT 4.0 with Interdrive NFS installed on it.

If I check a UX folder's size from NT, I get e.g. 1,000 kbytes (right click > Properties). But after transferring data via FTP, if I check NT folder's size, I get 998 kbytes.

Is it normal?
1 REPLY 1
Bill Hassell
Honored Contributor

Re: Different sizes on UX and NT

Fairly normal. NT has very little in common with Unix and certainly the filesystems and utilities are completely different. If this involves ASCII files, the big difference between NT and Unix ASCII files (CR/LF versus LF) can be part of the problem. But the real question would require a detailed look at how the size is computed given the directory information presented to the utility doing the counting.

You can start with Kbytes: would that be 1K=1000 bytes or 1k=1024 bytes? (it does make a difference). We toss around Megs and Gigs but the exact number is a bit nebulous. There is no reason to expect an exact match until the method of measurement is accurately known.


Bill Hassell, sysadmin