this post was submitted on 06 Sep 2024
153 points (94.2% liked)

Linux

4945 readers
98 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 
top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 1 week ago (2 children)

This is outdated, since /bin, /sbin and /lib now should be merged with their /usr counterparts

[–] [email protected] 1 points 4 days ago

It’s a tradition at this point. If you post an infographic about unix/linux system folders, you’re obliged to avoid all modern sources. Preferably, you would use material that is at least 20 years old.

[–] [email protected] 11 points 1 week ago* (last edited 1 week ago)

Also, fuck /media. All of my (middle aged) homies hate /media

[–] [email protected] 23 points 1 week ago

WTF, for the past 25 years, I thought /usr was short for /user, partially because of FreeBSDs preference for having user homes in /usr/home/*

[–] [email protected] 15 points 1 week ago

Here's a higher quality version

[–] [email protected] 12 points 1 week ago (5 children)

So where am i supposed to mount my permanent other file systems?

I used to mount them to home, after realizing how much headache that was causing i moved them to mnt. Surely that makes the most sense?

[–] [email protected] 12 points 1 week ago* (last edited 1 week ago) (1 children)

I usually put them in /media, so my games drive for example lives in /media/games.

Seems to mostly fit with the usual external media that gets mounted there.

[–] [email protected] 3 points 1 week ago

Yup, that's what I do too. Mine are mounted to /media/user/ by default.

[–] [email protected] 11 points 1 week ago

/mnt is reasonable and normal. I have used /mnt, /data, /media for various hardware and software mounted storage. It really doesn’t matter unless you’re dealing with some specific software or organization with esoteric requirements.

[–] [email protected] 6 points 1 week ago (2 children)

You can just make a new folder, I put mine on /data

[–] [email protected] 4 points 1 week ago

Doesn’t even have to be new; I’ve got one at ~/Downloads in my fstab.

[–] [email protected] 3 points 1 week ago

Its like the gates of heaven have just opened…

[–] [email protected] 6 points 1 week ago

You mount them to /proc for extra spiciness

[–] Scoopta 4 points 1 week ago

/mnt or /media usually. I use /mnt for permanent filesystems and /media for removable ones but there are no hard rules. My home folder is a separate filesystem from my rootfs, just depends on how you want things setup.

[–] [email protected] 12 points 1 week ago

A more accurate and detailed explanation is available by running man hier

[–] [email protected] 1 points 1 week ago

i know it would never happen but id love for microsoft to adopt a structure like this

[–] [email protected] 1 points 1 week ago

What's the difference between run time program data and temporary files? Is /tmp just for system level processes but not for user space?

[–] [email protected] 1 points 1 week ago

Cryptic mess, needs a redesign.

[–] [email protected] 0 points 1 week ago

I don't have this problem because I use Windows snorts