Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-26-2006, 07:06 AM   #1
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
listing files and burning files - just a question

I'm a noobie. I'm burning a large file to a 700 MB disk and when I 'ls' the directory it says the file is 733 MB, but when I use the burning program it recognises the file length as being around 698 MB. Why the difference? Is the file actually taking up that amount of room on my hard drive, or is it mis-reported?
Old 11-26-2006, 07:29 AM   #2
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 446

Rep: Reputation: 38
did you use "ls -l" or "ls -lh" in the directory? The "h" makes it human readable.

Because I am thinking 698MB = 698 x 2^20 B = 731906048 B

(unless of course ls has started using the SI units for MB in which case 1 MB = 10^6 B and you should ignore me)

EDIT: Just looked it up in ls man page

1MB = 10^6
1M = 2^20

Using --si instead of -h will list everything in "proper" SI units

Last edited by Daws; 11-26-2006 at 07:38 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about burning video files to dvd. Rick069 Mandriva 8 11-16-2005 11:59 PM
listing all files of a certain user X-GhoSt Linux - General 1 10-22-2005 03:22 AM
listing files in to an array sujith_deva Programming 1 12-12-2004 02:14 PM
listing files in a directory Linh Programming 7 05-17-2004 04:35 AM
listing files in apache im1crazyassmofo Linux - Software 0 07-27-2003 05:05 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration