public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* UBI Tools - problem with multiple ubi devices.
@ 2007-02-27 21:12 John Smith
  2007-02-28  9:29 ` Alexander Schmidt
  0 siblings, 1 reply; 5+ messages in thread
From: John Smith @ 2007-02-27 21:12 UTC (permalink / raw)
  To: linux-mtd

In
GIT:      users/haver/mtd-utils.git
File:     ubi-utils/src/libubi.c
Function: get_ubi_info

The code counts the number of UBI volumes by looking for files called

  /sys/class/ubi0, /sys/class/ubi1, ...

but the files are actually

  /sys/class/ubi/ubi0, ...

The count starts from 1 (probably also wrong), so is usable if there is a
single UBI device. But if there is more than one UBI device, tools like
ubimkvol fail.

John

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-14 17:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-27 21:12 UBI Tools - problem with multiple ubi devices John Smith
2007-02-28  9:29 ` Alexander Schmidt
2007-02-28 22:08   ` Frank Haverkamp
2007-03-07 13:15     ` Josh Boyer
2007-03-14 17:36       ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox