Changeset 5930e3f in mainline for uspace/app/df/df.c
- Timestamp:
- 2013-07-09T06:06:37Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 951f32ce
- Parents:
- 11baebb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/df/df.c
r11baebb r5930e3f 59 59 mtab_ent_t *mtab_ent = list_get_instance(cur, mtab_ent_t, 60 60 link); 61 if (statfs(/*mtab_ent->mp*/ "/data", &st) < 0) 62 return 1; 63 61 statfs(mtab_ent->mp, &st); 62 printf("block size:%ld\n", st.f_bsize); 64 63 printf("%13s %15lld %9lld %9lld %3ld%% %s\n", 65 64 mtab_ent->fs_name, … … 67 66 (long long) st.f_bfree * st.f_bsize, 68 67 (long long) (st.f_blocks - st.f_bfree) * st.f_bsize, 69 PERCENTAGE(st.f_blocks - st.f_bfree, st.f_blocks),68 (st.f_blocks)?PERCENTAGE(st.f_blocks - st.f_bfree, st.f_blocks):0L, 70 69 mtab_ent->mp); 71 70 }
Note:
See TracChangeset
for help on using the changeset viewer.