00:30:00 The only slight issue I have with mosh is that it does not support cursor shape. I use this a lot, both in my vi-mode shell and in vi. 00:46:55 mine is that it does not seem an active project 00:47:11 find that too critical for something like that 00:52:49 it'll probably reactivate when some cryptographic advancement considered important comes out 00:52:57 until then, it's in a maintenance mode 01:09:43 it works just fine otherwise 01:10:06 I did see occasional commits on git 01:26:26 Is there an automounter expert in the house? 01:27:26 I'm trying to convert something which I could do with /etc/fstab, but that would leave it mounted all the time (and this should be lazy-mounted). 01:38:48 geometry: AFAIK, there is no "lazy" mounting in FreeBSD. What are you trying to accomplish? 01:43:02 Trying to do a single mount using the automounter (which is effectively lazy mounting). 01:43:43 What automounter? 01:43:49 Like fuse or something? 01:44:16 The automounter (/etc/auto_master). 01:44:27 automountd running? 01:45:08 Yup, the difficulty is figuring out the right syntax for /etc/auto_master. 01:46:57 The portion of the man page under "MAP SYNTAX" seems to be the right section, but I'm left puzzled at WTF "key" should be (some portion of the path I'm guessing, but I'm puzzled). 01:50:13 geometry: What are you trying to mount? 01:50:21 And what's currently in /etc/auto_master? 01:51:00 An NFS mount, some of the options are specific to the particular mount and /net doesn't work well. 01:51:23 I've only used automount a couple times in the past. IIRC, I used it to point to a separate file that specified mount types and locations? 01:51:54 Like, /etc/automnt_dirs or something. 01:53:24 geometry: Can you provide the exact line in /etc/auto_master? 01:55:20 I've tried several things none of which give me indications of success, I know what I would use for `mount` or /etc/fstab, but I'm puzzled about converting to automounter. 01:56:05 I believe the "key" is just the name of the mount (and perhaps what the mount name becomes if available). So, something like: "media -fstype=nfs,rw nfs-server:/share-path" should work? 01:56:36 Or: "movies -fstype=nfs,ro nfs-server:/movies" 01:56:39 Something like that? 02:18:08 "too many arguments at /etc/auto_master, line 8" 02:18:18 What's line 8? 02:19:12 auto -fstype=nfs, :/ 02:21:48 Actually that is line 9, line 8 begins with '#' so I thing it is counting from 0. 02:22:01 How are you specifying ? Also, I don't think you need "auto" in there. 02:22:34 Leading "/" in the ? 02:24:03 "test -fstype=nfs,whatever nfs-server:/share" should mount as /master/test or just /test? 02:24:15 Since it is a test, it is /tmp/test_point and wouldn't "auto" be the key? 02:24:59 No. The key is the first column entry. 02:27:09 What I did was something like "/- auto_mount" in the /etc/auto_master file. Then, in the /etc/auto_mount file, I'd add something like: 02:28:13 "/mnt/nfs-share -fstype=nfs,rw nfs-server:/nfs-share" 02:28:30 topcat001, Just noting that mosh is going to use the terminal so cursor shape would depend on the terminal not mosh. 02:28:43 And I could add additional mountpoints and shares to the /etc/auto_mount file. 02:33:17 It's been a long time since I have set up the automounter. But for key think trigger point to trigger the mount happening. 02:33:40 Yep. It's the "auto" point. 02:34:23 For NFS, maybe I didn't use the -fstype= arg. Maybe I did just use the "-intr,nfs,rw" instead? Looking at the auto_master man page, that would make sense, I suppose. 02:36:09 I don't recall ever seeing -fstype= and it was just immediately nfs mount options. 02:39:33 Problem is I need options besides intr. 02:40:18 "failed to execute /etc/autofs/special-intr,". 02:52:17 List them out as comma separated options. 02:53:04 I recall there being three types of maps. Host maps, direct maps, indirect maps. 02:53:39 Indirect maps more of a rule to generate the paths, are the hardest to get a mental understanding of, so best to start with one of the other two first while trying to understand them. 02:54:31 This is only for 2 mount points, so I doubt indirect maps would be worthwhile. 02:54:35 The host map is perhaps the simplest. Any access to /net/foo will run "showmount -e foo" and see what directories are exported for nfs mount, and then mount them as /net/foo (where foo is a hostname). 02:55:04 Then direct maps are pretty much what it says on the label. It maps this to that directly and mounts it. 02:56:03 A direct map seems plausible for this situation. 03:00:12 Another tidbit I remember is that it is good to always use a subdirectory of / or deeper. Otherwise doing something like "ls -l /" will cause everything to automount. Better to have it /nfs/foo instead so that this only would happen if someone "ls -l /nfs/" and that is less of an issue. 03:00:26 Yep. I really should mess with automount again. I did have it working and it worked just fine AFAIR. 03:01:16 It did take some finagling, though. 03:01:37 Used it industrially when I worked for HP in the lab but haven't had a case since then with so many mount points that doing other than just hard mounting in /etc/fstab was more reasonable. 03:01:59 Same. I just add to /etc/fstab and done. 03:02:59 Granted, late,bg,retrycnt= are needed in most cases, but I digress. 03:03:33 When there are potentially a thousand mount points only sporadically needed then the automouter is a practical solution. This appears in the compute farms where jobs are sent with qsub or other and any random compute server might mount some few mount points to have the job run on it. More practical than having all compute servers mount all thousand mount points. 03:03:34 I would prefer /etc/fstab, but this is a setup I've inherited and things are a bit problematic for always being mounted. 03:08:20 If I were home I would walk over to the bookcase and pull out my O'Reilly book on NFS and NIS and it would get me back up to speed. But I am not home and that book is not available to me at this time. 03:13:54 So here is an example that /I think/ should work: /mnt/projectfoo -intr,rw,async other.example.com:/srv/projectfoo 03:14:26 Pretty sure. I can't test it. But if not that then it would be pretty close to that. 03:15:08 Yeah. I remember it being pretty simple once I got it working. It kind of "clicked" like, "Ah, yes! Okay." 03:22:37 Hint: Don't use "soft" with nfs. Using soft mounts can lead to silent data corruption. Don't do it. 03:22:58 Yup. 03:23:52 Other trick is use a private network or ULA for NFS and your local services. 03:46:32 Okay, I may have gotten things working. 03:47:55 Woot! 03:48:50 I think the example would likely be much better if it had "/- auto_map" and a sample /etc/auto_map file. 03:49:27 Having "-noauto" really doesn't offer any useful clue. 04:03:38 geometry: It does have that example. "/- auto_example" and then and example of "/etc/auto_example" with the mount points. 04:05:11 You can use "auto_WHATEVER" AFAIK. 04:05:31 Yes, but a default installation has /etc/auto_master with the line "#/- -noauto" which isn't too helpful. 04:07:10 Ah! I gotcha'. Yeah, that seems fair. 04:07:39 What was your line that eventually worked? 04:08:27 That example line has probably been in that file since 1990. 04:08:32 Mostly simply going for a direct map and discarding my preconception of the file containing actual mount points. 04:10:37 No example, huh? :) 04:11:09 I would think direct map for NFS would be the best choice. 04:12:11 I fear the example might merely be 20 years old instead of 35 years old, but /home and /var/mail would be classic mount points. 04:15:24 Back in the day it would have been /usr/mail then. And depending upon the system /users instead of /home. It's a System V thing. 04:16:26 /users was indeed a SysV thing, though I think they accepted /home by 2000 or so. 04:19:55 Oh, I didn't mean specifics of mount points. Just the syntax of the /etc/auto_map or whatever you ended up using. Just for prosperity's sake in case someone else ends up looking for the same info in the future. 04:20:24 I think most universities running BSD used /u and then a hierarchy below in order to handle a large number of accounts. 04:21:11 I think you need a copy of the O'Reilly NFS and NIS book. It's the missing documentation. 04:21:52 For the universities we've recently (in the last 10 years or so?) set up, they use /home or /usr/home. It's fine until they expect it to exist locally when they're logging into a non-NFS mounted /home node or something. 04:22:07 Sometimes there was a heirarchy below on the server, but desktops simply mounted them directly on /home (or /u) since desktops didn't need that. 08:50:11 ant-x I like to use root everywhere, I live dangerously like that yes. 08:51:02 We use /mnt/home for NFS home and /home for local users. to be fair we have almost zero local users, everything lives in NFS and LDAP. 09:14:19 I want to use spiped because it's really neat, but I haven't found a relevant use case for it for myself 09:14:30 If anyone is in the business of updating the handbook, it teaches about the old bsdlabel thing which is deprecated. That section must get updated with gpart 09:56:30 I've got some FreeBSD VPSes. IPv6 networking stops working after a while after reboot. ping6 fe80::1 still works. But anything else doesn't. Hints? 10:00:19 netstat -rn6 : https://termbin.com/hljq3 10:08:30 okay... somehow the loopback interface has claimed fe80::1 which is the ISP gateway... 10:08:39 THIEF! 10:13:10 okay now it works. Somehow, two redundant addresses have been added both to primary ethernet interface and the loopback one 10:19:13 oops 10:24:02 How can I find out which process is responsible for doing so? 10:58:23 I am reporting a bug. What component should I choose? 10:58:42 I guess it's either kern or misc 11:07:28 tsoome: Pressing esc and entering got get doesn't do anything. It outputs something, but I can't see it.