default filesystem

Lennart Poettering mzerqung at 0pointer.de
Mon Mar 3 17:02:14 UTC 2014


On Mon, 03.03.14 10:13, Bill Nottingham (notting at redhat.com) wrote:

> Luya Tshimbalanga (luya at fedoraproject.org) said: 
> > >As for "on LVM" ... I am not convinced LVM adds any gains on
> > >workstation especially if the workstation is a laptop.
> > 
> > Is it possible for the installer to detect if the machine is either a laptop
> > or a desktop? That was LWM could be disabled by default.
> 
> /sys/class/dmi/id/chassis_type
> 
> Of course, that value comes from the firmware. You want to trust firmware
> vendors?

This tends to be a better source for information like this:

/sys/firmware/acpi/pm_profile

And since Windows cares for this bit it even tends to be reliable to
some level. 

hostnamed exposes a "Chassis" property on the bus (and hostnamectl will
show you this), which looks for both of this files and allows users to
override this file.

That said, it sounds like a horrible hack to make use of this for
turning on/off LVM.

Quite frankly, I am pretty sure LVM has no place on non-servers, and should
not be offered by the desktop installer.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the desktop mailing list