Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1693950 > unrolled thread
| Started by | Richard Weinberger <richard.weinberger@gmail.com> |
|---|---|
| First post | 2017-07-21 22:00 +0200 |
| Last post | 2017-07-25 16:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 4/5] mtd: block2mtd: Add support for deleting block2mtd mapping Richard Weinberger <richard.weinberger@gmail.com> - 2017-07-21 22:00 +0200
Re: [PATCH 4/5] mtd: block2mtd: Add support for deleting block2mtd mapping Pali Rohár <pali.rohar@gmail.com> - 2017-07-25 16:30 +0200
| From | Richard Weinberger <richard.weinberger@gmail.com> |
|---|---|
| Date | 2017-07-21 22:00 +0200 |
| Subject | Re: [PATCH 4/5] mtd: block2mtd: Add support for deleting block2mtd mapping |
| Message-ID | <u5MfD-yv-1@gated-at.bofh.it> |
Pali, On Fri, Jun 2, 2017 at 5:43 PM, Pali Rohár <pali.rohar@gmail.com> wrote: > This patch allows user to delete block2mtd mapping via parameters file > /sys/module/block2mtd/parameters/block2mtd > > Syntax is "del=device", e.g.: > > $ echo -n del=/dev/loop0 > /sys/module/block2mtd/parameters/block2mtd As I wrote in an earlier mail, I hate this interface. I suggest adding a decent ioctl based interface for dynamic block2mtd's. -- Thanks, //richard
[toc] | [next] | [standalone]
| From | Pali Rohár <pali.rohar@gmail.com> |
|---|---|
| Date | 2017-07-25 16:30 +0200 |
| Subject | Re: [PATCH 4/5] mtd: block2mtd: Add support for deleting block2mtd mapping |
| Message-ID | <u790v-3Vq-11@gated-at.bofh.it> |
| In reply to | #1693950 |
On Friday 21 July 2017 21:56:41 Richard Weinberger wrote: > Pali, > > On Fri, Jun 2, 2017 at 5:43 PM, Pali Rohár <pali.rohar@gmail.com> wrote: > > This patch allows user to delete block2mtd mapping via parameters file > > /sys/module/block2mtd/parameters/block2mtd > > > > Syntax is "del=device", e.g.: > > > > $ echo -n del=/dev/loop0 > /sys/module/block2mtd/parameters/block2mtd > > As I wrote in an earlier mail, I hate this interface. > I suggest adding a decent ioctl based interface for dynamic block2mtd's. ioctl interface has a problem that cannot be easily used from shell. It needs to have another tool which uses it. On the other hand sysfs interface can be used from bash script which is better. Any idea for better interface without need for ioctl? -- Pali Rohár pali.rohar@gmail.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web