Changeset 66366470 in mainline for uspace/srv/vfs


Ignore:
Timestamp:
2013-07-04T18:55:31Z (12 years ago)
Author:
Manuele Conti <conti.ma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9dc6083
Parents:
d8b47eca
Message:

Start to implement df command line tool.

Location:
uspace/srv/vfs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.c

    rd8b47eca r66366470  
    130130                        vfs_get_mtab(callid, &call);
    131131                        break;
     132                case VFS_IN_STATFS:
     133                        vfs_statfs(callid, &call);
     134                        break;
    132135                default:
    133136                        async_answer_0(callid, ENOTSUP);
  • uspace/srv/vfs/vfs.h

    rd8b47eca r66366470  
    222222extern void vfs_wait_handle(ipc_callid_t, ipc_call_t *);
    223223extern void vfs_get_mtab(ipc_callid_t, ipc_call_t *);
     224extern void vfs_statfs(ipc_callid_t, ipc_call_t *);
    224225
    225226#endif
  • uspace/srv/vfs/vfs_ops.c

    rd8b47eca r66366470  
    14181418}
    14191419
     1420void vfs_statfs(ipc_callid_t rid, ipc_call_t *request)
     1421{
     1422        long long reply;
     1423
     1424        /* Get information about fs */
     1425        reply = 512;
     1426        async_answer_1(rid, EOK, reply);
     1427}
     1428
    14201429/**
    14211430 * @}
Note: See TracChangeset for help on using the changeset viewer.