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


Groups > linux.debian.user > #219210

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

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: need syntax for /etc/fstab to mount space on an ssd over /tmp
Date 2020-02-17 07:40 +0100
Message-ID <zAIet-46D-7@gated-at.bofh.it> (permalink)
References <zAGZ3-3nT-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

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