Yeah, I'm actually kinda curious to see what it would do, since the command is pretty nonsensical. Probably just an immediate failure along the lines of "/ is a directory"?
Given the Linux initramfs targets a block device as a file that then gets mounted as the persistent root filesystem, I don't think it would really be possible to unmount / and replace the location with a file. Root isn't represented as a file or directory in any filesystem structure and is a construct of many Unix and Unix-like kernels.
13 Comments
Doll_Tow_Jet-ski@fedia.io · 53 pts · 1y
Anyone who gets a wrong answer from a LLM got what was coming to them
Gladaed@feddit.org · 40 pts · 1y
You asked a weird, nonsensical question and got a weird answer. Nothing to see here.
hera@feddit.uk · 52 pts · 1y
The issue is that AI never says no or tells you that your question is not valid
homesweethomeMrL@lemmy.world · 53 pts · 1y
Because AI doesn't know what words mean.
jrgd@lemm.ee · 23 pts · 1y
Certainly a failure but at least it wouldn't actually be as harmful as it reads, given / is a directory and the assumption you're not root.
gsfraley@lemmy.world · 6 pts · 1y
Yeah, I'm actually kinda curious to see what it would do, since the command is pretty nonsensical. Probably just an immediate failure along the lines of "/ is a directory"?
LostXOR@fedia.io · 17 pts · 1y
gsfraley@lemmy.world · 16 pts · 1y
It's brave individuals like yourself who are doing the lord's work 🫡
LarsIsCool@lemmy.world · 1 pts · 1y
Can it not be a directory? How?
jrgd@lemm.ee · 2 pts · 1y
Given the Linux initramfs targets a block device as a file that then gets mounted as the persistent root filesystem, I don't think it would really be possible to unmount / and replace the location with a file. Root isn't represented as a file or directory in any filesystem structure and is a construct of many Unix and Unix-like kernels.
LostXOR@fedia.io · 19 pts · 1y
myersguy@lemmy.simpl.website · 9 pts · 1y
TBF, that's pretty much how mystical it is: https://www.geeksforgeeks.org/how-to-clear-ram-memory-cache-buffer-and-swap-space-on-linux/
Ephera@lemmy.ml · 14 pts · 1y
I do like the picture, too.
I have a feeling how it came up with that
3... 🙃Andromxda@lemmy.dbzer0.com · 5 pts · 1y
What AI service is this? Claude?
qwerty@discuss.tchncs.de · 3 pts · 1y
Phind.com