diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2019-02-13 12:15:26 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-09 20:04:03 -0400 |
commit | aaa12157c7d22132688ae97dcb35fc37f9ae88d5 (patch) | |
tree | 47db5d6ec45fe2ea156277afd48bf2f7b0c5e9b4 /include/fs.h | |
parent | 5efc0686eebc0c0daabfbfc2c403f8251b468526 (diff) | |
download | u-boot-aaa12157c7d22132688ae97dcb35fc37f9ae88d5.tar.gz u-boot-aaa12157c7d22132688ae97dcb35fc37f9ae88d5.tar.bz2 u-boot-aaa12157c7d22132688ae97dcb35fc37f9ae88d5.zip |
fs: Add a new command to create symbolic links
The command line is:
ln <interface> <dev[:part]> target linkname
Currently symbolic links are supported only in ext4 and only if the option
CMD_EXT4_WRITE is enabled.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index aa3604db8d..6854597700 100644 --- a/include/fs.h +++ b/include/fs.h @@ -191,6 +191,8 @@ int do_rm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], int fstype); int do_mkdir(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], int fstype); +int do_ln(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], + int fstype); /* * Determine the UUID of the specified filesystem and print it. Optionally it is |