Skip to content

mount with a --source prefix #3

Description

@piedar

Once this works, I can selectively migrate directories to ipfs and/or mfs.

mount.mfs --source /usr/portage/distfiles --target /usr/portage/distfiles

# or maybe
mount.mfs --source /torrents --target /srv/deluge/torrents

# or even
mount.ipfs --source /Qm... --target /mnt/archive

This can be done already with subdir from man mount.fuse.

mount.mfs /usr/portage/distfiles -o modules=subdir,subdir=/usr/portage/distfiles

Symlinks can also do the job.

ln -s /mfs/torrents /srv/deluge/torrents-mfs

caveats

Should --source be reserved for something else? Maybe it makes more sense as the ipfs-api endpoint.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions