Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the volname command of linux to display the device volume name

Shulou Source: shulou.com Published: 2022-06-02 14:44:50 10月03日 Update

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!

Tags: Device name command format learning display device content parameter not much optical drive most learning method example common use file name article method more knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi OPPO Reno MySQL vpn