Author Topic: Re-organizaing OS/2-eCS Directories.  (Read 66342 times)

dbanet

  • Guest
Re: Re-organizaing OS/2-eCS Directories.
« Reply #45 on: July 27, 2014, 05:54:17 am »
And the one thing about Os2 it hasn't changed, why change it now ?

No one forces you to change anything.

Everything file in OS/2 has 8.3 naming.

And no, since eCS, I think, there are LOTS files not conforming to 8.3.

And even Roderick tried this and said a no go.

There I agree to you, I don't like what does he say mostly, too.

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: Re-organizaing OS/2-eCS Directories.
« Reply #46 on: July 27, 2014, 06:10:15 am »
There I agree to you, I don't like what does he say mostly, too.

Don't Miss quote me.

What ever issue you have with him leave me out of it, he's a supporter !

dbanet

  • Guest
Re: Re-organizaing OS/2-eCS Directories.
« Reply #47 on: July 27, 2014, 06:12:08 am »
There I agree to you, I don't like what does he say mostly, too.

Don't Miss quote me.

What ever issue you have with him leave me out of it, he's a supporter !

Relax, have fun. ;)

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: Re-organizaing OS/2-eCS Directories.
« Reply #48 on: July 27, 2014, 06:30:18 am »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4746
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Re-organizaing OS/2-eCS Directories.
« Reply #49 on: July 27, 2014, 10:56:30 pm »
It seems that moving MMOS2 did not go well here.

1) CWMM classes seems to keep looking form some DLLs on the C:\MMOS2.
I still haven't found which INIs or where does it points to this DLLs.
- C:\MMOS2\MEDIAFLD\BIN\mediafld.dll
- C:\MMOS2\MMCLASS\cwmm.dll
- C:\MMOS2\MMCLASS\BIN\mmres_en.dll

2) It seems that UNIAUD broke and some all the fixes created for eCS that are on MMOS2 stopped working. The sound keeps looping when it loads the startup sound or any sound. I remember that this was fixed some time ago on eCS, but I'm not sure what component was the one that fix it. 

3) Sound Schemes keeps pointing to the wrong location path.
« Last Edit: July 27, 2014, 11:13:29 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Joop

  • Hero Member
  • *****
  • Posts: 633
  • Karma: +5/-0
    • View Profile
Re: Re-organizaing OS/2-eCS Directories.
« Reply #50 on: July 28, 2014, 12:18:10 am »
I still haven't found which INIs or where does it points to this DLLs.
d Schemes keeps pointing to the wrong location path.
I found in some Rexx scripts "mmpm2.ini".

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4746
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Re-organizaing OS/2-eCS Directories.
« Reply #51 on: July 30, 2014, 06:49:34 pm »
Thanks for the replies.

I had documented the experience here on the wiki:   http://www.os2world.com/wiki/index.php/Experiment:_Moving_the_OS/2_Directory_Structure

I had failed with this two directories:
1) MMOS2
a) CWMM seems to give some problems moving it,.
b) System sounds keeps poiting to the sound scheme to the wrong locations.
c) UniAud driver sound loop bugfix got broken.

2) LANGUAGE
a) UNICODE.SYS on boot does not recognize the new location of the files.

Also testing:
DESKTOP
The desktop seems very safe to be dragged and drag and drop on other location. On my case I move it to \Home\Default\Desktop
Everything seems to work fine with it.

Maintenance Desktop
I haven't tried it yet. What do you think? do you know which INIs has its location?
I will try it later with "Maintenance Mode" and see what happens.

I want to try later movig etc, usr and var, since they are necessary of the all the RPM/YUM stuff, but I was told It was not much of a trouble moving them.


Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Re-organizaing OS/2-eCS Directories.
« Reply #52 on: July 31, 2014, 05:37:57 am »
Quote
Maintenance Desktop
I haven't tried it yet. What do you think? do you know which INIs has its location?

Looks like it might be /os2/install/install.ini, at least according to the rc files.
Note that rather then editing ini files, you could edit the rc files and then create virgin ini files from them with makeini, at that it seems that both os2.ini and install.ini are created from new.ini with a bit of sed magic.

ivan

  • Hero Member
  • *****
  • Posts: 1559
  • Karma: +17/-0
    • View Profile
Re: Re-organizaing OS/2-eCS Directories.
« Reply #53 on: July 31, 2014, 11:47:21 am »
Martin, I remember seeing an expanded dir of the ecs directory and it looked as if it was trying to emulate the os2 directory.  If that is the case why not move everything in it to the os2 directory as this eliminates one more directory.

I would also think it would be a very good idea to move the /home, /programs, /usr, /var to another partition.  Doing so will reduce the size of the boot partition considerably and gets away from the windows idea of 'everything on the root partition', although I shouldn't complain as it helps our cash flow when we have to clean up the problems it causes.

dbanet

  • Guest
Re: Re-organizaing OS/2-eCS Directories.
« Reply #54 on: July 31, 2014, 07:21:10 pm »
Martin, I remember seeing an expanded dir of the ecs directory and it looked as if it was trying to emulate the os2 directory.  If that is the case why not move everything in it to the os2 directory as this eliminates one more directory.

This is actually easily reachable by using original OS/2, non-eCS distribution.

I would also think it would be a very good idea to move the /home, /programs, /usr, /var to another partition.  Doing so will reduce the size of the boot partition considerably and gets away from the windows idea of 'everything on the root partition', although I shouldn't complain as it helps our cash flow when we have to clean up the problems it causes.

Yea of course, this is also of the user's business, because it's not hard to do so at all: UNIXROOT and HOME may be set to point to different location.

It is also, by the way, possible to move the hidden Nowhere directory.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4746
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Re-organizaing OS/2-eCS Directories.
« Reply #55 on: August 01, 2014, 12:40:39 am »
Thanks.

To move the C:\MAINTENANCE DESKTOP directory I did something similar to the things I did with "Desktop". But this time I booted in Maintenane Mode and Drag And Dropped to the new location. On this case I moved it to C:\OS2\Maintenance Desktop.

I didn't modify the INSTALL.INI at first, and it worked, but later I noticed that on
Code: [Select]
INSTALL.INI -> FolderWorkareaRunningObjectsThere was two paths for the Maintenance Desktop, it was not giving problems, but I just erased the old one. 
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4746
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Re-organizaing OS/2-eCS Directories.
« Reply #56 on: August 04, 2014, 01:11:21 am »
Now I want to check on how to move the RPM/YUM FHS structure from the "C:\" root.  (/usr, /var /tmp)

I know that RPM/YUM allows to be installed on other drive but the wpi installer always asks to install it on the root. But I'm not sure if RPM/YUM and all the programs installed on the FHS structure will work on OS/2 if I move the directories inside other folder like C:\Programs\FHS  for example.

Any thoughts? Can UNIXROOT be pointed to a specifically directory, or only to a drive letter?
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 389
  • Karma: +5/-0
    • View Profile
Re: Re-organizaing OS/2-eCS Directories.
« Reply #57 on: August 04, 2014, 03:34:04 am »
Any thoughts? Can UNIXROOT be pointed to a specifically directory, or only to a drive letter?

It can be, but it's not recommended. According to Yuri, the packages he's ported should in theory work OK like that, but there's no guarantee that other ports will.

I tried putting it all under a subdirectory on one system... it appeared to work OK but I didn't use it extensively.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4746
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Re-organizaing OS/2-eCS Directories.
« Reply #58 on: August 04, 2014, 03:45:51 am »
Thanks Alex.

Any notes on what I had to take notice before moving the directories? Any INI I had to change? any special .cmd file I don't have to forget to change to the new path?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4805
  • Karma: +99/-1
    • View Profile
Re: Re-organizaing OS/2-eCS Directories.
« Reply #59 on: August 04, 2014, 04:57:36 am »
Unixroot was originally designed so that it could be anywhere,  since the yum/rpm people have taken it over I don't believe there has been much thought or testing for having UNIXROOT pointing anywhere besides a root directory so whether everything will work...
Just be sure to use slashes for path separators and don't have a trailing slash, eg C:/Programs/FHS may work fine. Some ports may not like capital letters in pathnames and stay away from spaces.
Things like Odin will also need %UNIXROOT%\ lib\odininst.exe run to update the registry to the new location.