Re: USB configfs questions and help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 19 Aug 2013, Philippe De Swert wrote:

> Hi,
> 
> On 18/08/13 17:52, Alan Stern wrote:
> >> Now there is some discussion about having a userpace library to handle
> >> the creation of all the necessary files easily. But I cannot find a
> >> trace of it. Does it exist already?
> >
> > No mention of it has appeared on the mailing list.
> 
> From: https://lkml.org/lkml/2012/11/27/341
> 
> "Couldn't we have a tool to manage all this?
> target has such a thing, you have just select a few things via a CLI
> tool and the tool creates the directories for you _and_ removes them
> later on.
> I don't want to push python on anyone but the removal magic is simply
> straight forward: unlink the disk ports, rmdir luns, tpgt,� "
> 
> Or http://marc.info/?l=linux-usb&m=132431126927355&w=2
> 
> "> I understand that the echo/mkdir like interface is not perfect for
>  > everybody. For target there is a python tool that handles it so you/the
>  > user does not see configfs internals. The problem with python is that
>  > small users which ship just a busybox as their RFS might consider python
>  > as too big. Therefore I would suggest a small C program/library and
> 
> Yeah, a library is the way to go. It also "standardizes" the usage,
> allows for lots of language bindings - so if you want to use
> python/ruby/perl/C#/etc you can - and allows the whole thing to go into
> products."
> 
> Or maybe I misunderstood your answer and it means nothing like that made 
> yet?

Right -- nobody has mentioned building such a tool yet.

> And does somebody know where that python tool might be available?

Not me.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux