Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 046f342 in mainline


Ignore:
Timestamp:
2009-05-08T11:10:34Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
54a6ff6
Parents:
66b430e
Message:

Add a primitive 'mv' command. This 'mv' is a mere wrapper around rename() and
as such cannot move files across file systems and doesn't work on FAT (because
FAT does not support hardlinks).

Location:
uspace/app/bdsh
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/Makefile

    r66b430e r046f342  
    5858        cmds/modules/sleep/ \
    5959        cmds/modules/cp/ \
     60        cmds/modules/mv/ \
    6061        cmds/modules/kcon/ \
    6162        cmds/builtins/ \
     
    7374        cmds/modules/sleep/sleep.c \
    7475        cmds/modules/cp/cp.c \
     76        cmds/modules/mv/mv.c \
    7577        cmds/modules/kcon/kcon.c \
    7678        cmds/builtins/exit/exit.c \
  • uspace/app/bdsh/cmds/modules/module_aliases.h

    r66b430e r046f342  
    1313
    1414char *mod_aliases[] = {
     15        "ren", "mv",
    1516        NULL, NULL
    1617};
  • uspace/app/bdsh/cmds/modules/modules.h

    r66b430e r046f342  
    2727#include "sleep/entry.h"
    2828#include "cp/entry.h"
     29#include "mv/entry.h"
    2930#include "kcon/entry.h"
    3031
     
    4344#include "sleep/sleep_def.h"
    4445#include "cp/cp_def.h"
     46#include "mv/mv_def.h"
    4547#include "kcon/kcon_def.h"
    4648        {NULL, NULL, NULL, NULL}
Note: See TracChangeset for help on using the changeset viewer.