coreos / coreos/ignition

Add a way to delete inodes

Open
#739 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/usability jira kind/enhancement spec change
Dominant language
Go
Stars
974
Forks
296
Avg merge
6d 14h
Merged PRs (30d)
9

Description

Feature Request

Environment

Any

Desired Feature

Add a way to remove existing files/directories/links.

Other Information

I don't have a use case in mind, and it's not clear that removal of a file shipped with the OS is a common operation. But it might be good to include this for completeness. The main use might be for overriding a parent config.

It doesn't really make sense to add a shouldExist property to each of files/directories/links, since deleting an inode shouldn't require knowing its type. But adding a list of whiteouts/things-to-delete also seems awkward.

I don't think this functionality is critical for 3.0.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing how existing files, directories, and links are represented and handled, then resolve how a type-independent removal mechanism should work. Done means the project has an agreed design and a complete way to remove existing files, directories, and links.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.