Changeset 11c2ae5 in mainline


Ignore:
Timestamp:
2008-08-09T09:46:43Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a35204
Parents:
12fc042
Message:

If mount() says ENOENT, don't attempt to mount the file system again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r12fc042 r11c2ae5  
    5858        while (rc < 0) {
    5959                rc = mount(fstype, "/", "initrd");
    60                
     60
    6161                switch (rc) {
    6262                case EOK:
     
    6868                case ELIMIT:
    6969                        printf(NAME ": Unable to mount root filesystem\n");
     70                        return false;
     71                case ENOENT:
     72                        printf(NAME ": Unknown filesystem type (%s)\n", fstype);
    7073                        return false;
    7174                default:
Note: See TracChangeset for help on using the changeset viewer.