From aaa12157c7d22132688ae97dcb35fc37f9ae88d5 Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Wed, 13 Feb 2019 12:15:26 +0100 Subject: fs: Add a new command to create symbolic links The command line is: ln 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 Reviewed-by: Tom Rini --- include/fs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/fs.h') diff --git a/include/fs.h b/include/fs.h index aa3604db8dc..6854597700f 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 -- cgit