What is the difference between the size of the same file or folder in linux and windows?
Source: Internet
Author: User
What is the difference between the size of the same file or folder in linux and windows? 1. the folder in window is not the size, and the folder in linux is the size 2. the file systems in the two systems may be different. blocksize may be different for different file systems. Blocksize is not the same, the file occupies the magnetic...
What is the difference between the size of the same file or folder in linux and windows? 1. the folder in window is not the size, and the folder in linux is the size 2. the file systems in the two systems may be different. blocksize may be different for different file systems. Blocksize is different, and the disk space occupied by files may be different. Command for viewing blocksize in different operating systems:
AIX: lsfs-q/u01 www.2cto.com Windows: fsutil fsinfo ntfsinfo c: Linux: tune2fs-l/dev/sda1 www.2cto.com 3. in windows and linux, the line breaks in text files are different. in windows, the line breaks are \ n \ r, and in linux are \ n. When you use FTP to transfer text files, line breaks are converted by default, resulting in inconsistent file sizes before and after transmission. 4. check whether the "File Size" refers to the file size or the disk space occupied by the file. The two concepts are different.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service