[PATCH 1/5] ubi-utils: introduction of libubi_common

Artem Bityutskiy dedekind at infradead.org
Sat Jul 28 08:51:30 EDT 2007


On Fri, 2007-07-27 at 17:28 +0200, Alexander Schmidt wrote:
> +#include <stdio.h>
> +#include <unistd.h>
> +#include <errno.h>
> +#include <sys/stat.h>
> +#include <fcntl.h>
> +
> +#define DEFAULT_DEV_PATTERN    "/dev/ubi%d"
> +#define DEFAULT_VOL_PATTERN    "/dev/ubi%d_%d"

Is it possible to make any patterns like this part of _utilities_?
UBI devices may have any names and it is defined by udev. The
library should not assume any UBI device name.

Whole this file should be out of libubi,not part of it.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list