Chris Murphy posted on Mon, 03 Jul 2017 17:21:18 -0600 as excerpted: > It's more like a bind mount of a directory, as far as what's going on > under the hood. I take it it's possible to delete a directory that is > bind mounted elsewhere? I'm not sure what happens though.
Yes, deleting a directory in a rw-mounted bind-mount is possible, as is simply modifying an existing file. What makes this "interesting" is the possibility that either the original mount or (at least) one of the bind-mounts is mounted ro, while the one you'd delete the directory in would obviously be rw in ordered for it to work, making it very possible for the contents of an ro mount to change! IOW, if there ever was a day when read-only meant unchangeable, that day is long gone. Just because it's read-only does NOT mean it's unchangeable! -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html