stoned 2017-03-09 06:08:47
That's cool
stoned 2017-03-09 06:08:54
cluelessperson: nice job
Casper366 2017-03-09 06:09:23
back. sorry for my fast dissapearance
Casper366 2017-03-09 06:10:36
so, yes, i'd like a hdd be automounted when attatched (better word than connected)
Casper366 2017-03-09 06:11:23
while pondering on my problem over meal i remembered a package called usbautomount or similar. i think i'll try if thats possible
stoned 2017-03-09 06:11:44
try pmount
greycat 2017-03-09 06:11:45
google said "usbmount" which is apparently not in stretch, but is in wheezy, jessie and sid
stoned 2017-03-09 06:12:57
,v pmount
judd 2017-03-09 06:13:57
Package: pmount on amd64 -- wheezy: 0.9.23-2; jessie: 0.9.23-3+b1; sid: 0.9.23-3+b2; stretch: 0.9.23-3+b2; experimental: 0.9.99-alpha-1
greycat 2017-03-09 06:13:57
The pkg description for pmount says nothing about automounting or detection.
stoned 2017-03-09 06:13:57
https://wiki.debian.org/pmount
stoned 2017-03-09 06:13:57
I used it once in etch.
stoned 2017-03-09 06:13:57
I think.
greycat 2017-03-09 06:13:57
Nothing in there about automountig.
stoned 2017-03-09 06:14:36
Yeah, you have to set it up...
Casper366 2017-03-09 06:14:39
found it: https://packages.debian.org/wheezy/usbmount
stoned 2017-03-09 06:14:46
Feel free to write further the wiki article.
greycat 2017-03-09 06:14:58
stoned: Why? It's the wrong STARTING point.
stoned 2017-03-09 06:15:28
That's what was advised to me once in here, and that's what I used to setup my automounting rules.
greycat 2017-03-09 06:15:47
So what did you use for the "auto" part?
stoned 2017-03-09 06:16:56
for example ACTION=="add",KERNEL=="sdb*", RUN+="/usr/bin/pmount --sync --umask 000 %k" or something of that nature in udev automount rules
greycat 2017-03-09 06:17:05
So you are actually using udev.
greycat 2017-03-09 06:17:14
The starting point therefore would be a udev page.
stoned 2017-03-09 06:17:17
What else is gonna use?
greycat 2017-03-09 06:17:28
,info usbmount
judd 2017-03-09 06:17:42
Package usbmount (admin, extra) in jessie/amd64: automatically mount and unmount USB mass storage devices. Version: 0.0.22; Size: 17.3k; Installed: 116k; Homepage: http://usbmount.alioth.debian.org/
yeik 2017-03-09 06:18:04
hello all
greycat 2017-03-09 06:22:42
stoned: "The script that does the mounting is called by the udev daemon."
greycat 2017-03-09 06:22:50
from the pkg description
stoned 2017-03-09 06:22:51
greycat: stoned> What else is gonna use? <- what else but udev?
greycat 2017-03-09 06:23:00
well, the other choice is autofs
stoned 2017-03-09 06:23:12
is that used in debian?
greycat 2017-03-09 06:23:28
But udev is a more natural fit here, because it knows about *things getting attached and detached* whereas autofs does not.
stoned 2017-03-09 06:23:39
*nod*
stoned 2017-03-09 06:23:44
seems like a good solution