Changeset a4b4b47 in mainline for uspace/srv/fs/tmpfs/tmpfs.c


Ignore:
Timestamp:
2008-06-03T15:11:15Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6a7f6b8
Parents:
536ec42
Message:

initialize tmpfs from RAM disk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs.c

    r536ec42 ra4b4b47  
    5050#include <libfs.h>
    5151#include "../../vfs/vfs.h"
     52
     53#define NAME "tmpfs"
    5254
    5355
     
    133135        int vfs_phone;
    134136
    135         printf("TMPFS: HelenOS TMPFS file system server.\n");
     137        printf(NAME ": HelenOS TMPFS file system server\n");
    136138
    137139        vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);
     
    145147            tmpfs_connection);
    146148        if (rc != EOK) {
    147                 printf("Failed to register the TMPFS file system (%d)\n", rc);
     149                printf(NAME ": Failed to register file system (%d)\n", rc);
    148150                return rc;
    149151        }
    150152       
    151         dprintf("TMPFS filesystem registered, fs_handle=%d.\n",
    152             tmpfs_reg.fs_handle);
    153 
     153        printf(NAME ": Accepting connections\n");
    154154        async_manager();
    155155        /* not reached */
Note: See TracChangeset for help on using the changeset viewer.