Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-22-2004, 06:20 PM   #1 (permalink)
 
Newb Techie

Join Date: Apr 2004

Posts: 4

nainil

Default Linux Windows File System

Hi,

Why is the Linux & Windows File system different.

I really can't figure out why one file in windows shows different file size while in Linux shows different.

Thanks.
Nainil.
Web Hosting Philadelphia
nainil is offline  
Old 04-22-2004, 07:44 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

Depends on how the file size is calculated......1024bytes=1k or something else, sometimes its rounded off.The node size on the file system would also affect what the filesize is I would imagine, not positive on that, but I think thats the case.

I know that in linux for every magnitude of change with the file size the difference tween how big a file is in actual bytes vs whats reported with ls -l for example changes.just like the difference tween df -m and df will produce a diffrent reported size.
horndude is offline  
Old 04-23-2004, 02:16 PM   #3 (permalink)
HoLoCroN's Avatar
 
Monster Techie

Join Date: Mar 2004

Location: Plant City, FL

Posts: 1,304

HoLoCroN is on a distinguished road

Default

The file systems show different file sizes because they handle the data clusters differently.

For example, windows uses FAT16/32/NTFS which all handle data differently.

That is why if you have a 60GB HDD and you check to see how much space it has, the OS says 59.2GB Capacity.

Linus has a great advantage over windows in this category because some people just like to play with file systems to tune them for better performance (e.g.- reiserfs). A notable application area where improved performance is particularly valuable is that of news processing. News involves ``lots and lotsa tiny files,'' which tends to be challenging to handle.

Something that you can't do with a Windows machine.
HoLoCroN is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting 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