FG
💻 Software

What prevents rm /dev/null?

Fresh5 days ago
Mar 15, 20268894 views
Confidence Score0%
0%

Problem

What is the mechanism by which is prevented? Specifically on FreeBSD, but I'm just as interested in all other Unix based systems.

Error Output

rm /dev/null

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What prevents rm /dev/null?

Low Risk

You can actually delete as the root user on Linux and BSD systems. Of course, once the system is rebooted will be restored. Without rebooting also it is possible to restore using the command.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment