Is fsck obsolet for journaling FS? - Was: How do I Automount [snip]

Joel Roth jroth at pobox.com
Tue Dec 1 17:56:02 UTC 2015


Hi,

On Mon, Nov 30, 2015 at 08:34:58PM +0200, Tom H wrote:
> When Oliver said that fstab could be deleted, he was probably thinking
> of a default latest Ubuntu desktop use-case whereby someone has an EFI
> box with "/boot/efi", "/", "swap", and perhaps "/home". These
> partitions have a GPT PART/UUID type [1] that's recognized by systemd
> and are therefore auto-mounted correctly.

> [1] Frustratingly, different tools label this property differently:
> 
> blkid --> n/a
> fdisk --> Type-UUID
> lsblk --> PARTTYPE
> partx --> TYPE
>
I have two identical GPT drives whose partitions have identical GPT
PART/UUIDs. I doubt they would auto mount correctly.

partx --show /dev/sdb

NR  START        END    SECTORS   SIZE NAME                 UUID
 1     40     409639     409600   200M EFI System Partition b88cc0a6-0aea-46c4-836d-4059e154dda0
 2 409640 1953262983 1952853344 931.2G G-DRIVE Mini         f4f104b8-b981-45e4-b0c5-f0f828d8acb8

partx --show /dev/sdc

NR  START        END    SECTORS   SIZE NAME                 UUID
 1     40     409639     409600   200M EFI System Partition b88cc0a6-0aea-46c4-836d-4059e154dda0
 2 409640 1953262983 1952853344 931.2G G-DRIVE Mini         f4f104b8-b981-45e4-b0c5-f0f828d8acb8

Note that these so-called UUIDs are different than the UUIDs
reported by blkid. The authors are creating confusion
here, and deserve a bug report.

Joel

-- 
Joel Roth
  





More information about the ubuntu-users mailing list