Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219224

Re: need syntax for /etc/fstab to mount space on an ssd over /tmp

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: need syntax for /etc/fstab to mount space on an ssd over /tmp
Date 2020-02-17 16:40 +0100
Message-ID <zAQF3-Mh-5@gated-at.bofh.it> (permalink)
References <zAGZ3-3nT-1@gated-at.bofh.it> <zAIet-46D-7@gated-at.bofh.it>
Organization none,nada,zip

Show all headers | View raw


On Monday 17 February 2020 01:34:02 Andrei POPESCU wrote:

> On Lu, 17 feb 20, 00:10:52, Gene Heskett wrote:
> > Greetings all;
> >
> > I am trying to remove as much write activity as possible from the
> > u-sd that a raspi boots from.  To that end I'll create a partition
> > on an ssd, of 5000 megs, then copy the existing /tmp's contents to
> > it it, then mount the ssd partition of that name on top of it where
> > it is in the u-sd now. A partition labeled tmp-u-sd-temp would be
> > about the least mistake prone to put in /etc/fstab. I did this once
> > at least a decade or more ago because I outgrew the /home/partition
> > but can't in 2020 remember the fstab syntax a decade+ later.
>
> To mount by label:
>
> # what              where   type    options     dump    fsck order
> LABEL=tmp-u-sd-temp /tmp    ext4    noatime     0       2
>
> man fstab
>
Thanks Andrei.

> Kind regards,
> Andrei


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 06:20 +0100
  Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Andrei POPESCU <andreimpopescu@gmail.com> - 2020-02-17 07:40 +0100
    Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 16:40 +0100
  Re: need syntax for /etc/fstab to mount space on an ssd over /tmp elvis <elvis@dogonfire.com> - 2020-02-17 09:30 +0100
    Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-02-17 11:10 +0100
      Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Carl Fink <carlf@panix.com> - 2020-02-17 13:00 +0100
        Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-02-17 16:50 +0100
        Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 17:10 +0100
      Re: need syntax for /etc/fstab to mount space on an ssd over /tmp Gene Heskett <gheskett@shentel.net> - 2020-02-17 17:10 +0100

csiph-web