[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: TW won't let me mount by device-name
From:       Felix Miata <mrmazda () earthlink ! net>
Date:       2024-01-26 18:19:48
Message-ID: b3289609-2f86-3440-6d50-f9cb7e43e231 () earthlink ! net
[Download RAW message or body]

Ben T. Fender composed on 2024-01-26 07:09 (UTC-0500):

> But the thing is this: /dev/sda7 is another linux OS in this case and
> no-one told the freakin' system to *mount* it ANYWHERE! So why is it
> being mounted at all? Knowing where something is is one thing,
> sticking your dick into it without being told to is something else. 

This has been bothering me too lately, mostly though with ESPs on multiboot
systems, sticking the ESP in /efi if no entry for ESP exists in /etc/fstab. One
way to deal with it generally is to create a noauto fstab entry for it.

Ben T. Fender composed on 2024-01-26 11:39 (UTC-0500):

> # fdisk -l
> Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
> Disk model: Samsung SSD 860
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 2CB71AC7-D2DB-4B81-A559-02802643D197

> Device          Start        End   Sectors  Size Type
> /dev/sda1        2048    2099199   2097152    1G EFI System
> /dev/sda2     2099200    4196351   2097152    1G BIOS boot
> /dev/sda3     4196352   16779263  12582912    6G Linux swap
> /dev/sda4    16779264  226494463 209715200  100G Linux filesystem
> /dev/sda5   226494464  436209663 209715200  100G Linux filesystem
> /dev/sda6   436209664  645924863 209715200  100G Linux filesystem
> /dev/sda7   645924864  855640063 209715200  100G Linux filesystem
> /dev/sda8   855640064 1065355263 209715200  100G Linux filesystem
> /dev/sda9  1065355264 1275070463 209715200  100G Linux filesystem
> /dev/sda10 1275070464 1484785663 209715200  100G Linux filesystem
> /dev/sda11 1484785664 1694500863 209715200  100G Linux filesystem
> /dev/sda12 1694500864 1946159103 251658240  120G Linux filesystem

That's a lot of wasted disk space. Most installations here don't get a tenth of
that much allocated to /:
# fdisk -l | head
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: Patriot M.2 P300 512GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5B330B05...

Device              Start       End  Sectors  Size Type
/dev/nvme0n1p1       2048    657407   655360  320M EFI System
# lsblk -o NAME,FSTYPE,LABEL,SIZE,MOUNTPOINTS
NAME         FSTYPE LABEL         SIZE MOUNTPOINTS
nvme0n1                         476.9G
├─nvme0n1p1  vfat   PT3P01ESP     320M /boot/efi
├─nvme0n1p2  swap   pt3p02swap    1.7G
├─nvme0n1p3  ext2   pt3p03res     400M /disks/res
├─nvme0n1p4  ext4   pt3p04ulcl    3.9G /usr/local
├─nvme0n1p5  ext4   pt3p05home    6.3G /home
├─nvme0n1p6  ext4   pt3p06pub    12.3G /pub
├─nvme0n1p7  ext4   pt3p07stw     7.8G /
├─nvme0n1p8  ext4   pt3p08s153    7.8G /disks/s153
├─nvme0n1p9  ext4   pt3p09s151    7.8G /disks/s151
├─nvme0n1p10 ext4   pt3p10deb12   7.8G
├─nvme0n1p11 ext4   pt3p11s155    7.8G /disks/s155
├─nvme0n1p12 ext4   pt3p12ub22    7.8G
├─nvme0n1p13 ext4   pt3p13deb13   7.8G
├─nvme0n1p14 ext4   pt3p14deb11   7.8G
├─nvme0n1p15 ext4   pt3p15f39     7.8G
├─nvme0n1p16 ext4   pt3p16s154    7.8G /disks/s154
├─nvme0n1p17 ext4   pt3p17ub20    7.8G
├─nvme0n1p18 ext4   pt3p18f38     7.8G
├─nvme0n1p19 ext4   pt3p19sslo    7.8G /disks/sslo
├─nvme0n1p20                      7.8G
├─nvme0n1p21 ext4   pt3p21ub18    7.8G
├─nvme0n1p22 ext4   pt3p22mga09   7.8G
├─nvme0n1p23                      7.8G
└─nvme0n1p24 ext4   pt3p24ub24    7.8G
#
The most allocated to a / FS here is 18G, and I only put /home, /usr/local,
various data types, and sometimes /boot on separate filesystems/partitions.
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic