Linked by Thom Holwerda on Wed 2nd Nov 2011 23:17 UTC
Fedora Core Good news from the Linux world. Fedora has announced its intention to drastically alter the file system layout of its Linux distribution. The plan's been out for a while, but was brought to my attention by Brian Proffitt (still the best name ever) over at ITWorld. The gist is to move all binaries to /usr/bin, and all libraries to /usr/lib and /user/lib64.
Thread beginning with comment 495549
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: ...
by Laurence on Thu 3rd Nov 2011 13:37 UTC in reply to "RE[2]: ..."
Laurence
Member since:
2007-03-26


what are you talking about? you can install programs wherever you want on windows

It would be nice if people actually thought a little about the post they reply to rather than just reacting to it ;)

At no point did I say you couldn't install apps where-ever you wanted in Windows. I just said it matters. In Windows there is no global directory for 3rd party application like there is in Linux. This means everything has to be called for with absolute paths when writing scripts.

Granted you could easily configure Windows to behave a little more like Linux in that regard, but I'm talking about default behavior.

I know none of this is an issue for regular users who just key off installed shortcuts or even on Win7 where you can type the name of the application into the start menu. But equally the different directory structures in Linux is a non-issue to those same kind of users. However to people who do write batch/shell scripts that run utilities not located in (%windows|%system%) nor have their install locations added to %PATH% (which, again, is not the default action for most installers), then it very much matters where programs install to.

Plus Windows Add/Remove programs isn't perfect, so many power-users are left tidying up directory structures. This, again, is a non-issue with Linux package managers.

So my point wasn't a criticism of Windows (and thus no need for yourself to get riled up). I was just making a generalisation; comparing Windows administration to Linux administration.

Reply Parent Score: 3

RE[4]: ...
by manjabes on Thu 3rd Nov 2011 14:36 in reply to "RE[3]: ..."
manjabes Member since:
2005-08-27

"
what are you talking about? you can install programs wherever you want on windows

It would be nice if people actually thought a little about the post they reply to rather than just reacting to it ;)

At no point did I say you couldn't install apps where-ever you wanted in Windows. I just said it matters. In Windows there is no global directory for 3rd party application like there is in Linux. This means everything has to be called for with absolute paths when writing scripts.
"

One word: %PROGRAMFILES%
One link: http://technet.microsoft.com/en-us/library/cc749104(WS.10).aspx
One request: Please don't troll!

Reply Parent Score: 1

RE[5]: ...
by Soulbender on Thu 3rd Nov 2011 14:45 in reply to "RE[4]: ..."
Soulbender Member since:
2005-08-18

One word: %PROGRAMFILES%


%PROGRAMFILES% does not solve that problem. I still can't just type "firefox" in a cmd window and have firefox launched. I'd have to know what directory firefox is in, even if it's only relative to %PROGRAMFILES%.
Unless of course I add every programs folder into %PATH% but that's a bit awkward.

Reply Parent Score: 2

RE[5]: ...
by Laurence on Thu 3rd Nov 2011 14:54 in reply to "RE[4]: ..."
Laurence Member since:
2007-03-26


One word: %PROGRAMFILES%
One link: http://technet.microsoft.com/en-us/library/cc749104(WS.10).aspx


%PROGRAMFILES% is only a variable name for an absolute path to a top level install directory. Nothing more.

It wont include the full install paths to any application installs (as they will be sub-directories) and it wont work for any applications that install out of that specific top level folder (which may not be the norm, but it does occasionally happen).

What I'm talking about is %PATH%, which holds multiple directories and anything within those directories runs without an absolute path. You could add every single directory for every single application install into %PATH%, but that would be time consuming and could likely screw up other things due to:
1/ length of the environmental variable
2/ access times where the HDD is forced to seek dozens of different directories.

So perhaps you'd want to research a little into your own suggestions before being condensing to others ;)

One request: Please don't troll!

Is it even possible to have a discussion on here without someone accusing someone else of "trolling" or being a "fanboy"?
*bangs head on desk until it goes numb*

Edited 2011-11-03 15:03 UTC

Reply Parent Score: 2