1 // SPDX-License-Identifier: GPL-2.0+
3 * cmd_fs_uuid.c -- fsuuid command
5 * Copyright (C) 2014, Bachmann electronic GmbH
12 static int do_fs_uuid_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
15 return do_fs_uuid(cmdtp, flag, argc, argv, FS_TYPE_ANY);
19 fsuuid, 4, 1, do_fs_uuid_wrapper,
20 "Look up a filesystem UUID",
21 "<interface> <dev>:<part>\n"
22 " - print filesystem UUID\n"
23 "fsuuid <interface> <dev>:<part> <varname>\n"
24 " - set environment variable to filesystem UUID\n"