1

I've transitioned from Windows to Linux Ubuntu 18.04 just yesterday and trying to wrap my head around the directory system.

So far it seems very straight-forward, as explained by Rinzwind in a similar question, and explained in the Linux Foundation docs.

From my root directory, however, I see 2 additional directories listed: /cdrom and /snap.

What are their specific purposes? Shouldn't /cdrom be located under the /media directory? Is the /snap directory dedicated to "snap apps"? If so, what makes it different enough to deviate from the /usr/bin and /opt conventions?

Note: Ubuntu is my first Linux distro used, so I do not know if these directories are Ubuntu specific or not.

ChrisK
  • 21
  • About snap, you might want to look at the discussion here. You might have to look around for a good introductory discussion on snaps; this Wikipedia article might help. It's basically a new way of managing new software packages that is new (as far as I remember) to 18.04 that co-exists with apt. In short, leave those /snap directories alone. It's not something you need to worry about or even use directly. – Ray Sep 22 '18 at 15:09
  • Adherence to the Linux Filesystem Hierarchy Standard (read it) is not mandatory. Each distro can do as they see fit. – user535733 Sep 22 '18 at 15:47
  • @user535733 Adherence isn't mandatory, but minimum of directories from the FSH standard should be followed by an OS claiming itself to be Unix-like. Plus it's a portability consideration for running software on different systems – Sergiy Kolodyazhnyy Sep 22 '18 at 23:37

0 Answers0