On Thu, Dec 20, 2007 at 10:26:08AM +0100, Pierre Savary wrote:
> In fact I have a part (/dev/mmcblk0p5) that I want share with USB gadget
> (g_file_storage). But if USB is not connect to a PC, I want that this part
> was mounted on my board. An I want unmount this part when the board is
> plugged on a PC.
> So I need to mount and unmount partition in this module.
Arrange for the USB subsystem to send a uevent, which can then be picked
up by userspace to issue the correct command to mount or unmount the
partition.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]