commit | 327e696808910f8e49370079f8d7f4db8cbe3820 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Tue Aug 18 11:10:03 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Tue Aug 18 11:10:03 2009 -0700 |
tree | e951d18a3c137e293079b3d44b7f54a67ced5876 | |
parent | 7f5b1a2b317874a9009d20ed4d3789a7cb508ca4 [diff] |
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.