Fix mount RW so we dont need the unmount anymore.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#pragma once
|
||||
#define ORBISLIB_MAJOR 3
|
||||
#define ORBISLIB_MINOR 0
|
||||
#define ORBISLIB_BUILDVERSION 551
|
||||
#define stringify(a) stringify_(a)
|
||||
#define stringify_(a) #a
|
||||
#if defined(_DEBUG)
|
||||
#define ORBISLIB_BUILDSTRING ("[OrbisLib Daemon " stringify(ORBISLIB_MAJOR) "." stringify(ORBISLIB_MINOR) "] Dev Build " stringify(ORBISLIB_BUILDVERSION) " " __DATE__ " " __TIME__)
|
||||
#else
|
||||
#define ORBISLIB_BUILDSTRING ("[OrbisLib Daemon " stringify(ORBISLIB_MAJOR) "." stringify(ORBISLIB_MINOR) "] Build " stringify(ORBISLIB_BUILDVERSION) " " __DATE__ " " __TIME__)
|
||||
#endif
|
||||
#pragma once
|
||||
#define ORBISLIB_MAJOR 3
|
||||
#define ORBISLIB_MINOR 0
|
||||
#define ORBISLIB_BUILDVERSION 557
|
||||
#define stringify(a) stringify_(a)
|
||||
#define stringify_(a) #a
|
||||
#if defined(_DEBUG)
|
||||
#define ORBISLIB_BUILDSTRING ("[OrbisLib Daemon " stringify(ORBISLIB_MAJOR) "." stringify(ORBISLIB_MINOR) "] Dev Build " stringify(ORBISLIB_BUILDVERSION) " " __DATE__ " " __TIME__)
|
||||
#else
|
||||
#define ORBISLIB_BUILDSTRING ("[OrbisLib Daemon " stringify(ORBISLIB_MAJOR) "." stringify(ORBISLIB_MINOR) "] Build " stringify(ORBISLIB_BUILDVERSION) " " __DATE__ " " __TIME__)
|
||||
#endif
|
||||
|
||||
@@ -183,8 +183,6 @@ int mount_large_fs(const char* device, const char* mountpoint, const char* fstyp
|
||||
struct iovec* iov = NULL;
|
||||
int iovlen = 0;
|
||||
|
||||
unmount(mountpoint, 0);
|
||||
|
||||
build_iovec(&iov, &iovlen, "fstype", fstype, -1);
|
||||
build_iovec(&iov, &iovlen, "fspath", mountpoint, -1);
|
||||
build_iovec(&iov, &iovlen, "from", device, -1);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include <sys/uio.h>
|
||||
|
||||
#define MNT_UPDATE 0x0000000000010000ULL
|
||||
#define MNT_UPDATE 0x00010000
|
||||
|
||||
//Modules.
|
||||
extern void(*_sceSysmoduleLoadModuleInternal)(uint32_t); //Import is broken for some reason
|
||||
|
||||
@@ -28,7 +28,7 @@ int main()
|
||||
//MakeDirs
|
||||
MakeDir("/data/Orbis Suite");
|
||||
|
||||
// Set RW on the system directory. Seems to sus up some shit needs investigating...
|
||||
// Set RW on the system directory.
|
||||
mount_large_fs("/dev/da0x4.crypt", "/system", "exfatfs", "511", MNT_UPDATE);
|
||||
|
||||
// Install all the things! :D
|
||||
|
||||
@@ -1 +1 @@
|
||||
1829
|
||||
1831
|
||||
|
||||
@@ -1 +1 @@
|
||||
Version 3.0.1829 Debug Build Saturday December 17 2022 12:24 PM
|
||||
Version 3.0.1831 Debug Build Saturday December 17 2022 2:37 PM
|
||||
|
||||
Reference in New Issue
Block a user