eb42170e6c8b70f11dca9965785aa04a80290c72 |
|
25-Jun-2010 |
Kenny Root <kroot@google.com> |
Display file sizes larger than 2GB correctly File size was cast to a signed integer which displayed files over 2GB as negative sizes on devices. Use a long long for printing instead which matches the stat struct. Change-Id: I0ec07f33716bb4c2e5d120633ed435f637238f46
/system/core/toolbox/ls.c
|
9feee025a09ace19b09dbb41d6ba87198c77cdf1 |
|
28-Sep-2009 |
Andy McFadden <fadden@android.com> |
Fix up ls -s. Added the "total" line, which makes it easy to answer questions like, "how the hell much space am I wasting on /data/dalvik-cache?". Also fixed the -s filename output, which was showing mostly-full paths when a simple filename was called for.
/system/core/toolbox/ls.c
|
327e696808910f8e49370079f8d7f4db8cbe3820 |
|
18-Aug-2009 |
Andy McFadden <fadden@android.com> |
Added -s flag to ls. This may not be useful, and may actually be misleading since yaffs2 doesn't track the blocks used for each file (it just divides the length down by 512). I'm submitting it because yaffs2 isn't the only filesystem we'll ever use. I also changed some sprintf to snprintf, mostly out of paranoid habit.
/system/core/toolbox/ls.c
|
b33d3415b6c63f7b22e0863a2ac594feab9171cf |
|
09-Apr-2009 |
Andy McFadden <> |
AI 145220: Added "-d" flag to ls. Now you can "ls -l -d <directory>" to see directory perms. Automated import of CL 145220
/system/core/toolbox/ls.c
|
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/toolbox/ls.c
|
e54eebbf1a908d65ee8cf80bab62821c05666d70 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/toolbox/ls.c
|
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/system/core/toolbox/ls.c
|