ubuntu 16.04. Change label extreme portable SSD

Colin Law clanlaw at gmail.com
Thu Feb 4 11:09:34 UTC 2021


On Thu, 4 Feb 2021 at 10:26, Ian Bruntlett <ian.bruntlett at gmail.com> wrote:
>
> Hi Colin,
>
> On Wed, 3 Feb 2021 at 22:04, Colin Law <clanlaw at gmail.com> wrote:
>>
>> On my 20.04 the fstrim systemd script specifies --fstab which says
>> only run it on drives mentioned in fstab.
>
>
> I'm a systemd novice. Where/How can I check that out?

If you run
sudo systemctl status fstrim
it will tell you where the systemd script is.  I see in the output
Loaded: loaded (/lib/systemd/system/fstrim.service; static; vendor
preset: enabled)
Looking in that file I see
ExecStart=/sbin/fstrim --fstab --verbose --quiet
which is the command it runs.

Colin

>
> TIA,
>
>
> Ian
>
> --
> -- ACCU - Professionalism in programming - http://www.accu.org
> -- My writing - https://sites.google.com/site/ianbruntlett/
> -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list