Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the function of "none" in "mount -t debugfs none /sys/kernel/debug"?

From debugfs.txt, mount debugfs command is like this:

mount -t debugfs none /sys/kernel/debug

What is the function of none in this statement?

like image 671
Nan Xiao Avatar asked Oct 26 '25 19:10

Nan Xiao


1 Answers

That argument is a description of the device to be mounted. Typically this is a filename like /dev/sda1, but for mounts not associated with a device you can use an arbitrary name. none is just a conventional choice, you could just as easily use bacon or this_is_not_the_device_you_are_looking_for.

like image 63
TartanLlama Avatar answered Oct 29 '25 08:10

TartanLlama



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!