-
khorben
I'm trying to find how to have new entries show up in /dev/gpt after partitioning a new disk with gpart -t GPT
-
khorben
any ideas? I looked at gpart, glabel, geom...
-
CrtxReavr
khorben, they should just appear if the partitions are on the device.
-
khorben
mmh they don't... but thanks I'll keep looking
-
yuripv
khorben: did you add the actual labels to partitions?
-
isley
isn't that only for labels? you have to add the label. also doesn't update when mounted iirc
-
khorben
no I didn't set labels
-
yuripv
what isley said, it's for labels
-
khorben
the first disk show as gptboot0 swap0 zfs0, I assumed creating freebsd-zfs etc types would show up as gptboot1 etc
-
khorben
I can try again
-
yuripv
those labels were added by installer
-
khorben
ah I see them in gpart list
-
yuripv
gpart show -l as well
-
khorben
I expected gpart show to look like the output of gpart list, and gpart list to look like gpart show
-
khorben
yes that works too
-
khorben
thanks!
-
khorben
now zpool attach zroot /dev/gpt/zfs0 /dev/gpt/zfs1 works, cool
-
KingShark
Hi. Any way to hide hardware devices from pulseaudio? Tried in pavucontrol but it wont allow me to disable devices. Cant block them on a kernel level either (by not loading drivers) because the devices i want and the ones i dont want seem to be the same hardware :/
-
khorben
through permissions?
-
yuripv
KingShark: why exactly do you want to "hide" it?
-
KingShark
yuripv, just some OCD thing about seeing a list of devices that i dont want to see when i want to change output device in the xfce pulseaudio plugin :))
-
KingShark
i would prefer this list to show only the exact two that i regulary use xD
-
KingShark
i know its silly
-
yuripv
makes sense :D
-
crb
when using bhyve where/how does one configure the MAC address of the virtual machine?
-
crb
never mind I think I found it
-
meena
crb: and, how?
-
crb
meena, not sure I understand you what did you mean?
-
fraxamo
Has the location for EuroBSDCon 2024 been announced yet?
-
meena
fraxamo: according to
bsd.network/@EuroBSDCon "EuroBSDCon 2024 will be held in Dublin, Ireland, September, 2024."
-
fraxamo
meena: Excellent, thank you!
-
FUZxxl
Updates on my nvidia-driver oddyssey
-
FUZxxl
I found a configuration that works now. There were three isues in total:
-
FUZxxl
(a) I couldn't get nvidia-driver without nvidia-drm to work. nvidia-drm must be used.
-
FUZxxl
(b) nvidia-driver copes poorly with being used with legacy mode boot. EFI boot must be used.
-
FUZxxl
(c) nvidia-driver requires swap to wake up succesfully from suspend-to-ram. Swap must be enabled.
-
meena
how did you figure these things out?
-
FUZxxl
lots of trial and error
-
FUZxxl
and a hunch as to what could be the problem
-
FUZxxl
the general intuition is: "what is different between my system and a normal system that could cause the problem?"
-
FUZxxl
The most annoying thing about debugging this is that I was unable to find any report of issues online that were even remotely similar.
-
dch
meena: expect incoming ;-)
-
dch
FUZxxl: I'm using nvidia-drm, would be great if suspend now works. good to know!
-
FUZxxl
dch: it does! Does it work for you?
-
dch
I'll try tonight and report back
-
dch
need to save a bit of work first just in case
-
dch
are you using drm-515-kmod or the other one?
-
FUZxxl
the other one
-
FUZxxl
drm-515-kmod is for freebsd 14 and newer
-
FUZxxl
I'm still on 13.2
-
dch
ok, I'm on newer here
-
FUZxxl
I'm waiting for the ZFS issue to be resolved before upgrading.
-
dch
is there a way (from shell + other userland tools) to tell if random/dir is actually a fs mountpoint?
-
dch
other than running mount and parsing output
-
FUZxxl
yes
-
FUZxxl
[ `statd -f %d $dir` = `stat -f %d $dir/..` ]
-
FUZxxl
if this returns true, $dir is not a mountpoint
-
FUZxxl
[ `stat -f %d $dir` = `stat -f %d $dir/..` ]
-
dch
clever
-
FUZxxl
note that this fails if $dir is / or if $dir is not linked (e.g. it has recently been removed but is still accessible through pwd)
-
FUZxxl
so you may need to build some hardening around it
-
dch
nah this is just throwing in a makefile to make it accommodate being re-run
-
FUZxxl
ok
-
dch
thats going to be good enough thanks!
-
FUZxxl
have fun
-
FUZxxl
historically, you would do this by checking if the inode is 2 as that's the root dir of a ufs file system
-
FUZxxl
but this no longer holds true with other file systems
-
dch
would be nice if test(1) could do this
-
meena
it be nice if we had Linux' mountpoint(1)
-
FUZxxl
meena: implement the command and submit it as a feature!
-
dch
FUZxxl: kernel panic in process, suspend definitely not working here
-
FUZxxl
oh noez
-
FUZxxl
which gpu do you have?
-
FUZxxl
also do you use nvidia-drm?
-
dch
yeah its the drm flavour
-
dch
geforce 1650 IIRC
-
FUZxxl
ok
-
FUZxxl
I have an nvidia Quadro M2200
-
FUZxxl
laptop GPU on an MXM card
-
meena
FUZxxl: busy with virtio right now