Skip to content

show repository id in output of df and mount #4868

@wrohdewald

Description

@wrohdewald

Output of restic version

0.16.4
Which functionality do you think we should add?

Please add the repository id to output shown by the commands mount and df, so it would look like

Filesystem                     Type             Size  Used Avail Use% Mounted on
server:/export                 nfs4              11T  8.9T  1.4T  87% /server
restic:228ffbed4             fuse             0.0K  0.0K  0.0K       - /mnt

MichaelEischer pointed to the relevant source code:

systemFuse.FSName("restic"),

What are you trying to do? What problem would this solve?

This makes it easier to see which repositories are mounted where.
restic cat config | jq .id will show the repository id

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions