Score:0

How are automounted attached volumes provisioned?

de flag

I created and attached a volume to a Droplet:

resource "digitalocean_volume" "main" {
  name = "backups"
  initial_filesystem_label = "backups"
  region = var.region
  size = 50
  initial_filesystem_type = "ext4"
  description             = "A volume for backups"
}

resource "digitalocean_volume_attachment" "main" {
  droplet_id = digitalocean_droplet.main.id
  volume_id  = digitalocean_volume.main.id
}

I noticed the volume is automounted under /mnt/, and this file appearing on the droplet: /etc/systemd/system/mnt-backups.mount. I'm curious as to how the file /etc/systemd/system/mnt-backups.mount got provisioned and whether it can be disabled.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.