maindavfs2 - Support: sr #110427, Ubuntu handling for remote...

 
 

sr #110427: Ubuntu handling for remote filesystem

Submitter:  None
Submitted:  Fri 22 Jan 2021 07:25:35 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 03 Feb 2021 10:35:57 AM UTC, comment #1: 

There are several aspects to this question.

1) davfs2 does not directly interact with the virtual filesystem of Gnome or any other desktop environment. It uses the standard system calls of the Linux kernel to mount into the standard Unix-like file system tree. It can not pass anything to Nautilus or any ather graphical file manager.

2) The mount utilities of GNU/Linux, especially the mount command and the file /etc/fstab, know option "_netdev" to indicate that the file system mounts some resource that is accessed through a network connection (is remote). If you use fstab you should always  set option _netdev. But: as far as I could test (XFCE and Thunar) desktop environments ignore this option. They should not and you might report a bug there.

3) davfs2 also writes this option into the /etc/mtab file. So application can know this for mounted davfs2 file systems even if there is no entry in fstab.

Note this current bug:
When distributions replaced the file /etc/mtab with a sybolic link to /proc/self/mounts some options disapeared because the kernel does not know of them. Those userspace options have now to go into file /var/run/mount/utab. When I made this changes to davfs2 I missed the option _netdev. So at the moment it is missing on most systems. This bug will be fixed in the next version of davfs2.

Summary:
Most likely the problem is that desktop environments ignore option "_netdev". But you should try this for your system.

Werner

- <_71007>
Fri 22 Jan 2021 07:25:35 AM UTC, original submission:  

~$ gio info --filesystem nextcloud/
attributes:
  filesystem::size: 16654336
  filesystem::free: 18446744073709547520
  filesystem::type: fuse
  filesystem::used: 16658432
  filesystem::remote: FALSE

Nautilus using a filesystem attribute to define mount point to remote. davfs2 mount should pass attribute filesystem::remote: TRUE to prevent thumbnailing and subfolders discovery. This is very bandwidth intensive even on good local area network.

Attribute is not writable so to my knowledge you cannot change that in any way when mounted.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-03 _71007 Severity4 - Important 3 - Normal
        StatusNone In Progress
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code