GNU bug report logs - #19570
bug: df and bind mounts

Previous Next

Package: coreutils;

Reported by: Vladimir A. Pavlov <pv4 <at> bk.ru>

Date: Sun, 11 Jan 2015 23:54:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 19570 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, 
 "Vladimir A. Pavlov" <pv4 <at> bk.ru>, 19570 <at> debbugs.gnu.org
Subject: Re: bug#19570: bug: df and bind mounts
Date: Mon, 12 Jan 2015 23:04:04 +0000
On 12/01/15 21:27, Bernhard Voelker wrote:
> On 01/12/2015 02:31 AM, Pádraig Brady wrote:
>> On 11/01/15 23:36, Vladimir A. Pavlov wrote:
>>> run /run tmpfs rw,noatime,nodiratime,nodev,noexec,mode=0755,size=1m 0 0
>>> /run/cgs/httpd /usr/cgs/httpd/run none rw,bind 0 0
> 
>> Thanks for the analysis and patch,
>> Current tests pass at least with it.
>> I'll analyse a little more, add tests and probably push.
> 
> hmm, tmpfs is problematic anyway, as one can specify anything
> as the dummy backing source device:
> 
>   $ mount -t tmpfs hello:/world /mnt
>   $ mount -t tmpfs something /mnt
>   $ mount -t tmpfs / /mnt
>   $ findmnt /mnt
>   TARGET SOURCE       FSTYPE OPTIONS
>   /mnt   hello:/world tmpfs  rw,relatime
>   /mnt   something    tmpfs  rw,relatime
>   /mnt   /            tmpfs  rw,relatime
> 
>   $ df -a --out=source,target | grep /mnt
>   hello:/world   /mnt
>   something      /mnt
>   /              /mnt
> 
> I'd almost tend to recommend to classify tmpfs as dummy
> file system like procfs etc.

I see what you mean.
However we take dummy to mean,
no associated storage in the memory hierarchy,
which tmpfs clearly has.

Pádraig





This bug report was last modified 10 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.