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


Groups > linux.debian.user > #212527

Re: mount weirdness

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: mount weirdness
Date 2019-08-09 20:00 +0200
Message-ID <ythlf-5A6-1@gated-at.bofh.it> (permalink)
References <ytgpd-503-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

David Wright wrote:
> it appears that any subsequent mount commands have to
> agree explicitly with the earlier choice. Are there other, similar
> factors involved in the OP's case…

Ah yes.

I was similarly confused by my system's behavior on double mount
and the fact that i remember to have needed mount -o loop for mounting
two different ISO 9660 sessions on the same DVD.

It seems that identical multi-mounts actually work like links to the
same filesystem:

  # mount /dev/sdc2 /mnt/fat
  # mount /dev/sdc2 /mnt/fat2
  # echo hallo >/mnt/fat/x
  # cat /mnt/fat/x
  hallo
  # cat /mnt/fat2/x
  hallo


Greg Wooledge wrote:
> The disappearance of one of the mounts from "df" output also tells me
> that, if nothing else, "df" is not prepared to handle this situation.

Or it avoids intentionally to represent one mounted filesystem as two.
The code starting at
  https://sources.debian.org/src/coreutils/8.30-3/src/df.c/#L688
looks like considerations for possibly doing one of:
  /* Discard mount entry for existing device.  */
  /* Discard mount entry currently being processed.  */

---------------------------------------------------------------------

But again, this is a deviation from the problem.

Why does mount fail silently ?
Why is bad luck attached only to the mount directory path /wa1 ?

(Is the problem bound to mount(8) or does it sit in mount(2) ?)


Have a nice day :)

Thomas

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


Thread

mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-05 22:40 +0200
  Re: mount weirdness Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-06 08:10 +0200
    Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 17:10 +0200
      Re: mount weirdness rhkramer@gmail.com - 2019-08-06 17:40 +0200
        Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 19:40 +0200
          Re: mount weirdness Richard Hector <richard@walnut.gen.nz> - 2019-08-06 19:50 +0200
            Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 20:00 +0200
              Re: mount weirdness Richard Hector <richard@walnut.gen.nz> - 2019-08-06 20:20 +0200
      Re: mount weirdness Felix Miata <mrmazda@earthlink.net> - 2019-08-06 17:40 +0200
        Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 19:30 +0200
  Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-06 17:40 +0200
    Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 19:20 +0200
      Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-06 20:50 +0200
        Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-07 19:50 +0200
          Re: mount weirdness Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-07 20:00 +0200
          Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-07 22:50 +0200
      Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-06 21:00 +0200
        Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-07 20:00 +0200
          Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-07 23:30 +0200
  Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 10:20 +0200
    Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 10:50 +0200
      Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-09 21:20 +0200
    Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-08 12:00 +0200
      Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 14:40 +0200
      Re: mount weirdness Michael Stone <mstone@debian.org> - 2019-08-08 14:40 +0200
        Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 15:00 +0200
    Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-08 16:10 +0200
      Re: mount weirdness Michael Stone <mstone@debian.org> - 2019-08-08 17:00 +0200
        Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-08 19:10 +0200
          Re: mount weirdness Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-08 19:20 +0200
          Re: mount weirdness Michael Stone <mstone@debian.org> - 2019-08-08 20:20 +0200
            Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-09 18:30 +0200
              Re: mount weirdness Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-09 19:00 +0200
                Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-09 20:00 +0200
      Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-09 22:00 +0200
    Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-09 21:20 +0200

csiph-web