Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5643a04 in mainline


Ignore:
Timestamp:
2009-10-02T14:03:10Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
bbddafb
Parents:
8810c63
Message:

Cleanup of the file system servers' start up text messages.

Location:
uspace/srv/fs
Files:
3 edited

Legend:

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

    r8810c63 r5643a04  
    5151
    5252static vfs_info_t devfs_vfs_info = {
    53         .name = "devfs",
     53        .name = NAME,
    5454};
    5555
  • uspace/srv/fs/fat/fat.c

    r8810c63 r5643a04  
    4747#include "../../vfs/vfs.h"
    4848
     49#define NAME    "fat"
    4950
    5051vfs_info_t fat_vfs_info = {
    51         .name = "fat",
     52        .name = NAME,
    5253};
    5354
     
    8384        }
    8485       
    85         dprintf("VFS-FAT connection established.\n");
     86        dprintf(NAME ": connection opened\n");
    8687        while (1) {
    8788                ipc_callid_t callid;
     
    137138        int rc;
    138139
    139         printf("fat: HelenOS FAT file system server.\n");
     140        printf(NAME ": HelenOS FAT file system server\n");
    140141
    141142        rc = fat_idx_init();
     
    145146        vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
    146147        if (vfs_phone < EOK) {
    147                 printf("fat: failed to connect to VFS\n");
     148                printf(NAME ": failed to connect to VFS\n");
    148149                return -1;
    149150        }
     
    155156        }
    156157       
    157         dprintf("FAT filesystem registered, fs_handle=%d.\n",
    158             fat_reg.fs_handle);
    159 
     158        printf(NAME ": Accepting connections\n");
    160159        async_manager();
    161160        /* not reached */
     
    163162
    164163err:
    165         printf("Failed to register the FAT file system (%d)\n", rc);
     164        printf(NAME ": Failed to register file system (%d)\n", rc);
    166165        return rc;
    167166}
  • uspace/srv/fs/tmpfs/tmpfs.c

    r8810c63 r5643a04  
    5555
    5656vfs_info_t tmpfs_vfs_info = {
    57         .name = "tmpfs",
     57        .name = NAME,
    5858};
    5959
     
    9090        }
    9191       
    92         dprintf("VFS-TMPFS connection established.\n");
     92        dprintf(NAME ": connection opened\n");
    9393        while (1) {
    9494                ipc_callid_t callid;
Note: See TracChangeset for help on using the changeset viewer.