Changeset ca127f37 in mainline for uspace/srv/volsrv/volsrv.c


Ignore:
Timestamp:
2024-09-07T18:33:36Z (2 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
de4f165
Parents:
e90019d
Message:

Persist volume configuration

File:
1 edited

Legend:

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

    re90019d rca127f37  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5353#define NAME  "volsrv"
    5454
    55 const char *vol_cfg_file = "/cfg/volsrv.sif";
     55const char *vol_icfg_file = "/cfg/initvol.sif";
     56const char *vol_cfg_file = "/w/cfg/volsrv.sif";
    5657
    5758static void vol_client_conn(ipc_call_t *, void *);
     
    6667        log_msg(LOG_DEFAULT, LVL_DEBUG, "vol_init()");
    6768
    68         rc = vol_volumes_create(vol_cfg_file, &volumes);
     69        rc = vol_volumes_create(vol_icfg_file, &volumes);
    6970        if (rc != EOK)
    7071                goto error;
Note: See TracChangeset for help on using the changeset viewer.