this post was submitted on 14 Nov 2025
31 points (100.0% liked)

Linux

59763 readers
612 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

I've 2 network drives on one subnet (nfs and samba). I would like to access them only if computer is connected to particular ssid (subnet).

I'm using gnome primarily. And files stops responding if mount points can't be accessed. There is no real way to recover from this apart from connecting to network, unmount and then change network.

I would like those drives to be accessed by system only if they are reachable.

[EDIT][UPDATE]: Following suggestions from comments. I've tried systemd and autofs methods both of them don't work the way I've setup access to mounts. If mount point is in home OR bookmarks in files app, it would hang up as soon as network is disconnected. It works well when mount points are not visible by default (for e.g. /smb/share1). Currently using autofs <- easy and short to setup with mount points under /smb and /nfs

you are viewing a single comment's thread
view the rest of the comments
[–] caseyweederman@lemmy.ca 6 points 1 week ago

They just reach into their computer case and tickle the pins on the CPU when they want to initialize PID 1.