00:02:03 Boom, done. Thanks for the advice 02:27:16 what do you use for a user to run as root? sudo doas or something else? 02:27:51 <[Reinhilde]> I've juggled both, which isn't something you're supposed to do as it becomes more difficult to ensure you keep policy between the two synced 02:31:20 well, plain su? 02:32:23 ubuntu complicates it by making sudo the only way to get root, it's technically more secure but just makes your password the root password 02:32:52 It's just a default in Ubuntu. If you set a password for root then "su -" works to jump to root okay no problem. 02:33:20 yeah it's discouraged though 02:33:26 i like the simplicity of simple su 02:33:44 And sshd by default is configured not to allow root logins with "PermitRootLogin no" or "PermitRootLogin prohibit-password" but again can be changed if desired. 02:34:02 ok, i'll just use su. 02:34:27 Plain "su" or plain as in not "su -"? I say always use "su -" in order to load the root environment. Otherwise it all depends upon your user environment, and the OS, as to what environment is set. 02:34:49 yes, `su -l` always. 02:34:56 Whew! Good! :-) 02:35:17 i like the tips i see when i ssh into a user or su -l user 02:35:21 Noting that "su -" and "su -l" are the same. They added -l for those who felt uneasy about the old style "su -". 02:35:52 I don't trust users with root access 02:36:06 they could be engaged in hacking! 02:36:29 You can run "fortune freebsd-tips" at any time and see those tips. Good stuff in there! 02:36:32 same, i don't have sudo installed on my linux box. 02:37:09 But rdr... Aren't *you* also a user? At least on your own box? :-) 02:37:26 yeah but i only have me on my box so i can't abuse anyone's privacy 02:37:42 absolute power corrupts absolutely 02:38:07 Power corrupts! And ABSOLUTE POWER... Is kind'a nice. :-) 02:39:24 just installed freebsd on QEMU on macbook M1 yesterday, it's up 10h. first try. i already liked it. a little bit unconfortable about csh though. but it has default settings of history-search which is nice. 02:40:16 csh is in base and so a default root shell to keep everything booting and able to log in with only components from base. 02:40:51 i am just tired of inconsistence of Linux distro after being a Linux user for 15+ years. 02:40:58 But you are free to install other shells. I always install bash and I use bash as my own personal command line shell. But never for scripting! bash is a slow pig at scripts. #!/bin/sh FTW! Standard is better than better. 02:41:33 A more traditional shell for the Unix user might be ksh. But zsh is also popular. 02:42:01 <[Reinhilde]> i'm pretty sure zsh can be shipped in base only by removing one piece of code 02:42:07 <[Reinhilde]> which is not crucia 02:42:09 <[Reinhilde]> l 02:42:12 But none of those are in the base. So it is not recommended to set any of those as the root shell. Or after a major OS upgrade those ports might not run and you might not be able to log in as root. Ask me how I know! :-) 02:42:18 <[Reinhilde]> but it never will be (which is probably a good thing) 02:42:25 <[Reinhilde]> rwp, core memory unlocked! 02:42:28 i am gonna keep csh and learn it instead. i am already very familar with bash though. i like what's default on a new system. less third party more lightweight 02:43:08 i use zsh i like it 02:43:11 it's fancy 02:43:21 I locked myself out by setting the root shell to bash and upgrading from 12 to 13. But was able to save it easily with Boot Environments. Booted back to the previous, logged in, fixed the passwd entry for the system, rebooted. All good! Woot! 02:43:35 nice 02:43:47 Then of course upgraded all of the ports and then all of those were okay. 02:44:16 so apparently windows was using my efi partition on my linux drive 02:44:31 so when i wiped that drive for freebsd it wiped all my boot stuff 02:44:31 I know I could have booted rescue media like the install ISO but with Boot Environments there those worked much nicer. 02:44:47 rwp: isn't pkg install good enough? 02:44:55 is multiple efi partitions really discouraged or something? 02:45:22 That's one of the problems with UEFI IMNHO that all of the OSes share one ESP. 02:45:41 rwp: is the boot environment auto added to the boot menu? or do you have to configure something 02:46:01 uuidNuniq, I was using the binary pkgs which are precompiled ports but the shared libraries in base had been changed out from under all of those /usr/local/bin/* executables causing them to fail to run. 02:46:26 Boot Environments are automatically added to the boot menu. You can boot any of them by manually selecting one. 02:46:50 You can see your current boot environments with "bectl list" (and noting that bectl is in base and beadm is the original version in ports, basically the same) 02:47:10 nice. how often does libc breaks /usr/local/bin/* ? 02:47:44 what if you also upgrade third party pkgs along with system upgrade? 02:47:58 It was not unexpected breakage. It was expected changes. But I tripped over my own shoelaces! Major upgrades change out shared libraries. Meaning that all pkgs need to be re-installed at major upgrade points. 02:49:09 During a point release cycle such as 13.0 to 13.1 to 13.2 all of the pkgs are compiled using the oldest supported point release. So simple upgrades are usually okay. 02:49:14 But at major OS releases everything is reset to the new .0 version in base. And all pkgs need to be re-installed. 02:49:57 i am not clear, you mean from like 13 to 14, i have to reinstall pkgs listed by `pkg info`? 02:50:01 If 3rd party compiled executables, or your own locally compiled executables, depend upon a shared library in base that has been upgraded then those will also need to be recompiled. 02:50:26 uuidNuniq, Yes. Use "pkg upgrade -f" which will force re-install all automatically. Very simple. 02:50:41 ah, thanks for the tip 02:51:31 If, and I say if, pkg itself becomes broken by the shared libraries being swapped out from under it then there is a special pkg-static shipped which is statically linked which can be used to bootstrap pkg itself. 02:52:19 "pkg-static upgrade -f pkg" would force bootstrap itself using static libraries. That's if it is needed. It's not usually. 02:52:28 i'll install that in case of things went mad. 02:53:03 You will install pkg? Doesn't everyone? :-) 02:53:08 ohh it is already installed 02:53:32 i mean pkg-static. i thought it was a separate package 02:53:48 There is a /usr/sbin/pkg which is nothing but a bootstrap tool to bootstrap install /usr/local/sbin/pkg in order to get things going. 02:53:53 And pkg-static is part of pkg. 02:54:59 rdr, Regarding UEFI one of the things I miss about Legacy BIOS booting is that everything about booting was on disk. One could just pick up a disk and move it and boot. 02:55:19 i have /usr/local/sbin/pkg-static.pkgsave as well 02:55:31 But with UEFI half is on disk in the ESP partition and half is in CMOS RAM with the efi vars. Those efi vars need to be set with efibootmgr in order to boot. 02:55:51 rwp: with UEFI you can do --removable? 02:56:09 So picking up a disk and moving it and trying to boot now with UEFI no longer Just Works but now on my systems at least I have to boot rescue media and then run efibootmgr to set the vars to enable the disk to boot. 02:56:26 there is a standard place that UEFI firmware searches for . which is ESP/EFI/BOOT/BOOTX64.efi 02:56:39 I have heard about people who set their disks to be removable media. I have not done that myself yet. Sounds attractive. 02:56:59 i always do --removable e.g. with grub-install 02:57:31 but it will replace any BOOTX64.efi other bootloader created. 02:57:48 Is that the "fallback" boot? I have one system that refuses to boot anything but the fallback and have installed rEFIng there in order to allow it to boot sanely. 02:58:02 but why do we need multi bootloader? use a good one that boots all OSes is fine. 02:58:21 But mostly I never dual boot anymore. It's always booted to the wrong system. So now I just boot one main OS and then run the other in a virtual machine if needed. 02:59:17 uuidNuniq, The reason is BUGGY UEFI firmware. I have an HP workstation that clears the efi vars at boot time. So I can set things once and boot but it fails on the second boot. 03:00:22 rwp: ESP/EFI/BOOT/BOOTX64.efi works for buggy and sane firmware. 03:00:32 any firmware will search for that... 03:00:59 I have exactly this problem described here at problem #2. https://wiki.debian.org/GrubEFIReinstall#Problem2:_EFI_boot_entries_disappear_after_reboot 03:01:02 Title: GrubEFIReinstall - Debian Wiki 03:01:12 i think you can just cp your whatever .efi to that location, it will boot. 03:01:46 /dev/da1p2 on /a (ufs, local, soft-updates, journaled soft-updates) is there any danger of soft updates journalled? 03:01:58 my current machien has more ram 8g 03:02:02 should I move to zfs? 03:02:45 rwp: for example. on my vm freebsd: md5sum /boot/efi/efi/freebsd/loader.efi /boot/efi/efi/boot/bootaa64.efi 03:02:49 they are identical. 03:03:14 concrete_houses, I am not knowledgeable about UFS, sorry, so cannot advise. But of course I do advise *everyone* to use zfs because it is quite nice. 03:03:17 it's in a macbook m1 QEMU 03:03:55 anyway the standard search path for UEFI is efi/boot/bootaa64.efi or efi/boot/bootx64.efi 03:04:28 uuidNuniq, I think you are using the fallback system, which is perfectly fine when booting a single OS. But I think systems that have those problems cannot multi-boot different operating systems. Not easily. That's the reason for refing. 03:04:41 * rwp must run... bbiab 03:04:44 this way, you don't need to add boot entries to the UEFI firmware. just select to boot from the disk ... it will find bootx64.efi or bootaa64.efi 03:06:02 rwp: for multiboot, try to boot other OSes from THAT bootloader (which efi/boot/bootx64.efi finds)... 03:06:43 if you're doing grub, then use grub to boot everything. if you are doing refind... same 03:08:32 I wish there was a way to specify a list of "fallback" shells for any user. 03:08:57 kenrap: you mean /etc/shells? 03:09:31 That's a 03:09:36 make a little script that tries to load bash and falls back on a default shell if it exits incorrectly 03:09:40 list of acceptable shells for any user 03:11:02 kenrap: just put a `if command -v bash ; then exec bash ; elif .... ` 03:12:21 but how could it trigger? i mean, if the shell specified in /etc/password for the user does not exists... the user basically can't login 03:12:38 that's what I'm trying to ponder about 03:12:40 so, what do you mean fallback 03:13:56 the code is easy to write, just a bunch of if elif ... , the trigger is the hard part 03:14:25 but sh is always there, right? 03:14:45 you could set your default shell to the script 03:15:02 so, i would set the user to use /bin/sh in /etc/password. and in user's $HOME/.cshrc, write that if elif 03:15:27 using exec 03:15:47 Let's say since I use zsh for root and for whatever reason I uninstalled it from local and tried to login as root again. So in this list of shells assoociated to root, it will then fallback to prior shell before zsh and load that for root without not being able to log in again. If that shell doesn't exist, then fallback on the next. 03:17:01 kenrap: set csh for root, and in ~/.cshrc : if ( $?zsh ) then exec zsh endif 03:18:30 if ( $?zsh ) then exec zsh ; else if ( $?bash ) then exec bash ; endif 03:20:05 I'll play around this idea and thanks 03:20:37 ohh don't use $?, it test a varable set or not set 03:20:55 i am new to csh, but i think there is like a command -v or something 03:21:38 maybe if ( which zsh ) 03:32:07 if ( { which zsh } ) exec zsh -l 03:35:24 lol, all my bash/posix sh experience are obsolete in csh... 03:37:57 https://stackoverflow.com/questions/33729915/how-to-write-if-else-statement-in-one-line-in-csh 03:37:59 Title: linux - How to write If-else statement in one line in csh? - Stack Overflow 03:38:12 looks like you can't write oneliner with csh... 03:38:22 uuidNuniq: You don't need to use csh for scripting ever., 03:39:08 kenrap: For fallback, for root anyway which should be the only account for which this matters, it's tradition to set up toor. 03:39:24 also >/dev/null does not work. 03:39:37 mason: i think i may need to install bash and use bash instead 03:40:07 uuidNuniq: Or just write scripts against /bin/sh. 03:40:09 mason: oh, very interesting, good to know 03:40:12 But yeah, I use bash. 03:40:19 I set root to bash, and toor to /bin/sh 03:41:59 what is toor? 03:42:12 https://en.wikipedia.org/wiki/Toor_(Unix) 03:42:13 Title: toor (Unix) - Wikipedia 03:42:14 uuidNuniq: reverse of root - typically a back-up account in case root has issues 03:43:49 It feels good when I discover more "hidden gems" like this in FreeBSD 03:45:02 Enjoy it while it lasts. Folks want to get rid of it. 03:45:30 ...ah, I see 03:46:29 You can always add it in again, but that's not entirely the same. 03:47:13 i am on bash now. all my bash config are ported there. 03:47:33 is there a replacement of the command `tac` on freebsd? 03:47:37 I can imagine the OpenBSD devs ripping toor out of their OS ages ago. 03:47:41 i use tac and awk to make history file uniq 03:47:55 You might also like the ksh variants. I only use bash over them because of how easily it integrates emacs mode keystrokes inside vi insert mode. 03:48:31 I think mksh is pretty close to bash in terms of features. 03:48:57 or oksh, but neither does emacs keys inside vi insert mode 03:49:12 Gotcha 03:49:14 at least last time I looked - if this has changed I'll hop right over 03:51:37 toor is already with /bin/sh 03:52:50 kenrap: thanks, I got that from earlier chat. Do you have a Reddit account? If not, can you post the hint somewhere as a point of reference? 03:52:51 Apparently mksh has an "Emacs mode" and the devs have been steadily implementing more features for it over many releases 03:53:07 so, if csh is not suitable for scripting, why does freebsd have csh around 03:54:00 uuidNuniq: https://yewtu.be/watch?v=gRdfX7ut8gw 03:54:01 Title: Fiddler on the roof - Tradition ( with subtitles ) - Invidious 03:54:20 meena: I guess that online manual pages for CURRENT will be refreshed when we reach pre-release (pre-alpha) or alpha 03:55:45 I guess I will to create a reddit account, I had a few in the past but deleted them eventually. 03:56:11 mason: the explains 03:56:14 *that 03:56:28 pretty much :) 04:00:27 i got to set a password for toor 04:03:57 that and the shell and you should be good 04:04:36 What's wrong with my use of fwget(8)? 04:05:52 Maybe I don't have the subsystem. It's a circa 2012 notebook. 04:06:17 grahamperrin: Also, try -nv in case it's doing funny argument parsing. 04:06:18 tail -r can be tac replacement. good 04:07:13 if [ $(uname) = FreeBSD ]; then _rev="tail -r" ; else _rev=tac ; fi 04:07:20 is this ungoogled chrome slower? 04:10:22 concrete_houses: chromium? 04:10:55 yes 04:11:30 yeah update removed chrome and I had to install ungoogled-chromium 04:11:55 04:11:56 Title: ⚙ D40565 Remove toor backup account 04:14:15 how can i run man against /dev/stdin 04:14:34 curl some_manual | man /dev/stdin 04:14:51 does not work. however, curl -O .. and man ./some_manul works 04:46:26 grahamperrin: I left my comment in the amdgpu post 05:28:08 mason: DAI DAI DAI DAI DUM 05:29:45 * grahamperrin thanks kenrap for (and approves the comment, without knowing why it was removed). 05:29:46 Title: k3nrap comments on AMDGPU fails to boot 05:49:15 grahamperrin: I don't know why it's removed either. When I logged out I noticed that but when I log in my comment remains. 05:49:53 I assumed it was some automated subreddit thing you configured as admin to prevent spammers 05:58:59 Woah, I was somehow given a free Reddit Premium access and an award for my comment. I feel all warm and fuzzy all of sudden 06:18:50 Not configured by me, but maybe it's automated when a newcomer's first post includes a link. 06:19:09 Gotcha 06:19:54 This automation occurs silently, unfortunately (for me as a mod) 06:31:53 grahamperrin: thank you for the reward btw, I just found out by looking through my email. 06:33:44 is the big reddit fight still going on? 06:34:04 The whole blackout thing? 06:35:06 looks like it is 06:35:37 Honestly, I find that type of protest both a waste of time and hurtful towards users of those blacked out subreddits that need to reference helpful info for solving their problems 06:37:08 It's pretty much a "cut off one's nose to spite one's face" 06:38:03 nah. it's a valid response to corporate bullshittery 06:39:20 I wholeheartly disagree. Reddit can do whatever they want. If people don't like what they are doing, they should explore alternatives. 06:43:59 whatever, this channel probably isn't the place for that 06:44:32 Understood. Sorry for the offtopic-ness. 06:51:06 Speaking of off-topic, this month's FreeBSD Journal is pretty amazing, with a ton of history from a bunch of FreeBSD old-timers (https://freebsdfoundation.org/wp-content/uploads/2023/06/9a09afdf5fb325213a554aba948ae00a2e4bba06.2.pdf) 09:23:37 hi, I am struggling to mount an ext4 usb flash partiton 09:23:43 What I am supposed to do? 09:25:33 Depends on what errors you get; how you are trying to mount the partition; etc? Probably need "ext4" support from some package. 09:27:06 best bet is the fuse extfs package 09:28:21 fusefs-ext2 is the name, but it supports ext2,3,4 09:28:59 you can try mounting it readonly using the base system ext2fs, but that's not guaranteed to work 09:30:09 base system ext2fs doesn't support journalling, I think, which is likely to be a problem 10:00:35 what am i missing in this bectl call: 10:00:55 meena@vault13 ~> sudo -H bectl jail -o host=inherit -o ip4=inherit -o ip6=inherit -o allow.chflags=1 -o allow.mount=1 -o allow.mount.devfs=1 -o devfs_ruleset=4 PkgBase 10:00:56 # pkg update -r FreeBSD-base 10:00:56 pkg: Cannot open dev/null 10:01:15 forgot to mount /dev in the jail? 10:06:20 RhodiumToad: i thought devfs_ruleset=4 would do that? 10:06:59 nope, mount.devfs=1 does that… 10:07:23 * meena fixes her docs 11:02:54 Starting jails: cannot start jail "builder": 11:02:55 jail: builder: unknown parameter: vnet 11:02:55 wat 11:03:54 this is 13-STABLE, btw 11:23:12 this is coming directly from the jail command. 11:26:13 for anyone curious, here's my /etc/jail.builder.conf: https://gist.github.com/igalic/4c1d7417a83dfa796b7e105b006c4347 11:26:14 Title: gist:4c1d7417a83dfa796b7e105b006c4347 · GitHub 11:37:06 oh weird… 11:38:31 i don't see options VIMAGE in kern.conftxt … 11:41:16 good grief, how have i not noticed that GENERIC-MMCCAM doesn't include options VIMAGE yet? 11:41:56 good day 11:42:19 I yesterday upgrade a box with opnsense, now running 13.1-RELEASE-p7 11:42:33 Since then some pf rules seem not to match anymore that used to match 11:43:55 I have a rule "pass in quick inet from any to 10.200.32.0/24 flags S/SA keep state" that does not match a packet going towards 10.200.32.239, the packet is blocked by the default "block drop in log inet all" rule 11:44:12 has anyone else seeing something similar happening (recently)? 11:46:19 x39 11:49:40 telmich: do you have logging enabled? 12:02:05 meena: yes 12:02:26 it says it's caught by the default block rule 12:08:55 telmich: so something has been restructured that's changed priorities. 12:29:14 meena: exactly, but it doesn't make sense as there is no quick in the default block 12:29:45 telmich: what does the config look like when you ask pfctl to print it? 12:33:19 meena: it's quite a long list as it is generated by opnsense, but essentially: 12:33:35 - default blocks at the beginning 12:33:48 - lots of exceptions/passes 12:34:25 - pass quick inet from any to 10.200.32.0/24 flags S/SA keep state at the bottom 12:35:05 what I can see in the log is that the "block drop in log inet all" is matched for packets that are destined within 10.200.32.0/24 12:38:22 even if I widen the rule to "pass in log quick inet from any to 10.0.0.0/8 flags S/SA keep state", in case I am stupid and mismatch the network, it still does not match 12:43:30 found it 12:43:50 I removed the state S/SA requirement, even though state was SA 12:43:54 And now it passes through 12:44:33 "pass in log quick inet from any to 10.0.0.0/8 no state" 12:45:09 it's strange, as even with state tracking this should work 13:00:30 what's S/SA vs SA? 13:00:34 telmich: ^ 13:16:49 meena: it's referring to syn/syn ack bit set 14:19:18 uuidNuniq: Sorry I dropped off last night. My ISP went away. I could get packets several hops in but then some router other other in their infrastructure was dead. 14:21:58 mason: that was very sad 14:22:20 i watched the whole movie... because of that "tradition" 14:24:14 uuidNuniq: Oh, good. Not time wasted. It's one of my favourites. 14:28:34 mount /dev/vtbd1p1 /mnt/ : mount: /dev/vtbd1p1: Read-only file system 14:28:42 mount -o autoro /dev/vtbd1p1 /mnt/ : mount: /dev/vtbd1p1: No such file or directory 14:29:28 i am not so confortable with these commands. my first try was always error 14:29:45 if this is in Linux, it will just mount, no complains 14:30:44 i miss commands like : lsblk, sfdisk , ss ... 14:33:35 uuidNuniq: Yeah, there are some conveniences missing. The one that I have to remember is to specify the -t type 14:34:10 uuidNuniq: Try with an explicit -t and see if maybe it's happier. 14:37:08 mount_cd9660 /dev/iso9660/13_2_RELEASE_AARCH64_BO /mnt/ 14:37:10 this works 14:38:26 i don't know what this is : https://0x0.st/H13s.txt 14:38:40 it looks like the cdrom 14:42:01 from gpart show: https://0x0.st/H13z.txt 14:42:43 this guy created a lsblk.sh : https://github.com/vermaden/scripts/blob/master/lsblk.sh 14:42:44 Title: scripts/lsblk.sh at master · vermaden/scripts · GitHub 14:57:59 FreeBSD is not Linux. 14:59:04 du -a -c -h -d0 ./ 14:59:14 The partition you're showing is what's known as an EFI System Partition; it's a FAT12/FAT16/FAT32 used by UEFI implementations to boot. 14:59:15 -a and -d can't be used together? 14:59:55 Seems like it. 15:00:08 uuidNuniq: Interesting. I was thinking of something a bit simpler. But look at "geom part list". 15:00:36 uuidNuniq: Interesting thing, I noticed that even for things with GPT labels, not everything shows up in 'glabel list' or 'geom label list' 15:00:44 debdrup: but which efi? the ISO? 15:00:50 glabel is for GEOM labels 15:00:58 GEOM labels aren't partitions 15:01:16 mason: geom part list outputs the same thing as gpart list 15:01:21 uuidNuniq: I mostly want to do a quick look-up tool where you say 'glookup foo' and it'll spit back just the entities that have foo as provider, consumer, or label. 15:01:27 uuidNuniq: yes 15:02:08 debdrup: The interesting thing is I never set explicit geom labels, ever. I set GPT labels. And some of my GPT labels show up in 'geom label list' and some do not. 15:02:21 debdrup: They all show up in 'geom part list'. 15:02:56 uuidNuniq: the ISO uses a hybrid CD-9660/USB boot schema that makes it act as either a CD/DVD or a disk (typically, BIOS implementations expect you to define whether a USB drive is either a CD/DVD or a harddisk, but with the hybriad approach, that isn't necessary). 15:03:05 mason: which 'all'? 15:04:34 debdrup: Example: https://bpa.st/RIU3G So, this was done the same way I do all my GPT labels, but in this case, da5/da5p1 is missing from 'glabel list' 15:04:36 Title: View paste RIU3G 15:04:41 debdrup: i see 3 "disks", so vtbd1 is basically the same as iso9660/13_2_RELEASE_AARCH64_BO in this case 15:05:23 mason: I can't keep track of things when you elid everything 15:05:52 uuidNuniq: yes, the iso images will show up as both the actual partition and the hybrid image; what exactly is the problem you're facing? 15:05:56 debdrup: That's the relevant bit from 'geom part list' - and that label doesn't appear anywhere in 'geom label list'. 15:06:52 mason: only things with a GEOM label can appear in `geom label list`, whereas things with a GPT label can appear in `geom part list` 15:07:21 debdrup: Right! So why do most of my things evidently have a GEOM label? That's puzzling since I never explicitly assign them. 15:07:37 If they're inferred, why aren't they ALL inferred? 15:07:59 mason: most of your things don't appear to have GEOM labels if they're not appearing in `geom label list` 15:13:19 finally : mount_msdosfs -o ro /dev/vtbd1p1 /mnt 15:13:50 debdrup: https://bpa.st/AHCUW 15:13:51 Title: View paste AHCUW 15:13:56 I've never once set an explicit geom label. 15:14:11 so the issue is , the mount command on freebsd lack of auto detect filesystem type 15:14:24 uuidNuniq: Yes. You can also say mount -t foo if you prefer that form., 15:15:02 mason: but i don't know what the filesystem is called on freebsd. i tried fat fat32 vfat efi ... 15:15:09 but it is actually msdosfs... 15:15:10 uuidNuniq: msdosfs 15:15:12 yes 15:15:27 gparted list shows it's type is efi 15:15:27 uuidNuniq: mount will show some common ones 15:16:32 ok. is there a command to know the filesystem type before mount? or else i don't know what to feed to -t 15:16:41 uuidNuniq: I'm not sure where there's an authorative (or queryable) list of mount types currently supported. 15:16:50 uuidNuniq: file(1) perhaps? 15:17:03 uuidNuniq: In practise I don't see enough different types for it to be an issue. 15:17:18 Mm, not file(1). Unsure. 15:17:26 file says : /dev/vtbd1p1: character special (0/72) 15:17:41 Yeah, sorry, that was my just being hopeful. 15:18:03 uuidNuniq: My advice, don't let this kind of thing throw you off. It's minor in the grand scheme of things. 15:18:20 I'm too prone to let minor annoyances redirect me, and it's not as useful as it might be. 15:18:32 mason: thanks, i agree. 15:18:42 mason: wrong property 15:18:47 label != name 15:18:59 file -sL 15:20:38 lesta: cool, thanks 15:20:51 welcome 15:20:59 mason: I dunno what you've done to your install, I only have a single label and that's from the swap zvol. 15:22:36 file -sL is a very good command. 15:23:31 debdrup: Beats me. This is just my experience of what the system is giving me. 15:24:28 Anyway, the upshot is that everything shows up in geom part list, and I'm going to whip up a little tool to ease mapping. 15:43:04 i am goona read through the handbook. looks like lots of commands and things are totally different in here 15:43:28 uuidNuniq: see what I said earlier. ;) 15:44:08 uuidNuniq: Random note, if you've grown accustomed to 'watch', realize that it's something else in FreeBSD, and what you'll want is the 'cmdwatch' port. 15:44:33 there is a util-linux package, i did pkg install. and then it has wipefs blkid findfs... but they all print empty stuff... 15:46:34 debdrup: yeah, i thought based on my Linux (cli only) and macOS (mostly GUI) it's gonna be easy for me to play with Freebsd but i was wrong 15:46:51 uuidNuniq: It will be. Just takes some time to learn the dialect. 15:47:20 mason: watch is another command here : snoop on another tty line 15:47:24 uuidNuniq: I had the same jump when I moved from NetBSD to Debian years ago, and a similar jump picking up what's different about FreeBSD some years after that. 15:52:33 uuidNuniq: it's pretty much agreed-upon that the more flavours of Unix-likes you're intimately familiar with, the better the sysadmin you are. 15:53:20 mason: i was hopping distro a lot, and settled on Debian. all my servers are debian right now. but i found that debian is really complicated inside. so many wrappers with complex code, stuff like debconf, dpkg-reconfigure, they are perl + sh combined... and it's too complex when i read the code... so i decided to give FreeBSD a try 15:53:57 There's also something called the "UNIX Rosetta Stone" which you might look for, to help you move from one Unix-like to another. 15:54:03 uuidNuniq: this is exactly what led me to FreeBSD 15:54:30 It hasn't been updated since The Event, so there are things that might require you to be familiar with how things used to be - but it's still quite handy for everything else. 15:54:40 Debian is great for stability, but don't ever look under the hood, lol 15:55:15 uuidNuniq: Yeah. There's a ton of infrastructure in Debian. FreeBSD is certainly more straightforward. That said, I run both as they're both worth using and strong in different ways. Shifting more towards FreeBSD of late. 15:55:44 bbiab 15:55:52 Debian is ~70 million lines of code (of which ~24 million is the Linux kernel itself); FreeBSD comes in at a svelte 14 million lines of code. 15:56:06 I find FreeBSD strikes a nice balance of up-to-date ports and a stable base. Debian gets a bit stale with its long release cycle. 15:56:19 For comparison, Windows and macOS are estimated to be north of 100 million. 15:57:33 I've attempted several times, but nothing ever beats macOS on the desktop for me. FreeBSD for servers. 15:58:48 debdrup: i liked the stability of Debian too and mutil arch support, but it is now mixed with the Debian way and the systemd way... network configuration for example ... and cron vs timer, and they have init scripts along with systemd services ... however, i wrote a sh script to bootstrap debian (400 lines of posix sh code ), it takes 2mins to install, and everything is setup inside my script. 15:59:58 uuidNuniq: have you ever tried Void? It's like BSD and Linux had a child. :) 16:00:05 markmcb: i use only macOS for desktop. 16:01:03 I like the fact that FreeBSD even has a seperation of base and local. Linux doesn't have. If I want to "clean out" my package installations without breaking the system, then not a problem. 16:01:18 markmcb: yes, i also wrote a void bootstrap script using xbps-static. it is simpler but what i worried about is that they don't have enough devs, some packages are not up to date due to that. 16:02:26 uuidNuniq: i agree. i was a long time user, but lxc (fairly critical IMHO) went like 4 months with a blocking bug on btrfs due to lack of maintainer. i had to ditch it. 16:02:37 and Void devs don't (have time to) deal with bugs and PR/Mrs 16:02:40 MRs 16:04:36 and others i liked once are Alpine (lack of devs), Arch (pretty good, but only x86_64) Gentoo (good, but not for lowend hardware) 16:06:18 in the realm of *nix desktops, i always found Arch to be the best experience. up-to-date and no junk. plus wayland+gnome is so good on a hidpi laptop. i know X gets a lot of love here, but i feel it's daylight and dark from an experience standpoin. 16:08:43 does most Software even work on wayland without Xorg compat? 16:09:07 I've never had issues 16:09:27 i intentionally don't install xwayland and everything i use works great 16:09:37 wayland is very good and adoption is high 16:10:09 markmcb: yes, arch is very good for daily use except critital servers. i was a long time Arch user. 16:11:37 uuidNuniq: funny you say that. after void failed me, i attempted arch as my server OS because I like it on laptops ... bad idea. lol. so i found myself choosing between Debian and FreeBSD. I'm still in the honeymoon period, but I think I'm in love with FreeBSD :) 16:14:31 uuidNuniq: FWIW, nothing forces you to use systemd with Debian: https://github.com/ChibaPet/install-debian-zfs-sysvinit 16:14:33 Title: GitHub - ChibaPet/install-debian-zfs-sysvinit: Install Debian on ZFS, with sysvinit, optionally encrypted. 16:14:47 Arch is ok for not important servers, i used arch as a VPS OS for some years, never breaks, it is a pity they don't include aarch64 (it is another project , only one maintainer.). i fall in love with FreeBSD when the installation menu shows up, and the whole installation is fantastic simple and clean. 16:15:13 FWIW, as we drift afield, #freebsd-social exists. I'm there and happy to carry on there. 16:16:23 mason: i use btrfs on Linux because it is supported natively. i will never go back to sysvinit. 16:20:54 uuidNuniq: I used Debian for all of a week back in 2000, then got frustrated with the lack of documentation. Since then I've just used FreeBSD. 16:22:42 debdrup: speaking of documentations... yes, that's a sad story, debian's apt dpkg docs are confusing. Arch wiki is the best. 16:24:46 i think this is a bug, the du command , -a can't be used with -d 16:27:20 I can't spot why it shouldn't work, so it probably is a bug, yeah. https://bugs.freebsd.org is the place where reports go :) 16:27:22 Title: FreeBSD Bugzilla Main Page 16:27:50 Are there any PCIe-SSD devices that are well-supported in FreeBSD? I need ZIL devices for a 4-6-way NVMe pool, but it's silly if they're slower than the pool devices. :) 16:30:08 Ltning: PCIe SSDs can either work via da(4) (as a SATA device, which I assume you don't want), as an NVMe disk via nvd(4) or nda(4), with the latter being preferred because it supports the CAM I/O scheduler 16:30:21 Ltning: also, you might wanna make note of https://github.com/openzfs/zfs/pull/14520 16:30:23 Title: Implement shared log pool for ZFS by pcd1193182 · Pull Request #14520 · openzfs/zfs · GitHub 16:31:51 Hasn't nvd(4) been dropped in favor of nda(4) only in 14-CURRENT though? 16:31:59 I'm not sure I'm comfortable recommending any specific device, but a log device generally doesn't need to be big, it just needs to have MASSIVE write tolerances - so datacenter NVMe SSDs are generally preferred, since they can always be overprovisioned. 16:32:07 kenrap: well, that switch is pretty recent, but yes 16:32:27 Yea we're using Intel Optane for ZIL on our current database servers 16:32:41 I suspected as much. 16:32:49 Those have insane IOPS and high write tolerances. Also they fail in a predictable fashion. 16:32:58 ublock origin not available for ungoogled-chromium :( 16:33:11 Given Intel just killed Optane, it seemed like a bit too much of a coincidence. 16:33:28 But those are not faster (by any meaningful degree) than the NVMe SSDs we're looking at, and yes Intel just killed off their most interesting SSD product. 16:34:04 Ltning: for what it's worth, the team at Intel went to work with SK Hynix; this is what caused me to buy a Solidigm P44 for my laptop. 16:34:07 concrete_houses: you need to install "chromium web store" extension first 16:34:08 err, new workstation* 16:35:02 Our ZIL is like 4GB mirrored per pool (and yes I'm watching that PR closely). 16:36:12 kenra: from the extension or using pkg 16:36:24 the former 16:36:26 But my understanding is it's not much point having a ZIL that is slower than the data disks - unless you have very high read load 16:36:56 concrete_houses: go to its github repo and follow the instructions in the README.md 16:37:07 Ltning: it's not a ZIL, though. It's a Separate Intent Log 16:37:29 SLOG devices. Sorry. 16:37:51 the ZIL is still on the actual pool devices, the log device just exists to speed up synchronous writes. 16:38:04 If you have an NVMe pool, having a log device won't help you. 16:38:24 That depends on the size (in device count) and usage of the pool. 16:38:40 Do you have actual numbers showing that it makes a difference? 16:38:49 We're maxing out 14 SATA SSDs now, so even when switching to nvme we'll have pretty high per-device load 16:39:08 SATA SSDs are still painfully slow. 16:39:42 Sure, but we go from 14 to 4 devices in the pool. 16:40:05 And no, I don't have numbers because this isn't tested yet. I just want to know what kind of devices I might want to consider IFF it turns out to be useful/needed. 16:40:15 Not only is the interface limited to ~550MBps due to having to send 10 bits for every 8 bits transferred over the SATA connection, but SATA NCQ is limited to 1 queue of only 32 items. NVMe has 64k queues of 64k items. 16:40:18 If nothing else they reduce the write counts on the main SSDs 16:40:28 The point is, you don't have an NVME pool. 16:40:41 So yes, you still get the benefit from a couple of NVMe log devices. 16:42:25 You're forgetting the batched writes. We have constant writes to the SLOG devices, and flushing every 10s. Since we run 128k block sizes (for compression), but mysql I/O is in 16kb blocks, the SLOG devices save us from a lot of the write amplification. 16:43:12 I don't know if that is going to be an issue with new NVMe SSDs. 16:46:03 Whenever we need to turn off the SLOG devices now, latency goes up, busy rate on the main SSDs goes way up, and bytes written (in the smart data) accelerates a lot. 16:46:39 (Happened a couple years ago when our first-gen optanes suddenly stopped working - they both failed a couple hours apart, after ~2 years :D ) 16:54:41 firefox here I come 16:54:55 memory leaks and all 16:55:24 no firefox is so sluggish agggkgkgk 16:55:30 github crap ok 16:57:42 🤷 17:05:03 I beleive sql db are sscam 17:05:15 ever read henry baker on files being faster? 17:05:30 werc.cat-v.org + varnish+ha-proxy 17:12:05 brb, going to do the CURRENT upgrade-rebooting dance. 17:28:13 concrete_houses: use Safari 17:28:18 the best browser 17:28:52 LOL 17:29:13 I wish chuck moore would do a web browser in FORTH :) might work in 1/10,000th the code 17:29:35 I am using ungoogled-chromeium 17:29:42 ignition source located !!! now slapping with a large amount of trout juice 17:29:45 still feels way more zippy that firefox 17:32:27 CmdLnKid, "trout juice" lol 17:32:55 is that a zoomer diss? 17:33:00 IM too old to understand 17:34:23 maybe a military phrase? 17:34:36 * CmdLnKid slaps concrete_houses with a large trout 17:35:02 What is this ungoogled thing? 17:35:57 ltning, plenty of things im sure that don't involve the goog 17:36:30 concrete_houses mentioned "ungoogled-chromium" 17:37:30 Ltning, I take that to mean removal of various tracking, ad showing, & privacy busting code removal 17:37:37 Whoa, it's actually in ports. *jexec poudriere.child* 17:37:48 Ltning, If that is actually so, do not know the extent 17:43:04 latest pkg upgrade removed charome 17:43:08 parv: which part? 17:43:13 and you have to use ungoogled-chromium 17:44:05 its probably for my own good but now no ublock origin and screenshot plugin until i goto github on a safari to install something 17:44:07 Ltning, What do you mean? 17:44:40 parv: "..do not know the extent" 17:45:56 Ltning, Do not know the extent of (as wrote earlier) of "removal[/proper replacement] of various tracking, ad showing, & privacy busting code removal" 17:46:09 Ah I see. Sorry, I'm dense. 17:48:14 From horse's mouth: https://github.com/ungoogled-software/ungoogled-chromium (see the "Objectives") 17:48:15 Title: GitHub - ungoogled-software/ungoogled-chromium: Google Chromium, sans integration with Google 17:49:00 Yep, I am not only dense, but also lazy. I did locate it. Now figuring out why I broke my poudriere. 17:52:42 Wonder if LTO is safe .. :D 17:59:55 Once again to the rescue: `top -m io` 18:37:14 kenrap: are you thinking of these commits? , 18:37:15 Title: nvme: Switch to nda by default · freebsd/freebsd-src@bdc81ee · GitHub 18:38:14 18:38:16 Title: nvd/nda: Add release notes info. · freebsd/freebsd-src@6a8d407 · GitHub 18:52:43 grahamperrin: yep 18:56:20 Ltning: re LTO: depends on the project. sometimes, the speedup isn't worth it. MongDB took 9 hours to link, so LTO was disabled 18:57:03 Ltning: reference https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271919 18:57:06 Title: 271919 – databases/mongodb50: ld.lld takes over 10h to complete on arm64 on 32-core machine 18:58:31 so i have a single device pool with a failed drive that I don't care about the data. i can't remove the device from the pool because there are no other devices in the pool. is my only option is to remove the pool? 19:05:14 kenrap: I'm curious, do you know about src/tools/build/beinstall.sh ? 19:05:47 CCFL_Man, zpool destory? 19:06:12 You'll also want zpool-labelclear(8) 19:06:12 zpool destroy 19:06:23 debdrup: I don't unfortunately. 19:07:03 kenrap: if you use zfs, it can create boot environments and install the new base system into it using chroot, which you can then boot to temporarily using bectl (it does this by default) 19:07:18 Oh, awesome! 19:07:24 if it fails to boot, you can use the loader to switch back to the old boot environment 19:07:35 it makes running -CURRENT exceptionally easy :3 19:07:37 Sweet! \o/ 19:07:45 also this: https://wiki.freebsd.org/MetaMode 19:07:46 Title: MetaMode - FreeBSD Wiki 19:13:44 is this channel for all arch's or is there a dedicated one for arm64? 19:15:28 im trying to find out if there are any semi-recent arm64 laptops that are known to mostly work with freebsd but haven't had much luck 19:16:29 TIL FreeBSD has the new procmail: https://www.freshports.org/mail/procmail-bgrb/ 19:16:30 Title: FreshPorts -- mail/procmail-bgrb: BuGlessRB fork of the procmail local mail delivery agent 19:16:57 debdrup: I'm all configured with metamode. Thanks again for sharing about those two methods. 19:21:56 I was planning on learning to use bectl with CURRENT upgrades. So coincidentally, beinstall.sh conveniently fills in that idea for me. 19:26:27 derzahl: #freebsd-mips on EFnet is probably a better place to ask 19:27:08 #bsdmips 19:28:14 ...though that's developers' channel and the question is rather a user level thing 19:35:59 #freebsd-xorg on EFnet might have opinions, and that's end-user friendly. 20:00:50 ok thanks 20:10:00 VVD: thanks 20:10:25 debdrup: why labelclear? 20:10:58 prevents data from being restored? 20:12:33 and also, why would I want "IT mode" firmware on an HBA? 20:16:46 CCFL_Man: IT mode is the "let the system manage it" mode, as compared with hardware RAID. 20:17:07 CCFL_Man: You generally want to let the system manage the attached devices directly. 20:23:38 mason: understood. otherwise, the HBA would? 20:24:24 CCFL_Man: That's generally the idea, yeah - if not in IT mode, the computer can't actually see the underlying drives as they are. 20:24:31 I could be confused, but this is how I understand it. 20:54:47 mason: understood. that makes sense. i'll have to flash my HBA with IT mode firmware 22:19:13 Anyone recognize this number?: 1688768316000000000 22:21:24 CrtxReavr: DDG thinks it's a FedEx tracking number. 22:21:37 DDG? 22:23:01 echo $(( $(date +%s) * 1000000000 )) 22:23:10 It's nanoseconds past the epoch. 22:28:34 DuckDuckGo 22:30:07 I want to like DuckDuckGo, I really do. . . 22:30:21 I just don't find their search results very good. 23:12:43 re: DDG - when I was searching for some stuff while reading about Unix/FreeBSD history, I realized Google is more awful than I realized. I hit some of the same stuff on Bing (which apparently is where DDG pulls from) and had way more info. 23:13:08 DDG's main annoyance for me is that dumb infinite scroll crap - I really, really prefer pagination. 23:32:47 DDG had an option for disabling infinite scroll, or had one last I checked.