[RFC] [PATCH] UBI: rewrite of sysfs.c

Frank Haverkamp haver at vnet.ibm.com
Wed Mar 14 04:24:55 EDT 2007


Hi Artem,

On Tue, 2007-03-13 at 18:42 +0200, Artem Bityutskiy wrote:
> Alexander Schmidt wrote:
> > Hi,
> > 
> > I rewrote the sysfs interface to use struct device instead of struct
> > class_device. This implies an interface change, as sysfs files are now
> > ordered in a different manner:
> > 
> > /sys/class/ubi/ubiX/ for device files
> > /sys/class/ubi/ubiX_Y/ for volumes
> > 
> > Before we had
> > 
> > /sys/class/ubi/ubiX/ for device files
> > /sys/class/ubi/ubiX/Y/ for volumes
> > 
> > Please let me know if you got any objections on this or if you have
> > proposals for a better implementation.
> > 
> > Signed-off-by: Alexander Schmidt <alexs at linux.vnet.ibm.com>
> 
> It seems we cannot preserve old sysfs structure...
> 
> It is fine with me. You and Thomas are the main users, so if it is ok
> with you - lets' apply this.

Josh is representing some users too. But just in case I suggest, that we
wait at least 2-3 days before we commit such interface changes, to give
yet anomymous (in the world which are not in the German/Finish/US
eastcoast timzone) users a chance to comment on this. I also discussed
with Alex that we might want to enhance our ubi-utils to support the old
and new interfaces to avoid possible trouble before we include the
changes.

Frank





More information about the linux-mtd mailing list