Re: [dwm] skvm - suckless lightweight volume manager

From: Yoshi Rokuko <yoshi.rokuko_AT_yokuts.org>
Date: Mon, 4 May 2009 07:43:52 +0200

On Mon, May 04, 2009 at 08:33:11AM +0800, bill lam wrote:
> On Sun, 03 May 2009, Leandro Chescotta wrote:
> > yes, i dont know how to mount as user instead of root with skvm too, i
> > think a sudo umount /dev/sdX[n] with be ok, but i really like the
> > devices to be mounted as my user
>
> I only use one dvd drive and use one usb at a time. I use pmount but I
> think that you still have to add yourself to a particular group before
> you can use pmount.

i used something similar but with simple mount.

> static const char *mountusb[] = { "pmount", "/dev/sda1", NULL };
> { MODKEY, XK_F2, spawn, {.v = mountusb } },

on my system i need to add something like

hiro bonsai=NOPASSWD:/sbin/mount

to my /etc/sudoers and then i can bind

$ sudo /sbin/mount -o uid=1000 /dev/sda1 /mnt/usb

to keystrokes (my user has user id 1000).

regards, y0shi
Received on Mon May 04 2009 - 05:43:52 UTC

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 06:00:06 UTC