Changeset 75701004 in mainline for uspace/srv/fs/tmpfs


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.

Location:
uspace/srv/fs/tmpfs
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/Makefile

    r18ad56a8 r75701004  
    3535SOURCES = \
    3636        tmpfs.c \
    37         tmpfs_ops.c \
    38         tmpfs_dump.c
     37        tmpfs_ops.c
    3938
    4039include $(USPACE_PREFIX)/Makefile.common
  • uspace/srv/fs/tmpfs/tmpfs.h

    r18ad56a8 r75701004  
    7474
    7575extern bool tmpfs_init(void);
    76 extern bool tmpfs_restore(service_id_t);
    7776
    7877#endif
  • 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.