Skip to content

shred /dev/full and shred /proc/self/mem should not exit 0 #263

Closed

Description

@oech3

coreutils 9.11 success in both cases which is strange for me.

Activity

  1. pixelb commented on May 13, 2026

    @pixelb
    Member

    shred supports writing to devices that don't report their size.
    I.e. it supports writing until it gets ENOSPC as a successful termination condition, i.e. /dev/full is a noop

    Also it doesn't write to empty regular files which is what /proc/self/mem reports as.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions