Re: [dev] wmii: dash, bash and tests in wmiirc

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Tue, 20 Jul 2010 09:45:31 +0100

Quoth LuX:
> I wanted to add to wmii some basic ability to deal with
> USB pens:
>
> - mount and open them automatically when plugged in;

FWIW, I have a one-liner udev rule which uses pmount to do this
nicely for me; in /etc/udev/rules.d/85-mount-usbdisks.rules I have

KERNEL=="sd?[0-9]*", SUBSYSTEM=="block", RUN+="/usr/bin/sudo -u nick /usr/bin/pmount %k

Simplest way I found.

Nick

Received on Tue Jul 20 2010 - 10:45:31 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 20 2010 - 10:48:02 CEST