In XS, usbmount executed scripts included in /etc/usbmount/mount.d when a removable device was inserted.

There may be an upstream problem with this feature in CentOS 7 so the first step may be to see if usbmount
executes a script (echo hello world).

If usbmount works, the script should determine if the mounted drive meets the condition (is relevant) and, if not, exit. Daniel Drake used this in XS to install the content (XC) when a removable device was inserted which
met the requirements of the script.

Tony


On 10/27/2015 12:00 PM, [email protected] wrote:
Send Server-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.laptop.org/listinfo/server-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Server-devel digest..."


Today's Topics:

    1. usbmount (Tim Moody)


----------------------------------------------------------------------

Message: 1
Date: Tue, 27 Oct 2015 10:42:37 -0400
From: Tim Moody <[email protected]>
To: "xsce-devel" <[email protected]>, "server-devel"
        <[email protected]>
Subject: [Server-devel] usbmount
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

I'm working on adding LibraryBox/PirateBox type functionality whereby if a
usb in plugged into the server it is automounted by usbmount and if it has
/share, /Share, or /PirateShare in its root directory a symlink will be
created in /library/content/USBx depending on where it was mounted.

I think this should be enabled by default.

Any comments?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.laptop.org/pipermail/server-devel/attachments/20151027/74ab2bbf/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Server-devel mailing list
[email protected]
http://lists.laptop.org/listinfo/server-devel


------------------------------

End of Server-devel Digest, Vol 100, Issue 10
*********************************************

_______________________________________________
Server-devel mailing list
[email protected]
http://lists.laptop.org/listinfo/server-devel

Reply via email to