Sometimes I have made the mistake of dd if=/dev/zero of=/dev/sd2c - instead of dd if=/dev/zero of=/dev/rsd2c - or worse dd if=/dev/zero of=/dev/sdc. These kind of errors have filled /dev (or ultimately /)
Play over from my Linux days.
-----Original Message-----
From: owner-misc@openbsd.org <owner-misc@openbsd.org> On Behalf Of Benjamin Baier
Sent: Sunday, 5 April 2020 5:22 PM
To: Olivier <olivier@burelli.fr>
Cc: misc@openbsd.org
Subject: Re: [/ is full] How to delete junk in /dev ?
On Sun, 5 Apr 2020 10:19:30 +0200
Olivier <olivier@burelli.fr> wrote:
> Hi,
>
> I am running OpenBSD from a long time(T410 / Amd64) ; and 6.6 from the release. I did not monitor the size of / in the past...
> Until today :(
>
> Please, how to identify junk to remove in /dev below :
$ find /dev/ -type f
Everything this command finds except /dev/MAKEDEV can be removed.
Most likely this is a dd(1) gone wrong.
-- Ben
No comments:
Post a Comment