Use the volname command of linux to display the device volume name
Editor to share with you the use of linux volname command display device volume name, I believe that most people do not know much, so share this article for you to learn, I hope you will learn a lot after reading this article, let's go to learn the method!
The volname command is used to display the volume name of a device in the specified "ISO-9660" format, which is usually an optical drive.
Syntax format: volname [parameters]
Common parameters:
Device device file name: specifies the device on which you want to display the volume name.
Reference example
Displays the volume label for the default device:
[root@linuxcool ~] # volname
Displays the volume label for the specified device:
[root@linuxcool ~] # volname / dec/sbd4 [root@linuxcool ~] # volname / linuxcool/test.iso is used to display all the contents of the device volume name using linux's volname command. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!