Disk-Arbitrator icon indicating copy to clipboard operation
Disk-Arbitrator copied to clipboard

Feature Request: rule-based system to auto-mount specific disks

Open aburgh opened this issue 14 years ago • 8 comments

Provide a means to configure a rule-set for the disks that Disk Arbitrator sees. For example: Always mount thumb-drive with serial number xxxxxxxx; always mount network drive xxxxxxxx; never mount CD/DVD volumes; etc.

aburgh avatar Aug 13 '10 01:08 aburgh

I like this one. I have a USB-Modem that comes with a read-only HFS containing the drivers. I sure don't want to see that Volume pop up anytime I insert the modem... Or is there a way to achieve what I want without using Disk-Arbitrator (on Lion)?

halo avatar Dec 03 '11 16:12 halo

That's an interesting use-case, but I think it would be better in a fork of Disk Arbitrator rather than added to the feature list. My reasoning is that Disk Arbitrator's target audience is forensic examiners, for whom it is essential to block all unknown disks so they don't accidentally mount an evidence disk. Your use-case is the opposite: you want to allow all disks except select individual disks. Since a forensic examiner is expecting it help protect against a mistake that could taint evidence, I would prefer to not add a feature that could alter that behavior, because it might get enabled accidentally.

That said, I a utility that blocks selected disks would be easy to create from Disk Arbitrator. To answer your question, I don't know of a way to do it even in Lion without writing a small application like this one.

aburgh avatar Dec 11 '11 13:12 aburgh

That clearly closes my "issue" :) Dirk Arbitrator would really be overkill, I think you're right. Thank you for your elaborate answer! Interesting. If I get bothered too much by my USB stick, I will go ahead and fork :)

halo avatar Dec 19 '11 18:12 halo

I think this feature is interesting, but for a different use case: I intend to use disk arbitrator so that SD cards or USB sticks are always mounted read-only, unless I want them to. However, it seems that when DA is active, my Time Machine backups do not work anymore: the network drive and disk image are mounted read-only (I guess). An exception rule-set would allow me to tell Disk-Arbitrator to let the TimeMachine drive mount read-write.

DidierA avatar Apr 06 '12 22:04 DidierA

Your timing is good. I am intending to update Disk Arbitrator and create two versions. One would be a forensic version that works like the current version, where all disks are blocked by default. A new feature would be the ability to "favorite" a disk so that it is allowed to mount when connected in the future. The second version would be a consumer version, which doesn't block anything by default, and the "favorite" feature would flag a disk to be blocked in the future.

I already have a test version of the above working, but in reading your suggestion, I realize it wouldn't be flexible enough for your use case. So, I'm contemplating a simple filter/actions system that would provide more flexibility. It's clear that you want to control whether a disk is read-only or read/write. But I'm not sure if you would want a filter, too, so that you didn't have to flag each SD card or USB stick individually. If the exceptions (favorites) described above had the ability to specify how to mount the disk, would that be enough?

Thanks,

Aaron

On Apr 6, 2012, at 6:59 PM, DidierA [email protected] wrote:

I think this feature is interesting, but for a different use case: I intend to use disk arbitrator so that SD cards or USB sticks are always mounted read-only, unless I want them to. However, it seems that when DA is active, my Time Machine backups do not work anymore: the network drive and disk image are mounted read-only (I guess). An exception rule-set would allow me to tell Disk-Arbitrator to let the TimeMachine drive mount read-write.


Reply to this email directly or view it on GitHub: https://github.com/aburgh/Disk-Arbitrator/issues/2#issuecomment-5004027

aburgh avatar Apr 07 '12 17:04 aburgh

@aburgh any progress on this one please?

exalted avatar May 22 '13 17:05 exalted

No, sorry, it has fallen off my radar for the moment.

aburgh avatar May 28 '13 09:05 aburgh

I'm searching for something like this as well. Can someone recommend an approach?

tristan-k avatar Jul 02 '16 10:07 tristan-k