-
polyex
anyone use docs.rs/vfs before? im trying to make an overlay fs but it's not working. i make the OverlayFS::new() with paths to dirs and read_dir shows me it's merging, but how do i get the merged filesystem back out? basically i want access to the merged dir
-
nimaje
that implements the vfs::filesystem::FileSystem trait, access it via these functions
-
polyex
but that just gives individual item access, nothing like 'copy entire merged dir'
-
polyex
like there's no copy_dir method that i can pass "/" to or smth
-
nimaje
doesn't seem like that crate has any functions to work on multiple vfs or any copy dir function
-
nimaje
but do you need to copy it? what do you want to do?
-
polyex
i want to compose a layered dir tree
-
nimaje
yeah, that is what OverlayFS::new() does
-
polyex
ya i already said i saw with read_dir that it seeemd to be doing the merge, but that doesn't help as there's no way to obtain the merged dir tree
-
nimaje
the object is the filesystem, it is virtual, as it only exists for that program, do you maybe search for unionfs/mount_unionfs?
-
polyex
is there a unionfs crate i can look at to see?
-
polyex
btw, i could use the iterator to walk the dir tree and copy each and every dir/file where i want it to go, but that seems ridiculous
-
nimaje
what do you want to do? what is the bigger picture?
-
polyex
i want to take a set of dirs, merge them, then copy that entire dir tree somewhere on the physical FS
-
trashboat
polyex: i just got here but why not rsync the source dirs to the dest dir
-
polyex
overlay fs approach has unique benefit that it doesn't copy a dir over and over
-
polyex
like how docker builds up a file tree out of layers
-
nimaje
sounds like cp -r or rsync
-
polyex
no
-
nimaje
wait, how do you want to copy without copying?
-
polyex
i'll ask about it again later when ppl that know about layer FSs are here
-
dvl
New URLs for your viewing pleasure:
-
dvl
-
dvl
-
polyex
ffs i was askin in wrong channel sorry!!
-
madcrt
Hi.
-
madcrt
I read a very good tutorial on bhyve:
blog.sunsaturn.com/freebsd/create-v…tual-machines-with-freebsd-vm-bhyve Just got one question: The author has 2 10gigabit ethernet ports and created a LACP interface by merging both interfaces, for his VMs. Why he needed to do so? What would that process give to VMs and what's the benefit?
-
nimaje
that is just how that network setup is there, no idea why the author throught it is important to note instead of just noting that the network interface of the host is named lagg0 in that setup
-
ridcully
madcrt: it's agnostic to bhyve (as in the benefit is for the whole machine, but they chose bhyve to run the tasks that utilize what LA brings)
-
madcrt
I mean, would those two ports be dedicated to bhyve? And what's difference between dedicating 2 physical ports, vs, creating a virtual interface, for bhyve? Which one performs better?
-
vortexx
madcrt: I run such a setup, it's just to provide more throughput to the system
-
nimaje
no, the bridge is the important part (you can think of that as a internal virtual switch)
-
nimaje
if you have multiple network interfaces you could also give one completly to bhyve without using a bridge
-
madcrt
vortexx: so, better network performance for VMs?
-
madcrt
nimaje: Good idea, how?
-
madcrt
Any sample config?
-
nimaje
give bhyve the interface directly, instead of the tap interface you would give it with a bridge
-
vortexx
madcrt: I use vm-bhyve, when you do the setup you just pass the lagg0 interface to the bhyve bridge, it's nothing special
-
ibs
Just a bit curious. Is wayland common these days? Or, are you still on xorg?
-
HER
ibs: wayland works
-
HER
havent used much, but saw it working
-
hwpplayer1
-
hwpplayer1
Should I ask on forum ?
-
ibs
HER: I know it works.. I'm using it now. More interested in the maturity of it.
-
HER
ibs: nice! how long have you been using ? and, do you miss anything from x ? and do you dislike anything specifically in wayland ?
-
ibs
HER: I've been away from FreeBSD for years. Just last week started to look into it again. A little more hands-on to get working compared to Linux of course. But once up and running it's pretty much the same. Though it's even more years ago since I touched xorg.
-
duncan
ibs: I have been using Sway on FreeBSD for about six months. It is very stable, 3D acceleration works out of the box, even the bits I thought might work like fractional scaling work very well
-
duncan
what I didn't get to work was Gnome 3 on Wayland, but that was because I never worked out how to get GDM to work
-
duncan
Firefox on Wayland appeared to work fine
-
polyex
anyone use docs.rs/vfs before? i'm trying to make an OverlayFS, so i can create a merge of a bunch of dir trees. i use OverlayFS::new() and then WalkDirIterator to confirm the merge has all the files and dirs from the dir trees. but how do i access the entire merge so i can copy the tree somewhere on my physical FS?
-
HER
duncan: do you know if it works with alder lake gpu ?
-
Macer
espn is showing cliff diving
-
Macer
in.... montreal? 🤔
-
Macer
instead of a cliff.... they have a 100m diving platform?
-
Macer
it is on hold because of weather... kind of sucks to climb down all those ladders in that diving platform lol
-
Macer
oops wrong channel. sorry
-
polyex
wtf me too sorry channel
-
daemon
how do you fuck up a multiline statement to the wrong channel
-
JustBleedFan
Same way you would type a single line statement in the wrong channel. Simply navigating to the wrong channel before realizing where you were.
-
daemon
eh I guess, but it is irc you have to channel or click to target
-
xiamx
probably just typing to the wrong pane in focus lol
-
daemon
true ;)
-
polyex
solves the rust in base question?
notgull.net/announcing-dozer basically rust toolchain only needs C to bootstrap
-
nimaje
that is a plan of someone to build a rust compiler written in C
-
nimaje
and as clang is in base mrustc would probably be as good for freebsd