this post was submitted on 10 Feb 2024
613 points (94.1% liked)

linuxmemes

21438 readers
1438 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] Buffalox 9 points 9 months ago (4 children)

    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. 😜

    [–] [email protected] 3 points 9 months ago (1 children)

    That's why grep also exists 😒.

    [–] Buffalox 1 points 9 months ago (1 children)

    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] 2 points 9 months ago* (last edited 9 months ago) (1 children)

    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 1 points 9 months ago (1 children)

    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] 2 points 9 months ago

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

    [–] [email protected] 3 points 9 months ago (2 children)

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

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

    [–] [email protected] 2 points 9 months ago (2 children)

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

    [–] [email protected] 4 points 9 months ago

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

    [–] [email protected] 2 points 9 months ago* (last edited 9 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 1 points 9 months ago

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

    [–] [email protected] 3 points 9 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] 2 points 9 months ago* (last edited 9 months ago) (4 children)

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

    [–] Buffalox 3 points 9 months ago

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

    [–] Buffalox 1 points 9 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 1 points 9 months ago* (last edited 9 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. 🤷‍♀️

    [–] Buffalox 1 points 9 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.