8
automatic bind mount/unmount
(discuss.tchncs.de)
Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.
Assuming that OP is using the term correctly, a bind mount is where you have a second "copy" of a mount somewhere else on the filesystem (like, you use
mount --bind). So he might specifically want two mountpoints for the mount. I don't use KDE, but I don't know if they do that with whatever system they have going on.Oh yeah, you're correct. I misinterpreted that. If @linuxPIPEpower@discuss.tchncs.de really does mean a bind mount, then I'm guessing it will require systemd. That can act upon the appearance of a file/folder and trigger another unit. In this case that would be a mount. Upon disappearance the reverse could happen.
I don't know of a user-friendly way to do it, but if OP is talking about real bind mounts, they aren't a normal user anymore and this is a very specific usecase.
Yeah, and you may very well be giving him the right answer; he very well may be just be accidentally using the term, and actually thinking of a regular mount. I gave a response specific to bind mounts as a top level comment.
EDIT: Yeah, he put a portion of his fstab up there
he's after honest-to-God bind mounts (or at least, that's what he's presently using).
I think systemctl might be a way because I have read that things are dependent on other things but beyond that I don't know how to organize it.