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, server-devel-requ...@lists.laptop.org wrote:
Send Server-devel mailing list submissions to
        server-devel@lists.laptop.org

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
        server-devel-requ...@lists.laptop.org

You can reach the person managing the list at
        server-devel-ow...@lists.laptop.org

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 <t...@timmoody.com>
To: "xsce-devel" <xsce-de...@googlegroups.com>, "server-devel"
        <server-devel@lists.laptop.org>
Subject: [Server-devel] usbmount
Message-ID: <blu405-eas424ae5a1e8ca164c8d88301c5...@phx.gbl>
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
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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

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

_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel

Reply via email to