FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

LinkBack Thread Tools
Old 01-13-2012, 05:17 PM
HyoGi Sim
Default communication between a dm target and a userspace application


I'm working with a dm device which needs a way to communicate with a
userspace application as follows:

1. The application gives a list of sectors which should be updated in
an async way by the dm device.
2. The application requests to the dm device a list of sectors which
meet with some condition.

What is a good way to implement this?
I'm rather new to the kernel as well as device mapper, and possible
ways that I can imagine are:

1. adding ioctl (is it possible/ok to have target specific ioctl command?)
2. creating a sysfs/proc entry

Or do you think it's a bad idea that the userspace application and the
dm device communicate in that way?


dm-devel mailing list

Thread Tools

All times are GMT. The time now is 08:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org