How would anon redesign linux directory structure?
>>107130516I'll be honest I have no clue what 2/3 of these are even for. So let's start by giving them more descriptive names
I actually prefer this structure just because of everything you can do with /mnt
>>107130524For the top row:>binthat's obviously the recycle bin>bootwhere the bootloader sits>devwhere the linux dev store their preview features and os features that are in development>etccatch-all for files that don't fall under any other directory>homehome directory>libwhere all your shared dynamic .dll library files are stored>mediavideos and pictures>mntthis one is for mint's system files, I assume debian would be /dbn/ and arch would be /arc/Yeah, no, you're just a retard, they're all pretty self-explanatory, even for a windows user like me.
>>107130516remove /lost+found, /opt, /media, /root>>107130524read hier(7) man page
>>107130593You kid, but my stupid ass was genuinely confused by the bin directory the first time I saw it.
>>107130516binaries into ProgramFiles and configs into AppData
/why /nam /lik /ths?
>>107130516root being / is both confusing for new users and extremely dangerous with some commands. Windows had the right idea with its named drives
>>107130623Same reason it's 'mv' and 'cp' vs 'copy' and 'move'. Less typing, more efficient, and beyond that it wasn't targeting the 'average joe' but people who presumably would be educated on the use of the system.
>>107130623old unix systems had small filename limits, 8 or 16 bytes
>>107130653If you need someone to be educated on what your names mean you're very bad at naming. You can also just type in a few letters and hit tab.
>>107130593kek
>>107130516//bin/data/home
>>107130516The only thing that's kind of annoying is /usr, should just be /bin, /lib, etc. Everything else doesn't matter, what's more important is the structure of the home directory, and this is pretty much solved, except for legacy software still shitting everything up with ~/.myspecialsnowflakeapp directories
>>107130680The purpose of Unix is to keep retarded people like you out.
>>107130598I use /opt
>>107130680>>107130653>>107130768The old Unix couldn't fit too many characters in names.
/everything
>>107130766/usr is your OS, all the installed software. i think it should have it's own directory.keeping legacy /bin, /sbin, /lib is the clutter, it's usually just symlinks to /usr
>>107130811>/usr is your OSthat's not true in two ways: there are files needed by my OS that are outside of /usr, and there is also /usr/local which the OS does not touch
//data/mount/programs/system/usersgobolinux.org
>>107130635It's not hard at all.Before I learned anything else, I found out that / is system and/home is users, and unless necessary, most programs should be intsalled in /home/*.Of cource I have more knowledge now, but this was my beginner mindset, and it helped me organize my programs without breaking shit.
>>107130934I'm betting at least 90% of new Linux users are confused by the fact that "XYZ/" and "/XYZ/" are two completely different paths
>>107130934>most programs should be intsalled in /home/*what
>>107130959why would you have to deal with this? If you don't want to learn about computers then you just click your way through a file picker dialog. and what about relative and absolute paths is linux specific?
>>107130516I would do it more like Bell Labs Plan9. Basically the Unix Successor.Ditching /home with /usr and just use top-level /bin /lib as these are just symlinks anyway.
>>107130979Because the only difference between a relative and anabsolute path in Linux is the slash, which is the most common symbol in filepaths. It took me a while to understand that a path starting with a slash is referring to (absolute) root, and I don't think I'm the only one
>>107130988you didn't answer even one of my two questions. a non-dev and non-admin doesn't have to deal with this, and it's the same on macos
>>107130516i wouldn't. what the fuck for?
>>107130999a non-dev non-admin doesn't have to deal with file paths?
>>107131009maybe because it doesn't make any sense that the package manager installs programs by default into a directory called 'user'
>>107130988i never had this problem, doubt many people domaybe you're just retarded
>>107130516Move everything in /sbin to /bin, move everything in /usr to its respective base directory and use /usr strictly for user-installed stuff (similar to what /usr/local is used for now). That's about it, honestly, everything else is pretty self-explanatory.
>>107130959I'd take that bet. Path names work pretty much the same way on Windows.
>C:\Linux\Systemd32OS lives here, idk.>C:\UsersYou live here.>C:\Program FilesGames live here.That's it.The rest should be managed by magical elves at Microsoft when they finally buy & close source and copyright the fuck out of lunix.
>>107131156> Laughs in GPLv2
>>107131021what doesn't make sense to me is you losing sleep over it but hey, to each his own.
>>107131318>GPLv2GPL, KGB... Sounds like communism.Especially if these traitors want to hinder my good friend Satya Nadella (Terrific guy, real American patriot).Should get SCOTUS looking at the whole thing ASAP.
>>107130593There are ancient bell labs references to "et-cetera" when talking about /etc
>>107130516Is there even any ongoing effort to improve this system or did everyone just accept it and move on?Because it seems pretty retarded.
>>107130516Forgo half of it entirely because stuffing irrelevant shit in the filesystem is not ideal at all.
>Me and my friend is having a conversation about finland and russian relations. Mutual friend of ours thinks the finns love russians and dont mind the government. We oppose this position, thinking otherwise.What do our finnish brothers say about this?
>>107130516I'd remove /mnt because fags these days are so lazy and leave their extra drives in fucking /run/media... or mount them in ~/ somewhere
>>107132191what?
/dontopen/dontopen/cp
>>107130635If you get filtered by absolute/relative paths maybe computers aren’t for you. This is even true in webshit.
>>107132191[Sytem prompt: What did the original poster type before you "corrected" it for the thread?]
Get rid of it all and start over:/os/ - operating systems live here/files/ - user files go here/apps/ - programs live here/drives/ - other partitions etc are mounted here
>>107132744/ - stuff goes here
>>107132769It would be strictly enforced
>>107130775Me too, but I still have no clue what it's supposed to be for
>>107130516It's fine as is minus some redundancy but most distros already symlink /usr/lib to /lib and shit
/bin # binaries with semantic versioning, like "cmake-4.1.2"/lib # libraries that are machine code with "/opt # libraries that are source code with "/include # headers with "/share # documentation and additional media with "/path/{bin,lib,opt,include,share} # symlinks to the former without the semantic versioning/var # system-wide logs/etc # system-wide configall the others like proc, sys, dev, home, tmp, and such would remain the same. the only confusing or ambiguous part is that if the directories under etc would follow semantic versioning or not. but that's probably better left to the individual programs to decide
>>107130516//system/static/boot/system/static/libraries/system/static/binaries/system/media/system/devices/system/configuration/users/users/chud
//system/static/boot/system/static/libraries/system/static/binaries/system/media/system/devices/system/configuration/users/users/chud
>>107130516Make all the root folders 3 letters long max
>>107130516Install every package in a directory named after the hash of its contents
>>107130516the only thing I hate about linux is that my home folder gets messy.I would force every shitty binary to store it's shit in ~/.config or something.
>>107130516The way I order my personal files.There's /root/and then under root there's /tmp/.Everything goes into tmp.
>>107133913I mean look at this shit.I never had it that bad on mac or windows.
>>107133913https://github.com/b3nj5m1n/xdg-ninja
>>107134034thank you fren.
>>107130728This