Project

General

Profile

Bug #262

[arch-nspawn] Detect if something is already mounted

lukeshu - over 9 years ago - . Updated about 8 years ago.

Status:
not-a-bug
Priority:
feature
Category:
-
Assignee:
-
% Done:

0%


Description

This way we can avoid mounting a bind mount twice, which has two benefits:

  1. Better handling of a previous error that didn't umount properly
  2. Users can set the bind mounts on fstab, to speed things up

History

#5

Updated by lukeshu over 9 years ago

It now uses `systemd-nspawn --bind` instead of an actual mount; which means that if we don't have to ever worry about it not being cleaned up properly.

But that still leaves reason two:

Users can set the bind mounts on fstab, to speed things up

In my experience, `systemd-nspawn --bind` is plenty fast, but I also have a fast machine. I'd appreciate feedback on what to do.

#7

Updated by lukeshu over 8 years ago

  • Subject changed from [archroot] Detect if something is already mounted to [arch-nspawn] Detect if something is already mounted
#8

Updated by lukeshu about 8 years ago

  • Status changed from info needed to not-a-bug

There's been no interest in this, so I'm closing it.

Also available in: Atom PDF