OpenComputers II

OpenComputers II

27.1k Downloads

Provide a way to wipe drives

Un1q32 opened this issue ยท 9 comments

commented

Is your feature request related to a problem? Please describe.
If I break my linux install I want to be able to restore it to its default state instead of having to get a new drive.
Describe the solution you'd like
I think when a hard drive with linux already on it is placed in a grid with a scrench it should revert it back to a normal hard drive with no data.

commented

But then where would you install it from?

commented

@atirut-w placing a drive without linux on it would make it a linux drive, but if it already had linux on it it would be wiped.

commented

Determining if a disk have Linux might be tricky

commented

Determining if a disk have Linux might be tricky

there is litterally a seperate item for disks with linux

commented

Yes but once you use them they becomes different. Maybe there are new files, dotfiles, etc. IIRC, these disks have a sort of template filesystem that becomes normal disk with a copy of those templates, sort of like burning an ISO file onto a disk.

commented

@atirut-w yeah ik. Using a scrench would destroy everything on it. It already does it just only works one way.

commented

Keep fresh Sedna Linux drive as a backup, and if you mess up your working drive, boot from backup drive and do dd if=/dev/vda of=/dev/vdb

commented

Keep fresh Sedna Linux drive as a backup, and if you mess up your working drive, boot from backup drive and do dd if=/dev/vda of=/dev/vdb

That works but I shouldn't have to keep a backup drive all the time it should be built into the mod.

commented

I wish I could install Linux on an empty hard drive with a wrench IRL...