RFC2324 posted:Yeah, I'm familiar with /net, but only because I spent a few years as a solaris admin. I don't think the mountpoint ever made it into Linux other than distros by people who expected it
|
|
# ? Sep 21, 2022 16:05 |
|
|
# ? Jun 3, 2024 04:30 |
|
Of course linux has autofs, why would you suggest that? /net appears in the default auto.master config file but it's unlikely anyone uses it. I assume everyone empties out that file and does their own config.
|
# ? Sep 21, 2022 16:09 |
|
BlankSystemDaemon posted:So you're saying Linux doesn't use autofs? Because I find that even more questionable. Do you think that /net is so integral to autofs that it simply won't run without that arbitrary dir?
|
# ? Sep 21, 2022 16:13 |
xzzy posted:Of course linux has autofs, why would you suggest that? RFC2324 posted:Do you think that /net is so integral to autofs that it simply won't run without that arbitrary dir? Because I'm pretty sure that's how I learned about it.
|
|
# ? Sep 21, 2022 16:23 |
|
That's irrelevant and changing the subject for no reason. The point is no one uses /net and hasn't for a long time. Its default behavior in auto.master calls back to a mode of thinking in IT that's been dead for 20+ years. No one with any sense is populating a file with hosts to scrape exports from and make them available as mounts.
|
# ? Sep 21, 2022 16:29 |
xzzy posted:That's irrelevant and changing the subject for no reason. The -hosts directive queries the server and maps everything exported. NFS is old, but it post-dates UUCP.
|
|
# ? Sep 21, 2022 16:38 |
|
xzzy posted:That's irrelevant and changing the subject for no reason. I've never even heard of using it this way. Auto.fs now is just used as "if someone accesses /opt/foo then mount bar:/export/foo" Which is super useful, but doesn't require /net unless you map something to /net for some reason
|
# ? Sep 21, 2022 16:40 |
|
Linux Thread: PYF Mount Points and Assorted Options IMO do whatever you want but also try and understand conventions (community / workplace / whatever) if your ever gonna work with other people. If not gently caress it mount it under /sys/butts what could go wrong Mr. Crow fucked around with this message at 17:33 on Sep 21, 2022 |
# ? Sep 21, 2022 17:31 |
|
Most of my nfs mounts actually go under /opt, just because the nature of what they are means thats where it makes sense to put them(all my custom scripts and non-package manager apps go there) I kinda want to spin up a vm to play with autofs scanning for mount points tho, that might be a fun way to kill an hour
|
# ? Sep 21, 2022 17:36 |
|
The only morally correct way to use /net is as an automount populated via NIS+.
|
# ? Sep 21, 2022 17:43 |
|
I can't help but think it would be more efficient to just write a quick oneliner that interrogates the remote system and then mounts the output
|
# ? Sep 21, 2022 17:47 |
|
Or use a modern configuration management tool to explicitly mount it on machines that need it. If we're talking a home lan, sure, do whatever seems fun. But in a work environment please don't let the system itself determine what network shares are available.
|
# ? Sep 21, 2022 17:53 |
|
RFC2324 posted:I can't help but think it would be more efficient to just write a quick oneliner that interrogates the remote system and then mounts the output isn't this literally what /net does? it's a shell script that looks at the exports of a hostname and mounts the export it if one matches. (i use /net and on Linux FWIW)
|
# ? Sep 21, 2022 17:55 |
|
Voodoo Cafe posted:isn't this literally what /net does? it's a shell script that looks at the exports of a hostname and mounts the export it if one matches. I don't know, I have conducted most of this conversation from the bathtub, and have never looked closely at it before xzzy posted:Or use a modern configuration management tool to explicitly mount it on machines that need it. Well, yes, playing with ancient tech like this is absolutely not a thing to do in production, any more than installing that distro that deletes itself if you typo a command. Its just good dumb fun
|
# ? Sep 21, 2022 18:02 |
RFC2324 posted:I don't know, I have conducted most of this conversation from the bathtub, and have never looked closely at it before
|
|
# ? Sep 21, 2022 18:09 |
|
BlankSystemDaemon posted:Now THATS what I call posting! e: noticed it was huge RFC2324 fucked around with this message at 21:00 on Sep 21, 2022 |
# ? Sep 21, 2022 18:12 |
|
Sometimes when booting I'll get this error message I tried to determine which USB device this relates to but can't find a correlation In general there is something "off" with my USB ports for lack of a better description. When I land on the login screen for Linux Mint, it can sometimes take up to two minutes for my keyboard and mouse to respond and any other USB devices to respond. It's like it's hanging looking for something that it can't find. Any ideas how to further diagnose?
|
# ? Sep 21, 2022 18:30 |
|
Shofixti posted:Sometimes when booting I'll get this error message lsusb -vvv will give you a ton more info, but it sounds like a bad port thats generating a bunch of noise on the USB bus
|
# ? Sep 21, 2022 18:47 |
|
Possibly also some peripheral that the kernel is interrogating as the wrong type of device. Usually this is what custom udev rules help with, try and narrow down if its a specific device causing it or the hub in general.
|
# ? Sep 21, 2022 22:13 |
|
Shofixti posted:Sometimes when booting I'll get this error message lsusb -t will display the bus topology, including port numbers
|
# ? Sep 22, 2022 06:15 |
|
Do the lsusb command variants to find out more about which device it is, like the others said. But, if it is uncorrelated and especially if the message appears with nothing plugged in: the broken thing is the hub.
|
# ? Sep 22, 2022 09:53 |
|
Had to share this link (sorry for the shitpost): https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/ systemd in WSL as sponsored by Microsoft and Ubuntu is sure to get some greybeards in a tizzy. Personally I think it's neat. Nice to be able to have WSL be more like a proper dev environment. Edit: I still think snap as used by Ubuntu is very dumb. waffle iron fucked around with this message at 15:09 on Sep 22, 2022 |
# ? Sep 22, 2022 15:06 |
|
Got that as a push notification earlier - looks like it's only available for Windows 11, so I will sit here booing from the rafters.
|
# ? Sep 22, 2022 15:13 |
|
I think most of the anti-systemd greybeards have died off or quietly accepted it works fine because I don't see nearly as many complaints anymore. Yeah it's not perfect and the lead developer is a jerk but that's SOP for linux.
|
# ? Sep 22, 2022 15:15 |
|
There are still idiotic issues with it, but we've mostly gotten used to them now
|
# ? Sep 22, 2022 15:41 |
|
xzzy posted:I think most of the anti-systemd greybeards have died off or quietly accepted it works fine because I don't see nearly as many complaints anymore. They still crop up but they've mostly sequestered themselves in the couple distros that never switched (or give you the option of using a different init system).
|
# ? Sep 22, 2022 15:54 |
|
Wibla posted:There are still idiotic issues with it, but we've mostly gotten used to them now Better than the idiotic issues with sysvinit
|
# ? Sep 22, 2022 16:32 |
|
waffle iron posted:Had to share this link (sorry for the shitpost): https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/ WSL is still an absolute nightmare though. On my work machine it loses any internet connectivity if I put it on v2. Switching to v1 instantly makes it work again. A “workaround” is sharing the internet connection, which gives WSL a private ip address. You can add another IP to a network interface, replace the default route and add a public dns server. Of course the network sharing in Windows isn’t persistent and scripting the rest (including docker sock) hasn’t been giving consistent results either.
|
# ? Sep 22, 2022 17:01 |
|
I've been using WSL2 as my primary work from home linux interface for over a year now and have had zero issues. It's a better posix interface than OSX at this point because it handles X forwarding without having to install a separate X server (though this is W11 specific). Also no screwing with homebrew or macports, it's just a normal linux distro.
|
# ? Sep 22, 2022 17:42 |
|
LochNessMonster posted:WSL is still an absolute nightmare though. On my work machine it loses any internet connectivity if I put it on v2. Switching to v1 instantly makes it work again. Is this due to having a VPN client on your work machine? I'm fairly clueless when it comes to this stuff, but that's what I noticed. VPN connection enabled, no network. VPN connection disabled, network works fine.
|
# ? Sep 22, 2022 17:49 |
|
xzzy posted:it handles X forwarding without having to install a separate X server (though this is W11 specific) My booing from the rafters intensifying about this.
|
# ? Sep 22, 2022 17:51 |
|
Internet Explorer posted:Is this due to having a VPN client on your work machine? I'm fairly clueless when it comes to this stuff, but that's what I noticed. VPN connection enabled, no network. VPN connection disabled, network works fine.
|
# ? Sep 22, 2022 19:40 |
|
My WSL has some group policy conflict that results in my having to reboot my machine to get back in. It’s horribly annoying, but only happens every few weeks. I’m torn b/t leaving good enough alone or bringing it up to support/security and risk reminding that it exists and having to use fukkin cigwin or the git bash prompt like some kind of pervert.
|
# ? Sep 22, 2022 19:50 |
|
Hi folks, I were redirected here from the linux gaming thread! I were looking into making the switch from windows to linux but I ran into an issue I cannot seem to resolve no matter the distro I try. The issue I am experiencing is that when using my headset which is a regular 3.5mm jack in either the front panel or back panel I do not get sound in them, the microphone on it also does not work which has a separate 3.5mm jack. I know it works in windows, I also know the back panel works as linux have no issues with my logitech 5.1 system. When I plug in my headset it seems to somewhat detect it but it will still push stereo trough to my 5.1 system even if I have changed to the headset option. I have tried to search for this issue but noone seems to experience it the same and I cannot find a remedy that helps. I am still somewhat new and this is the command someone in that thread said I should run. Any help is much appreciated! This is my inxi -bA: quote:System:
|
# ? Sep 22, 2022 21:07 |
|
Pulseaudio sometimes mutes the underlying device in ways that don't show up in the interface. Muting and unmuting and then changing the volume tends to fix that if that is it. So you are saying that you get no sound from the headset, but get sound from a differnt device that normall goes into the same port? You can also check "pactl list sinks", and maybe compare it between when your device is plugged in and if it is not.
|
# ? Sep 22, 2022 21:34 |
|
Blue Waffles posted:Sound Server-1: ALSA v: k5.15.48-1-MANJARO running: yes Hmmm, this may mean that you have both pipewire and pulseaudio installed at the same time (bad). Or just that pipewire's pulse compatibility was loaded when you ran inxi, because you were playing audio from something that wanted pulse at the time (fine and normal). Can you do pacman -Qs pulseaudio and paste that? OTOH that is gonna be a minor problem compared to: Blue Waffles posted:Mobo: Gigabyte model: B560 AORUS PRO AX Hooooo kay, the actual audio component on the mobo is a Realtek ALC4080, which is brand new and giving people horrible problems everywhere. (even on windows!) It's on the USB bus rather than PCIe, thus why it's labeled "Giga-Byte USB Audio". But it's not a standard UAC1/2 device, and still under active development to support each mobo because I guess each one can be slightly different? So you may be kinda hosed for a little while until support improves. OTOH your Logitech 5.1 speakers are connected via analog so the rear panel audio apparently works fine. And you said in the other thread that the speakers have a headphone output that you can plug your headset into. Have you tried the rear panel mic input with the headset? If that works then the only major problem is the front panel -- due to no specific support for that mobo yet. So what I'd do in that situation is get a extension audio cable so that you can plug the headset into the speakers and the back panel mic input at the same time. Realtek: you touch the Crab, you get the Pinch
|
# ? Sep 22, 2022 22:05 |
|
Is there something that can print out all the currently defined bash functions? Similar to how alias with no args prints all the aliases
|
# ? Sep 22, 2022 22:39 |
|
VostokProgram posted:Is there something that can print out all the currently defined bash functions? Similar to how alias with no args prints all the aliases Given the fact that bash functions behave like normal programs (that is, you can return status code, or echo some string, not return an object or crazy stuff like that) I wouldn't be surprised if bash has no idea about "functions". If you "source" a shell that has functions defined, they'd just show up on auto completion.
|
# ? Sep 23, 2022 00:17 |
|
VostokProgram posted:Is there something that can print out all the currently defined bash functions? Similar to how alias with no args prints all the aliases Is there something in particular you're trying to achieve? Searching your initial request suggests that typeset -f typeset -F or declare -f declare -F will do what you're asking, but it seems you're looking for something more specific?
|
# ? Sep 23, 2022 00:34 |
|
|
# ? Jun 3, 2024 04:30 |
|
Tesseraction posted:Is there something in particular you're trying to achieve? Those do exactly what I'm asking, thank you
|
# ? Sep 23, 2022 03:10 |