[ 
https://issues.apache.org/jira/browse/MESOS-4969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200118#comment-15200118
 ] 

Yan Xu edited comment on MESOS-4969 at 3/17/16 6:35 PM:
--------------------------------------------------------

{{modprobe -q overlay}} and check exit status sound reasonable to me.

Since this doesn't apply to all filesystems, we can do it in 
{{OverlayBackend::create(const Flags&)}} and keep {{Try<bool> supported(const 
std::string& fsname);}} unchanged.


was (Author: xujyan):
{{modprobe -q overlay}} and check exit status sound reasonable to me.

> improve overlayfs detection
> ---------------------------
>
>                 Key: MESOS-4969
>                 URL: https://issues.apache.org/jira/browse/MESOS-4969
>             Project: Mesos
>          Issue Type: Bug
>          Components: isolation, volumes
>            Reporter: James Peach
>            Priority: Minor
>
> On my Fedora 23, overlayfs is a module that is not loaded by default 
> (attempting to mount an overlayfs automatically triggers the module loading). 
> However {{mesos-slave}} won't start until I manually load the module since it 
> is not listed in {{/proc/filesystems}} until is it loaded.
> It would be nice if there was a more reliable way to determine overlayfs 
> support.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to