mount: print backingstore instead of dev_name
When printing the devices on which a path is mounted the backingstore is the interesting thing, not dev_name. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ecb3aaa23b
commit
00d996c942
|
@ -39,7 +39,7 @@ static int do_mount(int argc, char *argv[])
|
|||
if (argc == 1) {
|
||||
for_each_fs_device(fsdev) {
|
||||
printf("%s on %s type %s\n",
|
||||
fsdev->parent_device ? dev_name(fsdev->parent_device) : "none",
|
||||
fsdev->backingstore ? fsdev->backingstore : "none",
|
||||
fsdev->path,
|
||||
fsdev->dev.name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue