In Linux kernel 2.6, bdev (special) filesystem is used to keep track of block_device vs major/minor mapping - block_device.bd_inode points to an inode in the bdev filesystem. The bd_inode field is still referenced in many places in kernel 5.3,

  1. is bd_inode still pointing to inode of the bdev fs?

  2. is there a way to mount this bdev fs or use some command to visualize this fs? the lsblk command goes to sysfs rather than bdev according to man page.

  3. where does the code for bdev lives?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.