Subversion Repositories HelenOS

Rev

Rev 2953 | Rev 3253 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2953 Rev 3110
Line 556... Line 556...
556
    .plb_get_char = fat_plb_get_char,
556
    .plb_get_char = fat_plb_get_char,
557
    .is_directory = fat_is_directory,
557
    .is_directory = fat_is_directory,
558
    .is_file = fat_is_file
558
    .is_file = fat_is_file
559
};
559
};
560
 
560
 
-
 
561
void fat_mounted(ipc_callid_t rid, ipc_call_t *request)
-
 
562
{
-
 
563
    dev_handle_t dev_handle = (dev_handle_t) IPC_GET_ARG1(*request);
-
 
564
    int rc;
-
 
565
 
-
 
566
    rc = fat_idx_init_by_dev_handle(dev_handle);
-
 
567
    if (rc != EOK) {
-
 
568
        ipc_answer_0(rid, rc);
-
 
569
        return;
-
 
570
    }
-
 
571
 
-
 
572
    ipc_answer_0(rid, EOK);
-
 
573
}
-
 
574
 
-
 
575
void fat_mount(ipc_callid_t rid, ipc_call_t *request)
-
 
576
{
-
 
577
    ipc_answer_0(rid, ENOTSUP);
-
 
578
}
-
 
579
 
561
void fat_lookup(ipc_callid_t rid, ipc_call_t *request)
580
void fat_lookup(ipc_callid_t rid, ipc_call_t *request)
562
{
581
{
563
    libfs_lookup(&fat_libfs_ops, fat_reg.fs_handle, rid, request);
582
    libfs_lookup(&fat_libfs_ops, fat_reg.fs_handle, rid, request);
564
}
583
}
565
 
584