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

Tom H tomh0665 at gmail.com
Tue Dec 1 18:30:28 UTC 2015


On Tue, Dec 1, 2015 at 7:56 PM, Joel Roth <jroth at pobox.com> wrote:
> 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.

The UUIDs that you have here aren't GPT Type-UUID/PARTTYPE/TYPE UUIDs.

You have to use "partx -o ...,TYPE,... -s /dev/sd{b,c}" in order to
get the TYPE.

And TYPE for sdb1 and sdc1 above will be
"c12a7328-f81f-11d2-ba4b-00a0c93ec93b" because they're ESPs.




More information about the ubuntu-users mailing list