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


Groups > linux.debian.user > #248015

Re: fstab problem [FIXED]

From David <bouncingcats@gmail.com>
Newsgroups linux.debian.user
Subject Re: fstab problem [FIXED]
Date 2022-05-09 01:40 +0200
Message-ID <EkYFj-ebQy-3@gated-at.bofh.it> (permalink)
References <EkXge-eb8l-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 9 May 2022 at 05:30, ghe2001 <ghe2001@pm.me> wrote:

> The fstab:
> # <file system>                                 <mount point>   <type>  <options>               <dump>  <pass>

On Mon, 9 May 2022 at 08:00, ghe2001 <ghe2001@protonmail.com> wrote:

> > My bad -- default options is spelled 'defaults'.
> >
> > UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 defaults 0 0
>
> Well, damned if it didn't work.  And I had all of my non-root fstab entries with singular defaults too.  Thanks vastly, David.

The only reason to that <options>=defaults exists is so that
a non-default value can be specified for either <dump> or <pass>,
while not specifying any non-default <options>.

Because there can't be a fifth or sixth column unless there is
also a fourth column. "defaults" is just a dummy value for the
fourth column.

Using "defaults 0 0" is specifying default value for all three
of <options>, <dump>, and <pass>.

In that situation, they can all be omitted.

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


Thread

Re: fstab problem [FIXED] ghe2001 <ghe2001@protonmail.com> - 2022-05-09 00:10 +0200
  Re: fstab problem [FIXED] David Wright <deblis@lionunicorn.co.uk> - 2022-05-09 01:00 +0200
    Re: fstab problem [FIXED] ghe2001 <ghe2001@protonmail.com> - 2022-05-09 01:10 +0200
  Re: fstab problem [FIXED] David <bouncingcats@gmail.com> - 2022-05-09 01:40 +0200
    Re: fstab problem [FIXED] David Wright <deblis@lionunicorn.co.uk> - 2022-05-09 02:50 +0200
  Re: fstab problem [FIXED] David Christensen <dpchrist@holgerdanske.com> - 2022-05-09 08:40 +0200
    Re: fstab problem [FIXED] David Wright <deblis@lionunicorn.co.uk> - 2022-05-09 19:30 +0200

csiph-web