Re: [PATCHv6] UBI: new module ubiblk: block layer on top of UBI

2011-09-26 Thread David Wagner
Hi, On 09/23/2011 12:58 PM, Artem Bityutskiy wrote: [...] > 2. Please, could you explain what prevents the following crash/issue: > > modprobe ubiblk volumes=0:0 > mkfs.ext3 /dev/ubiblk0 > mount -t ext3 /dev/ubiblk0 /mnt/fs > rmmod ubiblk > > Not that I think this is a problem, I just do not rea

Re: [PATCHv6] UBI: new module ubiblk: block layer on top of UBI

2011-09-26 Thread Ricard Wanderlof
On Thu, 22 Sep 2011, David Wagner wrote: ubiblk is a read-only block layer on top of UBI. It presents UBI volumes as ... I decided to try this out, as I've been looking for a flexible block-device-on-ubi scheme for using a cramfs or squashfs root file system over UBI without having to reso

Re: [PATCHv6] UBI: new module ubiblk: block layer on top of UBI

2011-09-23 Thread Artem Bityutskiy
On Thu, 2011-09-22 at 09:58 +0200, David Wagner wrote: > +MODULE_PARM_DESC(volume, > + "Format: volume=:\n" > + "Create a ubiblk device at init time. Useful for mounting it as root " > + "device."); I encourage people to use names, not IDs, because names are persistent, while IDs may

[PATCHv6] UBI: new module ubiblk: block layer on top of UBI

2011-09-22 Thread David Wagner
ubiblk is a read-only block layer on top of UBI. It presents UBI volumes as read-only block devices (named ubiblkX_Y, where X is the UBI device number and Y the Volume ID). It is used by putting a block filesystem image on a UBI volume, creating the corresponding ubiblk device and then mounting i