mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 13:18:27 +02:00
NI \o/
Origin commit data
------------------
Branch: ni/coolstream
Commit: d6b3754c6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-19 (Thu, 19 May 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -176,6 +176,11 @@ bool CFSMounter::isMounted(const std::string &local_dir)
|
||||
{
|
||||
MountInfo mi;
|
||||
in >> mi.device >> mi.mountPoint >> mi.type;
|
||||
|
||||
//NI
|
||||
if (mi.type == "tmpfs")
|
||||
continue;
|
||||
|
||||
if (strcmp(mi.mountPoint.c_str(),mount_point) == 0)
|
||||
{
|
||||
return true;
|
||||
@@ -223,8 +228,8 @@ CFSMounter::MountRes CFSMounter::mount(const std::string &ip, const std::string
|
||||
{
|
||||
if(fstype == NFS)
|
||||
{
|
||||
options1 = "ro,soft,udp";
|
||||
options2 = "nolock,rsize=8192,wsize=8192";
|
||||
options1 = "soft"; //NI
|
||||
options2 = "nolock"; //NI
|
||||
}
|
||||
else if(fstype == CIFS)
|
||||
{
|
||||
|
Reference in New Issue
Block a user