Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1693950

Re: [PATCH 4/5] mtd: block2mtd: Add support for deleting block2mtd mapping

From Richard Weinberger <richard.weinberger@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/5] mtd: block2mtd: Add support for deleting block2mtd mapping
Date 2017-07-21 22:00 +0200
Message-ID <u5MfD-yv-1@gated-at.bofh.it> (permalink)
References <tNWZP-34m-7@gated-at.bofh.it> <tNWZQ-34m-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web