Comments (3)
Ah, interesting. So let me answer your 2nd question first.
I'm curious to know where the drive is located on the filesystem (here macOS)?
In the ~/.hyperspace
folder, you'll find the "internal database." The hyper technology is a kind of database that acts like different things -- kind of like, for instance, if you built a filesystem on top of MySQL. (It's less insane than doing that but you get the idea.) So when you're interacting with a hyperdrive, you're interacting with that database.
It might help to think of "hyperdrives" as virtual folders.
Expanding a little more on that for those interested
The "files" are stored in hyper's internal storage, and would look like nothing interesting if you looked at them. Another metaphor- it's kind of like how a .zip file contains lots of files inside it, but with hyper it's like 5-10 internal files with bits of data scattered around. It's done this way to make the hyper database as fast as possible.I want to delete this drive from this computer but it seems that I cannot. What should I do?
So the drive rm
command only deletes files inside of a hyperdrive, though intuitively I understand why you expected it to delete the drive itself.
We don't have a "delete drive" command yet, @andrewosh let's plan to talk through how that would work
from cli.
@Jolg42 if you want to do a big unrecoverable nuke, that'd do it!
from cli.
Thanks @pfrazee for the details!
Here is a snapshot of ~/.hyperspace
for the curious (kinda looks like Spotify's cache 😄)
So I guess for now if I want to a complete cleanup rm -r ~/.hyperspace
should do the trick.
from cli.
Related Issues (20)
- --version not pulling from the correct package.json HOT 1
- Error on bee create HOT 1
- Error while using `sync` to create a drive. HOT 3
- Minimum node version not enforced HOT 2
- Syntax Error HOT 5
- .datignore equivalent
- hyp sync/diff destroys contents of mounted drives
- Error: Block not available from peers HOT 3
- --yes option for scripted use HOT 1
- --only/--quiet/… option for hyp create HOT 4
- how to sync bee HOT 1
- "Unhandled 'error' event" when attempting to seed a hypercore which is neither drive nor bee
- Bee not seeding via CLI
- Daemon not detected when directly started from hyperspace HOT 5
- keep getting "the daemon is not active" even after running hyp daemon start HOT 18
- `hyp drive sync . -y` crashes with heap out of memory allocation failure HOT 1
- hyp drive http default port clash with ipfs
- Error when syncing folder with symlink
- Cannot use full path for HYPERSPACE_SOCKET
- installing cli by pnpm raises warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.