Lines Matching refs:shell_error

147 		shell_error(sh, "%s doesn't exist", path);  in cmd_cd()
152 shell_error(sh, "%s is not a directory", path); in cmd_cd()
179 shell_error(sh, "Unable to open %s (err %d)", path, err); in cmd_ls()
188 shell_error(sh, "Unable to read directory"); in cmd_ls()
230 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_trunc()
236 shell_error(sh, "Failed to truncate %s (%d)", path, err); in cmd_trunc()
254 shell_error(sh, "Error creating dir[%d]", err); in cmd_mkdir()
270 shell_error(sh, "Failed to remove %s (%d)", path, err); in cmd_rm()
297 shell_error(sh, "Failed to open %s (%d)", path_src, err); in cmd_cp()
304 shell_error(sh, "Failed to open %s (%d)", path_dst, err); in cmd_cp()
312 shell_error(sh, "Failed to read %s (%d)", path_src, (int)buf_len); in cmd_cp()
322 shell_error(sh, "Failed to write %s (%d)", path_dst, (int)num_written); in cmd_cp()
327 shell_error(sh, "Failed to write %s", path_dst); in cmd_cp()
336 shell_error(sh, "Failed to close %s", path_dst); in cmd_cp()
343 shell_error(sh, "Failed to close %s", path_src); in cmd_cp()
379 shell_error(sh, "Failed to obtain file %s (err: %d)", path, err); in cmd_read()
384 shell_error(sh, "Not a file %s", path); in cmd_read()
393 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_read()
400 shell_error(sh, "Failed to seek %s (%d)", path, err); in cmd_read()
439 shell_error(sh, "Failed to read from file %s (err: %zd)", path, read); in cmd_read()
463 shell_error(sh, "Failed to obtain file %s (err: %d)", path, err); in cmd_cat()
468 shell_error(sh, "Not a file %s", path); in cmd_cat()
474 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_cat()
490 shell_error(sh, "Failed to read from file %s (err: %zd)", path, read); in cmd_cat()
509 shell_error(sh, "Failed to statvfs %s (%d)", path, err); in cmd_statvfs()
533 shell_error(sh, "Missing argument"); in cmd_write()
547 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_write()
557 shell_error(sh, "Failed to seek %s (%d)", path, err); in cmd_write()
569 shell_error(sh, "Failed to write %s (%d)", path, err); in cmd_write()
634 shell_error(sh, "Missing parameters: read_test <path> <repeat>"); in cmd_read_test()
642 shell_error(sh, "<repeat> must be between 1 and 10."); in cmd_read_test()
649 shell_error(sh, "File status failed: %d", err); in cmd_read_test()
654 shell_error(sh, "Provided path is not a file"); in cmd_read_test()
668 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_read_test()
677 shell_error(sh, "Failed to read %s (%d)", path, err); in cmd_read_test()
694 shell_error(sh, "File read error, expected %d bytes but only read %d", size, in cmd_read_test()
725 shell_error(sh, "Missing parameters: erase_write_test <path> <size> <repeat>"); in cmd_erase_write_test()
734 shell_error(sh, "<size> must be at least 1."); in cmd_erase_write_test()
739 shell_error(sh, "<repeat> must be between 1 and 10."); in cmd_erase_write_test()
756 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_erase_write_test()
768 shell_error(sh, "Failed to delete %s (%d)", path, err); in cmd_erase_write_test()
774 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_erase_write_test()
778 shell_error(sh, "Failed to truncate %s (%d)", path, err); in cmd_erase_write_test()
794 shell_error(sh, "Failed to write %s (%d)", path, err); in cmd_erase_write_test()
839 shell_error(sh, "Failed to allocate buffer for mount point"); in cmd_mount_fat()
846 shell_error(sh, "Error mounting FAT fs. Error Code [%d]", res); in cmd_mount_fat()
868 shell_error(sh, "Failed to allocate mount point"); in cmd_mount_littlefs()
877 shell_error(sh, "Error mounting as littlefs: %d", rc); in cmd_mount_littlefs()