26 Aug
2011
26 Aug
'11
11 p.m.
Am 26.08.2011 20:24, schrieb Gerardo Exequiel Pozzi:
Those are kernel modules, not block devices. Depending on kernel configuration, they might be present or not. Sure those are an abstraction of block devices that you have (real or virtual).
What I am looking for is a counter for the block device itself (LVM shows the "open count", I would hope that is not dm-specific). Not per device, but for the whole abstraction:
Again /sys/module/$blk/refcnt, but seems that needs an example to trust me:
No, they are not. They are modules, random pieces of code that you can load and unload. They are not an abstraction of anything.