Re: minor ID for btrfs-control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo, Goffredo,

Du meintest am 03.04.11:

>>> As wrote by Tomasz the minor number of the btrfs-control is
>>> allocated dynamically.

>> At which place?

> I replied you too fast. Btrfs register a "misc" device, but its
> number is not dynamically allocated (see [1] for further
> information), but it is static.

> $ grep BTRFS_MINOR -r include/
> include/linux/miscdevice.h:#define BTRFS_MINOR          234

Ah - there it is!
I'd only searched in fs/btrfs

> I can conclude that _now_ the minor is 234 and not 55. But I don't
> know if it is a _stable_ interface.

We'll see ... now I know the error message and the place where I can  
examine the actual major and minor value. Should be enough information  
for the next months ...

Thank you!

Viele Gruesse!
Helmut
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux