You are viewing a single thread.
View all comments View context
10 points

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.

permalink
report
parent
reply
9 points

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
3 points

That’s why grep also exists 😒.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
3 points

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

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
2 points
*

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point
*

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. 🤷‍♀️

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

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!

Community stats

  • 6.5K

    Monthly active users

  • 1.3K

    Posts

  • 71K

    Comments