Changes in / [dc0b964:b89e1d3] in mainline


Ignore:
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.common

    rdc0b964 rb89e1d3  
    9797        $(USPACE_PATH)/srv/fs/tmpfs/tmpfs \
    9898        $(USPACE_PATH)/srv/fs/fat/fat \
     99        $(USPACE_PATH)/srv/fs/pipefs/pipefs \
    99100        $(USPACE_PATH)/srv/taskmon/taskmon \
    100101        $(USPACE_PATH)/srv/hw/netif/dp8390/dp8390 \
  • uspace/Makefile

    rdc0b964 rb89e1d3  
    7070        srv/fs/tmpfs \
    7171        srv/fs/devfs \
     72        srv/fs/pipefs \
    7273        srv/hid/adb_mouse \
    7374        srv/hid/char_mouse \
  • uspace/app/bdsh/cmds/modules/mount/mount.c

    rdc0b964 rb89e1d3  
    4444{
    4545        static char helpfmt[] =
    46             "Usage:  %s <fstype> <mp> <dev> [<moptions>]\n";
     46            "Usage:  %s <fstype> <mp> [dev] [<moptions>]\n";
    4747        if (level == HELP_SHORT) {
    4848                printf("'%s' mounts a file system.\n", cmdname);
     
    5959        unsigned int argc;
    6060        const char *mopts = "";
     61        const char *dev = "";
    6162        int rc;
    6263
    6364        argc = cli_count_args(argv);
    6465
    65         if ((argc < 4) || (argc > 5)) {
     66        if ((argc < 3) || (argc > 5)) {
    6667                printf("%s: invalid number of arguments.\n",
    6768                    cmdname);
    6869                return CMD_FAILURE;
    6970        }
     71        if (argc > 3)
     72                dev = argv[3];
    7073        if (argc == 5)
    7174                mopts = argv[4];
    7275
    73         rc = mount(argv[1], argv[2], argv[3], mopts, 0);
     76        rc = mount(argv[1], argv[2], dev, mopts, 0);
    7477        if (rc != EOK) {
    7578                printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n",
Note: See TracChangeset for help on using the changeset viewer.