sanne
sanne

Reputation: 111

How to figure out what mtd device is attached to which ubi volume(s)

I cannot find a way to figure out which ubi device is attached to which mtd device. For instance, ubi0 can be attached to mtd1 and ubi1 to mtd0.

Does anyone know a way to figure out which is connected to which?

Upvotes: 6

Views: 3227

Answers (1)

niziak
niziak

Reputation: 121

cat /sys/devices/virtual/ubi/ubi0/mtd_num

Upvotes: 8

Related Questions