You are not logged in.

#1 2011-01-26 16:47:19

IgnorantGuru
Member
Registered: 2009-11-09
Posts: 640
Website

Bash udisks automounter

I've been playing around with this automounter script which thus far is working well - far better than autofs did.  Just thought I'd share it here and see if anyone has any input on using udisks like this.  One unanswered question I have is if there is a way to control how udisks names the mount point, aside from using the volume label automatically.  I don't think there is, but it's working well as is.

My automounter script is not portable at present, but if you want to work with it a little it has some good potential for highly customizing what happens when devices are added and removed, owing to the fact that udisks seems to be very well designed.  The proof is that in a few hours I was able to design and write a script that works more reliably for me than autofs did.

Offline

#2 2011-01-26 16:53:16

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Bash udisks automounter

I'll say what I said to the other guy about his auto-mounting script :

https://bbs.archlinux.org/viewtopic.php … 03#p883703


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-01-26 17:18:26

IgnorantGuru
Member
Registered: 2009-11-09
Posts: 640
Website

Re: Bash udisks automounter

Inxsible wrote:

I'll say what I said to the other guy about his auto-mounting script :

https://bbs.archlinux.org/viewtopic.php … 03#p883703

Thanks, done... https://wiki.archlinux.org/index.php/Ud … ks_Wrapper

Currently it's hard wired for my drive letters, but maybe it will give people ideas at least.  At some point I may rewrite it in a more generic way once I've tried it out for awhile.  And I'll take a look at udisksvm.  Looks like that script has a better way of doing the monitoring.

Offline

Board footer

Powered by FluxBB