• Programmer Belch
    link
    fedilink
    English
    1010 months ago

    I prefer monolithic systems because I can put the discs wherever I want. Using lsblk or just the mount command you get a list of all the mountpoints of different devices.

    Admittedly, the names of the devices can be confusing but it’s something I have gotten accustomed to.

    • @Buffalox
      link
      910 months ago

      mount
      proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
      sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
      dev on /dev type devtmpfs (rw,nosuid,relatime,size=8141320k,nr_inodes=2035330,mode=755,inode64)
      run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
      efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
      /dev/sdb2 on / type ext4 (rw,noatime)
      securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
      tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
      cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
      pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
      bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
      systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=22556)
      tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
      debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
      hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
      mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
      fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
      configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
      binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
      tmpfs on /tmp type tmpfs (rw,noatime,inode64)
      /dev/sda2 on /mnt/tera-home type ext4 (rw,relatime)
      /dev/sdb1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
      tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1629900k,nr_inodes=407475,mode=700,uid=1000,gid=1001,inode64)
      gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1001)
      portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1001)

      Yes I can see that’s very convenient for seeing your drives. 😜

        • @Buffalox
          link
          110 months ago

          Yes, grep is cool, but I use/need it so rarely, I can never remember the syntax.
          My system has functioned so reliably for years, that I hardly ever need to do any fixing or configuration.
          The only need for maintenance, is basically hardware upgrades. 👍 Pretty amazing IMO. 😀

          • @[email protected]OP
            link
            fedilink
            English
            2
            edit-2
            10 months ago

            Start using a more “terminal heavy” distro, you’ll learn the syntax by hart 😂.

            Or just try and do more of the things you usually do with a GUI, over the terminal. I initially learned that so many things are just better done over the terminal. Why? Cuz the GUI doesn’t usually have all of the options. This is usually not the case with Windows because almost everything is GUI based, Windows doesn’t actually have an equivalent of what the terminal is in UNIX like OSes. That’s why it has the CMD/PS/WSL mess that it has now. The combo of the three of them tend to replace what the terminal is in UNIX like OSes.

            In the end, even they admitted (not publically of course) that true power comes from using a terminal/command line based tools. You can specify to do almost any combo of switches, something that a GUI can almost never do, especially with complex programs, like let’s say, ffmpeg. Can you imagine how complicated a GUI would be if every possible combo of command line arguments can be made with said GUI? It’ll be better off to just use the terminal, lol 😂.

            • @Buffalox
              link
              110 months ago

              I very rarely need to do anything in the terminal that takes more than a couple of minutes. I grew up with terminal based systems, and IMO nothing will ever beat the Amiga in clever design and nice terminal with way more intuitive commands. I never really liked Unix, and Linux is essentially like Unix when you use the Terminal.
              I’ve been using computers since 1979, so I admit I don’t play with them like I used to.

              • @[email protected]OP
                link
                fedilink
                English
                210 months ago

                Yeah, I get it, neither do I. Time is limited, real life comes first, work, family and all that.

      • @[email protected]
        link
        fedilink
        310 months ago

        Everything should be mounted in fstab. Post your cat /etc/fstab.

        I’m betting it’s pretty easy to read.

        • Programmer Belch
          link
          fedilink
          English
          210 months ago

          Devices you mount after startup like external USB don’t show up in fstab do they?

          • @[email protected]
            link
            fedilink
            410 months ago

            No and since systemd you actually can have an empty fstab file too (booting via solely automounting is possible)

          • @[email protected]OP
            link
            fedilink
            English
            2
            edit-2
            10 months ago

            No, their mount points are usually in /run/media/[username]/[partition_label]… or if it doesn’t have a label, the UUID of the partition.

        • @Buffalox
          link
          110 months ago

          Yes, I know, but that’s not automatic, and automatic mount-points vary for removable drives based on DE and distro.

      • Programmer Belch
        link
        fedilink
        English
        310 months ago

        Of course you have to filter out filesystems without a format like ext*, ntfs or FAT as they don’t represent external disks. mount also doesn’t let you see unmounted devices, that’s why I use lsblk

      • @[email protected]
        link
        fedilink
        2
        edit-2
        10 months ago

        That’s a very large amount of things to show up. Maybe use lsblk instead? Reminds me of snaps.

        • @Buffalox
          link
          310 months ago

          I just removed snapd and snapd-glib and the list is 3 lines shorter.

        • @Buffalox
          link
          110 months ago

          I don’t have Ubuntu snap, or anything called snaps installed. I’m using Manjaro, but if snap was there originally I have removed it. No way I’d use that.

        • @Buffalox
          link
          110 months ago

          OK I have something called snapd, which I may want to remove.

          extra/snapd 2.61.1-1 [installed]
          Service and tools for management of snap packages.

        • @Buffalox
          link
          1
          edit-2
          10 months ago

          lsblk is better, but still a bit confusing:

          bh /mnt/tera-home/home/bh lsblk
          NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
          sda 8:0 0 931,5G 0 disk
          ââsda1 8:1 0 300M 0 part
          ââsda2 8:2 0 922,4G 0 part /mnt/tera-home
          ââsda3 8:3 0 8,8G 0 part
          sdb 8:16 0 238,5G 0 disk
          ââsdb1 8:17 0 300M 0 part /boot/efi
          ââsdb2 8:18 0 238,2G 0 part /
          sdc 8:32 0 931,5G 0 disk
          ââsdc1 8:33 0 931,5G 0 part
          sdd 8:48 0 698,6G 0 disk
          ââsdd1 8:49 0 512M 0 part
          ââsdd2 8:50 0 698,1G 0 part
          sde 8:64 0 256,2G 0 disk

          What’s the weirdo “ââ” for? It would look 10 times better without.
          Edit:
          Ah apparently a terminal character compatibility problem, it’s supposed to be a graphics character showing indentation. 🤷‍♀️