[systemd-devel] [HEADS-UP] Discoverable Partitions Spec

Kay Sievers kay at vrfy.org
Mon Mar 10 11:53:29 PDT 2014


On Mon, Mar 10, 2014 at 7:34 PM, Goffredo Baroncelli <kreijack at libero.it> wrote:
> On 03/07/2014 07:26 PM, Lennart Poettering wrote:

>> Since yesterday systemd in git can now discover root, /home, /srv and
>> swap partitions automatically based on GPT type GUIDs, thus making
>> /etc/fstab unnecessary for simple setups.
>>
>> I have now put together something like a spec describing the logic
>> behind that, and what it is good for:
>
>> http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
>>
>
> Form the FAQ:
> <CITE>
> [...] What about automatic mounting of btrfs subvolumes to /var, /home and so on?
>
> Doing a similar automatic discovery of btrfs subvolumes and mounting them automatically to the appropriate places is certainly desirable. We are waiting for the btrfs designers to add a per-subvolume type UUID to their disk format to make this possible. [...]
> </CITE>
>
> Instead of relying on the subvolume UUID, why not relying to the subvolume name: it would be more simple and flexible to manage them.

As a general rule: human-readable names should be left to the
administrator, provide an identifier for humans, and should not be
overloaded with magic machine behavior.

Kay


More information about the systemd-devel mailing list