Changeset 75701004 in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.c


Ignore:
Timestamp:
2018-06-07T16:07:26Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
931afbc
Parents:
18ad56a8
Message:

use a TAR as the archive format for populating TMPFS root file system

Also remove the logic of populating a TMPFS file system from the TMPFS
file system driver. A more elegant separation of concerns is to populate
the file system from the client. This is now done by the init task (if
required) and should work universally for any file system.

File:
1 edited

Legend:

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

    r18ad56a8 r75701004  
    447447        assert(rc == EOK);
    448448        tmpfs_node_t *rootp = TMPFS_NODE(rootfn);
    449         if (str_cmp(opts, "restore") == 0) {
    450                 if (!tmpfs_restore(service_id))
    451                         return ELIMIT;
    452         }
    453449
    454450        *index = rootp->index;
Note: See TracChangeset for help on using the changeset viewer.