LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-02-2016, 08:24 AM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317

probably it was not already mentioned:
1. using long directory names will produce longer [system/user/daemon/whatever-configuration/setup/initialization] files (without any additional information).
2. using additional directory levels will slow down the system (especially on system wide resources, like libraries, binaries and configs) because the system must check the access rights of all the elements of the paths involved during the execution of commands. (believe it or not, but anyway you can check it, if you are in doubt).

So keep it simple and short! By the way the usual linux/unix commands are two-three letters long, they are all abbreviations. Do you want to replace them too?
 
Old 10-02-2016, 08:47 AM   #17
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
In short, without knowing how current naming and the whole system is organized there really is no point suggesting "improvements".
 
Old 10-02-2016, 10:34 AM   #18
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by enorbet View Post
This whole thread seems about Legacy and which one you come from or are have the most familiarity.
Changing a UNIX-style directory structure so that all binaries, except those in /boot, are in one directory is basically a DOS/Windows convention that started with DOS being a stand alone system.
The original PC-DOS version 1 had no directories: everything on the HD (if you actually had one) was dumped side-by-side. I can remember creating a data directory when version 2 arrived! So even Microsoft users have their legacies…
 
Old 10-02-2016, 01:58 PM   #19
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by rokytnji View Post
I look at linux file structure as rooms and closets and cupboards in a house.
i like symlinks.
they're like hidden shortcuts and staircases behind tapestry doors.


Quote:
Originally Posted by enorbet View Post
Automobiles today have the same wheelbase as Roman chariots, not because the chariots were so great but because the roads built for them were for so many centuries.
this.
there's a similar fun fact for trains; the wheels are apart that precise distance because that was the best way to have it when carriages used to have 2 horses in front of them.
it's just history, and i like it. it always gives me a profound sense of belonging and continuity.


Quote:
Originally Posted by pan64 View Post
By the way the usual linux/unix commands are two-three letters long, they are all abbreviations. Do you want to replace them too?
lol.
imagine 'ls' was replaced by 'ListDirectoryContents'!
 
Old 10-02-2016, 02:34 PM   #20
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 422
Blog Entries: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
lol.
imagine 'ls' was replaced by 'ListDirectoryContents'!
How about Get-ChildItem, as in PowerShell? https://technet.microsoft.com/en-us/.../hh849800.aspx
 
Old 10-04-2016, 01:26 AM   #21
Lady_Aleena
LQ Newbie
 
Registered: Oct 2013
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you all for stopping by and reading my rant. I still stand by it mostly. Have a nice day everyone.
 
Old 10-04-2016, 03:11 AM   #22
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Makes no sense to change them. Just learn what they mean, as you have done and that's all there is to it.

Is it safe to assume that you don't make much use of the command line? sysadmins and lots of *nix users, do and it's sysadmins who have to worry about most of those directories. Shell scripts also prefer the nice and simple 3 letter directory names.

In your /home/you_user_name/ you can create whatever directories you like, named however you like.

Last edited by cynwulf; 10-04-2016 at 03:12 AM.
 
Old 10-04-2016, 05:54 AM   #23
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,656

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
It does not make sense to change them for so many reasons, but I think it is an important concept to consider from time to time. Historical and technical reasons aside, it implies that someone is looking BELOW the gui desktop interface and wondering "why?". That matters. A LOT!

We have distributions that are quite different from all others specifically BECAUSE someone asked this kind of question. Some of those maintainers started out not terribly technical asking this kind of question and deciding to TRY something. In a very few cases such questions and decisions have changed the course of the entire community (NOT without some kicking and screaming being involved).

I, for one, want to thank the OP and everyone who commented. There was decent food for thought here.
 
Old 10-04-2016, 06:27 AM   #24
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Quote:
Originally Posted by wpeckham View Post
Just one comment. Unix began in ~1969, while MS DOS began ~1979. If one adopted features from the other, I doubt it "began with DOS/Windows" as you put it.
Sorry. I can't even imagine how you got that implication and I certainly know DOS came a decade after Unix. What I said was that the concept of putting all programs in one directory came about with DOS (with HUGE reliance on and possibly outright theft from CP/M). Nowhere did I state that Unix took anything from DOS, just to clarify things that apparently weren't already clear to anyone.
 
Old 10-04-2016, 06:31 AM   #25
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Quote:
Originally Posted by DavidMcCann View Post
The original PC-DOS version 1 had no directories: everything on the HD (if you actually had one) was dumped side-by-side. I can remember creating a data directory when version 2 arrived! So even Microsoft users have their legacies…
Good point! It cracks me up whenever I think of Billy Boy's address regarding piracy to the Homebrew Computer Club calling everyone "thieves" in the embodiment of not seeing past one's nose for whose ox is being gored.
 
Old 10-04-2016, 10:03 AM   #26
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Those semantics actually do make sense if look at it in the right direction.
Binaries start at the top of the tree (looking down) and not the other way around.

Last edited by jens; 10-04-2016 at 10:10 AM.
 
Old 10-04-2016, 12:58 PM   #27
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
What I find odd about this whole supposition is the inference that an OS may exist where the system layout is completely obvious without reading the documentation and the suggestion that this would be a good thing.
All OSs I've seen have "odd" system layouts and, indeed, every device I have configured could be thought of as "not semantic" yet, oddly, here we are.
To add to that -- I would hope that anybody without the intelligence to read the documentation understand Linux's and other OS's configurations would not be doing it. If you can't understand the, relatively simple, way files are laid out then you should not be concerned with it.
 
Old 10-04-2016, 09:09 PM   #28
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,656

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
Quote:
Originally Posted by 273 View Post
What I find odd about this whole supposition is the inference that an OS may exist where the system layout is completely obvious without reading the documentation and the suggestion that this would be a good thing.
All OSs I've seen have "odd" system layouts and, indeed, every device I have configured could be thought of as "not semantic" yet, oddly, here we are.
To add to that -- I would hope that anybody without the intelligence to read the documentation understand Linux's and other OS's configurations would not be doing it. If you can't understand the, relatively simple, way files are laid out then you should not be concerned with it.
I had not thought that quite this way, but when you say that it strikes me that the file and folder structure is NOT for people. The structure is important to the OS so that programs (not people) can find exactly the resources they need to run quickly and well. The user interface needs clarity of a different kind, and should be clear and easy for a HUMAN to use. The file structures should be clear and easy for the SOFTWARE to use. Naturally there is a huge difference, it is REQUIRED!
 
Old 10-12-2016, 08:48 PM   #29
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
I personally prefer FreeBSD filesystem structure. I think it's cleaner and more defined. It's just that there are tools in Linux OS (kernel and mostly GNUs) that I prefer.
 
Old 10-13-2016, 12:50 AM   #30
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by c0wb0y View Post
I personally prefer FreeBSD filesystem structure. I think it's cleaner and more defined. It's just that there are tools in Linux OS (kernel and mostly GNUs) that I prefer.
I didn't realise there was much difference between the BSD and Linux structures, since Linux is largely designed as Unix-like. What are the differences?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a hidden char following Linux directory names? wolfv Linux - General 16 07-27-2015 05:22 PM
[SOLVED] How to changing same file names by their directory names? bayaraa_u Linux - General 3 04-09-2010 08:26 AM
Need help to make all file- and directory names linux conform. madking75 Linux - Desktop 2 11-30-2006 10:48 AM
Getting file names in a directory using C on linux. rajsun Programming 4 06-10-2005 12:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration