[Bug 1779443] Re: esp partitions should be mounted with "discard" option where applicable

Phillip Susi psusi at ubuntu.com
Thu Aug 2 19:22:56 UTC 2018


It would probably be better if the FAT filesystem simply got the proper
discard ioctl like the rest.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-efi in Ubuntu.
https://bugs.launchpad.net/bugs/1779443

Title:
  esp partitions should be mounted with "discard" option where
  applicable

Status in partman-efi package in Ubuntu:
  Triaged

Bug description:
  This is a bug report / feature request about Ubuntu installations
  created by either the Ubuntu Desktop or Server (both 'live' and
  classic/alternative) installer. 'ubiquity' may be the wrong package.

  Currently, when you install any variant of Ubuntu to a storage type
  which supports TRIM (discards), the following is placed in /etc/fstab:

  UUID=1234-ABCD  /boot/efi       vfat    umask=0077      0       1

  However, since the fstrim command cannot handle vfat file systems (and
  vfat file systems are thus not handled by /etc/cron.weekly/fstrim),
  but vfat file systems support the 'discard' option, they should be
  mounted with this option if the underlying storage device can be
  determined to support TRIM.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 4.15.0-23.25~16.04.1-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Jun 30 10:26:09 2018
  InstallCmdLine: BOOT_IMAGE=/install/vmlinuz file=/cdrom/preseed/ubuntu-server.seed quiet ---
  InstallationDate: Installed on 2017-04-29 (426 days ago)
  InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-efi/+bug/1779443/+subscriptions



More information about the foundations-bugs mailing list