code: func (u *volumeUtil) IsBlock(fullPath string) (bool, error) {
  	var st unix.Stat_t
  	err := unix.Stat(fullPath, &st)
  	if err != nil {
  		return false, err
  	}
  
  	return (st.Mode & unix.S_IFMT) == unix.S_IFBLK, nil
  }
docs: // IsBlock checks if the given path is a block device