public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Andreas Arnez <arnez@linux.vnet.ibm.com>,
	Frank Haverkamp <haver@linux.vnet.ibm.com>
Subject: Re: [PATCH 1/5] ubi-utils: introduction of libubi_common
Date: Sat, 28 Jul 2007 15:51:30 +0300	[thread overview]
Message-ID: <1185627090.26902.18.camel@sauron> (raw)
In-Reply-To: <200707271728.48560.alexs@linux.vnet.ibm.com>

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 (Битюцкий Артём)

  reply	other threads:[~2007-07-28 12:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 15:23 [PATCH 0/5] ubi-utils: migrate to new libubi Alexander Schmidt
2007-07-27 15:28 ` [PATCH 1/5] ubi-utils: introduction of libubi_common Alexander Schmidt
2007-07-28 12:51   ` Artem Bityutskiy [this message]
2007-08-02  8:33     ` Alexander Schmidt
2007-08-04  9:03       ` Artem Bityutskiy
2007-07-27 15:29 ` [PATCH 2/5] ubi-utils: migrate pddcustomize Alexander Schmidt
2007-07-27 15:30 ` [PATCH 3/5] ubi-utils: migrate ubimirror Alexander Schmidt
2007-07-27 15:31 ` [PATCH 4/5] ubi-utils: migrate pfiflash Alexander Schmidt
2007-07-27 15:31 ` [PATCH 5/5] ubi-utils: remove dead code Alexander Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1185627090.26902.18.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=alexs@linux.vnet.ibm.com \
    --cc=arnez@linux.vnet.ibm.com \
    --cc=haver@linux.vnet.ibm.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox