Re: [gentoo-user] Re: How to make a boot menu?

2022-04-17 Thread Rich Freeman
On Sun, Apr 17, 2022 at 3:00 PM Martin Vaeth wrote: > > Yes, without a manually written grub.cfg you get none of these features - > the default grub.cfg is just horrible. > Well, the most powerful feature is probably still available: > The possibility to edit the kernel's command line, partition

Re: [gentoo-user] Re: systemd-boot on openrc

2022-04-17 Thread Rich Freeman
On Sun, Apr 17, 2022 at 1:05 PM Martin Vaeth wrote: > > Peter Humphrey wrote: > > On Sunday, 17 April 2022 16:42:35 -00 Martin Vaeth wrote: > >> Peter Humphrey wrote: > >> > On Sunday, 17 April 2022 14:54:50 -00 Rich Freeman wrote: > >> >> Can'

Re: [gentoo-user] systemd-boot on openrc

2022-04-17 Thread Rich Freeman
On Sun, Apr 17, 2022 at 9:03 AM Peter Humphrey wrote: > > On Sunday, 17 April 2022 12:13:06 -00 Neil Bothwick wrote: > > --->8 > > It looks like this is cause my using mixed keywords, amd64 for udev and > > ~amd64 for systemd-boot/utils. Does keywording udev-250 resolve the > > blocks? > > Yes,

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Rich Freeman
On Sat, Apr 16, 2022 at 6:39 PM Dale wrote: > > Neil Bothwick wrote: > > Use /dev/disks/by/partlabel/foo or /dev/disks/by-partuuid/bar. > > > > That's even more typing than /dev/sdk. Some things I do easily by using > tab completion and all. When mounting, I let fstab remember the UUID > for

Re: [gentoo-user] Hard drive error from SMART

2022-04-16 Thread Rich Freeman
On Sat, Apr 16, 2022 at 10:59 AM Dale wrote: > > I have googled and can not find a way to reset udev and it naming > drives. I may have to rework some things since the drive kept the sdk > instead of switching to sdd when I made the physical change. Thing is, > I suspect it will when I reboot

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Rich Freeman
On Tue, Apr 12, 2022 at 1:08 PM Dale wrote: > > I remounted the drives and did a backup. For anyone running up on this, > just in case one of the files got corrupted, I used a little trick to > see if I can figure out which one may be bad if any. I took my rsync > commands from my little script

Re: [gentoo-user] Hard drive error from SMART

2022-04-12 Thread Rich Freeman
On Mon, Apr 11, 2022 at 9:27 PM Dale wrote: > > Thoughts. Replace as soon as drive arrives or wait and see? > So, first of all just about all my hard drives are in a RAID at this point, so I have a higher tolerance for issues. If a drive is under warranty I'll usually try to see if they will

Re: [gentoo-user] LVM and moving things around

2022-04-05 Thread Rich Freeman
On Tue, Apr 5, 2022 at 11:10 AM Wols Lists wrote: > > I don't know how you take advantage of it, but linux by default caches > disk i/o. You can tell it to "don't cache" and apparently it makes a > major difference. Given that rsync reads once and then never uses it > again, you don't want it

Re: [gentoo-user] LVM and moving things around

2022-04-03 Thread Rich Freeman
On Sun, Apr 3, 2022 at 4:59 AM Wols Lists wrote: > > On 03/04/2022 02:15, Bill Kenworthy wrote: > > Rsync has a bwlimit argument which helps here. Note that rsync copies > > the whole file on what it considers local storage (which can be mounted > > network shares) ... this can cause a real

Re: [gentoo-user] systemd DNS does not resolve 'local' addresses

2022-04-03 Thread Rich Freeman
On Sun, Apr 3, 2022 at 4:25 AM Alexander Puchmayr wrote: > > wasn't systemd per se, it was an update of /etc/nsswitch.conf. The old version > had > > Hosts: mymachines files myhostname dns > > while the new version contains > > Hosts: mymachines resolve [!UNAVAIL=return] files

Re: [gentoo-user] systemd DNS does not resolve 'local' addresses

2022-04-02 Thread Rich Freeman
On Sat, Apr 2, 2022 at 5:22 PM Alexander Puchmayr wrote: > > ## portage.local maps to 192.168.1.6 > ## DNS-Server provided via DHCP is 192.168.1.1 (openwrt-router) > > buildhost-desktop ~ # ping portage.local > ping: portage.local: Temporary failure in name resolution > >Protocols:

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Rich Freeman
On Mon, Mar 28, 2022 at 9:32 AM Dale wrote: > > Time for plan B. I expect a drive purchase soon. $$$ Heck, it would > be faster to do backups, redo the whole thing and copy it all back. I > could copy it in chunks. First chunk gets me running and then copy > remaining stuff. Hm. If you

Re: [gentoo-user] LVM and moving things around

2022-03-28 Thread Rich Freeman
On Sun, Mar 27, 2022 at 8:32 PM Miles Rout wrote: > > To be clear, cryptsetup is just a userspace command line tool for > manipulating dm-crypt/LUKS stuff. dm-crypt is the kernel part. Lots of > tools are structured this way. LVM is a thing in the kernel, and the > lvcreate/pvcreate/etc.

Re: [gentoo-user] LVM and moving things around

2022-03-27 Thread Rich Freeman
On Sun, Mar 27, 2022 at 4:13 PM Dale wrote: > > What is the advantage of dm-crypt over cryptsetup? I've learned how to > use cryptsetup with my external drive so was hoping to stick with what I > already know. Unless there is a advantage to dm-crypt. So, I suspect that terms are being used

Re: [gentoo-user] KDE, sddm etc security. Plus LVM question.

2022-03-21 Thread Rich Freeman
On Mon, Mar 21, 2022 at 8:03 PM Laurence Perkins wrote: > > The TPM in most computers doesn't dump the keys if someone tries to open the > case to install hardware sniffers. > That's a good point, though if somebody with the ability to sniff the RAM or (to a lesser degree) GPU traffic is after

Re: [gentoo-user] KDE, sddm etc security. Plus LVM question.

2022-03-21 Thread Rich Freeman
On Mon, Mar 21, 2022 at 2:30 PM Laurence Perkins wrote: > > Having it remain unlocked and capable of rebooting unless the accelerometer > showed movement I think was an option since the TPM kept monitoring even if > the mains power was interrupted. > Yeah, there might still be ways to

Re: [gentoo-user] KDE, sddm etc security. Plus LVM question.

2022-03-21 Thread Rich Freeman
On Mon, Mar 21, 2022 at 12:17 PM Laurence Perkins wrote: > > There was the ORWL project a few years ago. Self-encrypting SSD drive with a > TPM that would unlock it only in the presence of an encrypted RFID tag plus > tapping in a code on the keypad, with all the sensitive bits wrapped in an

Re: [gentoo-user] KDE, sddm etc security. Plus LVM question.

2022-03-20 Thread Rich Freeman
On Sun, Mar 20, 2022 at 12:05 PM Daniel Frey wrote: > > They don't even need to defeat a password. If they have root, it's > trivial to unlock a locked session without knowing the password - just FYI. > ... > The screen locks in linux are security by obscurity, if something is > that sensitive,

Re: [gentoo-user] Re: Root can't write to files owned by others?

2022-03-11 Thread Rich Freeman
On Fri, Mar 11, 2022 at 1:23 PM Mark Knecht wrote: > > To me the overriding idea of not letting any user, including root, > mess around in a pipe makes logical sense, but as the OP has showed I > guess there were valid uses for this feature pre-patch, and it seems > that a user can override the

Re: [gentoo-user] applications cannot access anything on youtube

2022-03-06 Thread Rich Freeman
On Sun, Mar 6, 2022 at 12:20 PM John Covici wrote: > > OK, I discovered that if I add 8.8.8.8 to my resolv.conf, > www.youtube.com becomes accessible. I would like not to have either > google or cloudflare in there, if I can avoid them -- they were > blocking some places I wanted to go to with a

Re: [gentoo-user] applications cannot access anything on youtube

2022-03-06 Thread Rich Freeman
On Sun, Mar 6, 2022 at 11:49 AM Michael wrote: > > On Sunday, 6 March 2022 16:34:21 GMT John Covici wrote: > > On Sun, 06 Mar 2022 09:23:58 -0500, > > > > Rich Freeman wrote: > > > On Sun, Mar 6, 2022 at 9:01 AM John Covici wrote: > > > > Tracerou

Re: [gentoo-user] applications cannot access anything on youtube

2022-03-06 Thread Rich Freeman
On Sun, Mar 6, 2022 at 9:01 AM John Covici wrote: > > Traceroute does not work, either. > Can you elaborate on what "does not work" means, both for traceroute and ping? This is sounding like a name resolution issue. Dig will directly query the name server you point it at. Traceroute or ping

Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-24 Thread Rich Freeman
On Thu, Feb 24, 2022 at 6:47 AM Dr Rainer Woitok wrote: > > since the output of "emerge -a" might be long, and since on a stock con- > sole you cannot scroll, I had the idea of piping it into "tee", and in > case I'm unsure just to say "No" to the question of whether or not I > would like

Re: [gentoo-user] How to copy gzip data from bytestream?

2022-02-21 Thread Rich Freeman
On Mon, Feb 21, 2022 at 8:29 PM Grant Edwards wrote: > > But I was trying to figure out a way to do it without uncompressing > and recompressing the data. I had hoped that the gzip header would > contain a "length" field (so I would know how many bytes to copy using > dd), but it does not.

Re: [gentoo-user] Why is "mtp-probe" running when I plug in a USB device?

2022-01-21 Thread Rich Freeman
On Fri, Jan 21, 2022 at 4:23 PM Grant Edwards wrote: > > Why does that library think it should be probing every USB device I > plug in? Is that automatic probing required for libmtp and mtpfs to > work? I'm guessing that MTP cannot be detected by just looking at a device ID/etc and requires some

Re: [gentoo-user] TLD for home LAN?

2022-01-18 Thread Rich Freeman
On Tue, Jan 18, 2022 at 3:12 PM Laurence Perkins wrote: > > > > >>-Original Message----- > >>From: Rich Freeman > >>Sent: Tuesday, January 18, 2022 11:41 AM > >>To: gentoo-user@lists.gentoo.org > >>Subject: Re: [gentoo-user] TLD f

Re: [gentoo-user] TLD for home LAN?

2022-01-18 Thread Rich Freeman
On Tue, Jan 18, 2022 at 12:28 PM Laurence Perkins wrote: > > The standard does not prohibit the names being resolvable via unicast DNS as > well, though it does recommend that you make sure the two resolution paths > return consistent results since most systems will take the first response >

Re: [gentoo-user] TLD for home LAN?

2022-01-15 Thread Rich Freeman
On Sat, Jan 15, 2022 at 2:54 PM Grant Taylor wrote: > > RFC 6762 does not preclude the use of the local top level domain > in traditional unicast DNS. Of course it doesn't. You can also go ahead and use some of Amazon's AWS IP space to number your home network too if you want. Just don't be

Re: [gentoo-user] TLD for home LAN?

2022-01-15 Thread Rich Freeman
On Sat, Jan 15, 2022 at 2:35 PM Raphael Mejias Dias wrote: >> >> You might want to look into whether it solves your problems >> out-of-the-box without the need to run internal DNS. The latter still >> has certain advantages, but mDNS obviously benefits from simplicity. >> >> > This solution,

Re: [gentoo-user] TLD for home LAN?

2022-01-15 Thread Rich Freeman
On Sat, Jan 15, 2022 at 5:57 AM William Kenworthy wrote: > > On 15/1/22 18:33, Peter Humphrey wrote: > > Hello list, > > > > Rich F said recently, "I'd avoid using the .local TLD due to RFC 6762." > > > > That brings me back to a thorny problem: what should I call my local > > network? > > It

Re: [gentoo-user] BIND Configuration for DNS

2022-01-14 Thread Rich Freeman
On Fri, Jan 14, 2022 at 10:45 AM Raphael Mejias Dias wrote: > > Basically, I'm wanting to create an internal address like intranet.local, > this way, I can change the internal IP address, without the obligation to > reconfigure the client machines to lookup the new IP, only changing the DNS >

Re: [gentoo-user] installing virtual machine under gentoo

2022-01-02 Thread Rich Freeman
On Sun, Jan 2, 2022 at 1:01 PM Grant Taylor wrote: > > What I remember doing was re-configuring the (primary) network interface > so that it came up without an IP address and was added as a member to a > newly created bridge. As part of that I moved the system's IP > address(es) from the

Re: [gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread Rich Freeman
On Fri, Dec 31, 2021 at 9:40 AM Petric Frank wrote: > > Am Freitag, 31. Dezember 2021, 15:31:43 CET schrieb Yixun Lan: > > On 07:33 Fri 31 Dec , John Covici wrote: > > > Hi. I am looking for some guidance on installing virtual machines > > > under gentoo. I have a 5.10.82 kernel and I would

Re: [gentoo-user] Long boot time after kernel update

2021-12-28 Thread Rich Freeman
On Tue, Dec 28, 2021 at 8:32 AM Jacques Montier wrote: > > Well, il cleaned my dusty mobo, unplugged and plugged again the sata cables. > Now, with or without NCQ, boot time is rather short (~28s). > So it seems it was a connection problem. Yeah, I've suspected my cables for some of these ATA

Re: [gentoo-user] Long boot time after kernel update

2021-12-27 Thread Rich Freeman
On Mon, Dec 27, 2021 at 8:46 AM Wols Lists wrote: > > On 27/12/2021 13:40, Michael wrote: > > On Monday, 27 December 2021 11:32:39 GMT Wols Lists wrote: > >> On 27/12/2021 11:07, Jacques Montier wrote: > >>> Well, i don't know if my partitions are aligned or mis-aligned... How > >>> could i get

Re: [gentoo-user] Synchronous writes over the network.

2021-12-23 Thread Rich Freeman
On Thu, Dec 23, 2021 at 12:39 PM Mark Knecht wrote: > > I'll respond to Rich's points in a bit but on this point I think > you're both right - new SSDs are very very reliable and I'm not overly > worried, but it seems a given that forcing more and more writes to an > SSD has to up the probability

Re: [gentoo-user] Synchronous writes over the network.

2021-12-23 Thread Rich Freeman
On Thu, Dec 23, 2021 at 11:56 AM Mark Knecht wrote: > >Thanks for the responses. I'll post a single response here. I had > thought of the need to mirror the ZIL but didn't have enough physical > disk slots in the backup machine for the 2nd SSD. I do think this is a > critical point if I was

Re: [gentoo-user] Synchronous writes over the network.

2021-12-20 Thread Rich Freeman
On Mon, Dec 20, 2021 at 2:52 PM Wols Lists wrote: > > And it might also mean blocking writes, which is why you don't want it > on spinning rust. But it also means that it is (almost) guaranteed to > get to permanent storage, which is why you do want it for mail, > databases, etc. > The reason

Re: [gentoo-user] Synchronous writes over the network.

2021-12-20 Thread Rich Freeman
On Mon, Dec 20, 2021 at 1:52 PM Mark Knecht wrote: > > I've recently built 2 TrueNAS file servers. The first (and main) unit > runs all the time and serves to backup my home user machines. > Generally speaking I (currently) put data onto it using rsync but it > also has an NFS mount that serves

Re: [gentoo-user] How do I get a core dump from seg-faulting software?

2021-12-16 Thread Rich Freeman
On Thu, Dec 16, 2021 at 10:55 AM Alan Mackenzie wrote: > > But still, no dump. :-( > > What am I missing? Are you using systemd? It has a mechanism to consolidate core dumps to a system directory with a tool to view/debug them and retention policies. I think that all is enabled by default,

Re: [gentoo-user] Bug in run-crons?

2021-12-13 Thread Rich Freeman
On Mon, Dec 13, 2021 at 4:42 PM Michael Orlitzky wrote: > > On Mon, 2021-12-13 at 22:38 +0100, Frank Steinmetzger wrote: > > > > Well I *could* disable run-crons altogether and add entries to fcron’s own > > crontab which would run those scripts in /etc/cron.{hourly,daily,...} > > instead. > > >

Re: [gentoo-user] Bug in run-crons?

2021-12-13 Thread Rich Freeman
On Sun, Dec 12, 2021 at 2:07 PM Frank Steinmetzger wrote: > > Am Sun, Dec 12, 2021 at 01:41:33PM -0500 schrieb Rich Freeman: > > On Sun, Dec 12, 2021 at 1:21 PM Frank Steinmetzger wrote: > > > > > > > I don't use this, but I believe there should be an hour

Re: [gentoo-user] Bug in run-crons?

2021-12-12 Thread Rich Freeman
On Sun, Dec 12, 2021 at 1:21 PM Frank Steinmetzger wrote: > > It uses state files in /var/spool/cron/lastrun/ to know when each interval > was last run, so it only runs once per period. But: the age threshold for > the state file is period + 5 minutes. Shouldn’t that be period - 5 minutes? > > My

Re: [gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-02 Thread Rich Freeman
On Thu, Dec 2, 2021 at 10:14 AM Neil Bothwick wrote: > > On Thu, 2 Dec 2021 07:04:26 -0500, Rich Freeman wrote: > > > > > Disregard that. > > > > > > I'm not using any udev rules for network devices. If all you want is > > > the old eth?/wla

Re: [gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-02 Thread Rich Freeman
On Thu, Dec 2, 2021 at 3:01 AM Neil Bothwick wrote: > > On Wed, 1 Dec 2021 20:07:11 -0500, Rich Freeman wrote: > > > > > Disregard that. > > I'm not using any udev rules for network devices. If all you want is the > old eth?/wlan? names back the kernel param

Re: [gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-01 Thread Rich Freeman
On Wed, Dec 1, 2021 at 8:05 PM Rich Freeman wrote: > > On Wed, Dec 1, 2021 at 7:15 PM Dale wrote: > > > > > > root@fireball / # ls -al /etc/udev/rules.d/ > > -rw-r--r-- 1 root root 1903 Apr 4 2012 70-persistent-cd.rules > > -rw-r--r-- 1 root root 814

Re: [gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-01 Thread Rich Freeman
On Wed, Dec 1, 2021 at 7:15 PM Dale wrote: > > > root@fireball / # ls -al /etc/udev/rules.d/ > -rw-r--r-- 1 root root 1903 Apr 4 2012 70-persistent-cd.rules > -rw-r--r-- 1 root root 814 Jan 1 2008 70-persistent-net.rules > -rw-r--r-- 1 root root0 Mar 22 2015 80-net-name-slot.rules > > I

Re: [gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-01 Thread Rich Freeman
On Wed, Dec 1, 2021 at 2:17 PM Jigme Datse wrote: > > I honestly was afraid of this with running some updates lately. > Like... Not this specifically, but because someone was commenting > about eudev->udev causing problems... And then the problems I was > having a hard time with some updates on

Re: [gentoo-user] Switching from eudev to udev, disaster.

2021-11-30 Thread Rich Freeman
On Tue, Nov 30, 2021 at 3:56 PM Laurence Perkins wrote: > > If you only have one interface though and tweak your hardware regularly then > you'll probably be happier to put it back to the old naming scheme because > with only one device it should always be eth0. > I'm not sure if other network

Re: [gentoo-user] world update problem again

2021-11-30 Thread Rich Freeman
On Tue, Nov 30, 2021 at 9:59 AM Matt Connell (Gmail) wrote: > > On Tue, 2021-11-30 at 09:18 -0500, Rich Freeman wrote: > > A little background for the curious, and I'll just try to stick to the > > factual narrative and what the main opinions are: > > Gentoo is in

Re: [gentoo-user] world update problem again

2021-11-30 Thread Rich Freeman
On Tue, Nov 30, 2021 at 8:27 AM Arve Barsnes wrote: > > On Tue, 30 Nov 2021 at 14:20, John Covici wrote: > > > > Hi. So, on my latest attempt at a world update today, I am getting a > > crazy problem with libpng, with some packages insisting on the use > > flag -apng (portage made me put it

Re: [gentoo-user] Git change logs

2021-11-29 Thread Rich Freeman
On Mon, Nov 29, 2021 at 11:43 AM Peter Humphrey wrote: > > On Monday, 29 November 2021 16:32:45 GMT Rich Freeman wrote: > > On Mon, Nov 29, 2021 at 11:17 AM Peter Humphrey > wrote: > > > # (cd /var/db/repos/gentoo/sys-devel/gcc && git whatchanged) > > >

Re: [gentoo-user] Git change logs

2021-11-29 Thread Rich Freeman
On Mon, Nov 29, 2021 at 11:17 AM Peter Humphrey wrote: > > On Monday, 29 November 2021 16:03:25 GMT Rich Freeman wrote: > > On Mon, Nov 29, 2021 at 5:39 AM tastytea wrote: > > > If you want the history for a file, you need to specify the full path: > > > &

Re: [gentoo-user] Git change logs

2021-11-29 Thread Rich Freeman
On Mon, Nov 29, 2021 at 5:39 AM tastytea wrote: > > If you want the history for a file, you need to specify the full path: > > git log sys-devel/gcc/gcc-11.2.1_p20211127.ebuild > You can also point it at a directory and get changes for the entire directory. I also suggest trying "git

Re: [gentoo-user] Kernel upgrade breaks virtualbox

2021-11-27 Thread Rich Freeman
On Sat, Nov 27, 2021 at 7:29 AM Wols Lists wrote: > > Simple problem, after a kernel upgrade, virtualbox no longer works. This > is to be expected, of course, BUT ... > I can't offer any VirtualBox-specific solutions but I would try reinstalling it as others have suggested (emerge -1

Re: [gentoo-user] dev-util/android-sdk-update-manager requires multilib?

2021-11-24 Thread Rich Freeman
On Tue, Nov 23, 2021 at 4:39 PM Walter Dnes wrote: > > The part "Mask packages that rely on amd64 multilib" implies that > something in the package relies on multilib. This is the first time > I've run into something requiring multilib since trying to build WINE, > ages ago. And my system is

Re: [gentoo-user] youtube-dl has been very slow

2021-11-15 Thread Rich Freeman
On Mon, Nov 15, 2021 at 1:42 PM Skippy wrote: > > I created the symlink as you instructed and it appears to be working. > When I enable use of youtube-dl in gPodder I get no error messages. I > just added a youtube feed and am downloading some videos. > Keep in mind that some APIs might break

Re: [gentoo-user] Suggestions for NAS appliance?

2021-11-13 Thread Rich Freeman
On Sat, Nov 13, 2021 at 12:35 AM William Kenworthy wrote: > > Look at the odroid HC4 - I am using 5x the older HC2 version for moosefs > - they are USB3 based but work well in this application. They are arm32 > but 64bit is not needed. I like the idea behind the HC series Odroids, but being

Re: [gentoo-user] Suggestions for NAS appliance?

2021-11-12 Thread Rich Freeman
On Fri, Nov 12, 2021 at 5:57 PM Mark Knecht wrote: > > which I don't think is available yet but will run in the $250 > range without the drives. It appears that the motherboard > they designed takes the PCIe to a card with a PCIe-to-SATA > controller which is how you get better performance. With

Re: [gentoo-user] Suggestions for NAS appliance?

2021-11-12 Thread Rich Freeman
On Wed, Nov 10, 2021 at 11:06 PM Mark Knecht wrote: > > > Not a recommendation precisely but there's a guy on YouTube named Jeff > Geerling that's doing a lot of that sort of thing using a Raspberry Pi and > multiple SATA drives. I've just built my first RP4 box aimed at > astrophotography and

Re: [gentoo-user] [OT] how to delete a directory tree really fast

2021-10-24 Thread Rich Freeman
On Sun, Oct 24, 2021 at 10:48 AM Helmut Jarausch wrote: > > Finally I have come up with the following shell script for backing up > my /home directory, > comments are more than welcome, of course. > (/HBackUp contains a BTRFS file system) > Is /home on btrfs? If not then something like this is

Re: [gentoo-user] [OT] how to delete a directory tree really fast

2021-10-22 Thread Rich Freeman
On Fri, Oct 22, 2021 at 3:21 PM Helmut Jarausch wrote: > > Is it possible to have a hard link from one subvolume to a different > one? You could do a quick test, but I don't think so. I haven't used btrfs in years but they're basically separate filesystems as far as most commands are concerned.

Re: [gentoo-user] [OT] how to delete a directory tree really fast

2021-10-22 Thread Rich Freeman
On Fri, Oct 22, 2021 at 8:39 AM Miles Malone wrote: > > small files... (Certainly dont quote me here, but wasnt JFS the king > of that back in the day? I cant quite recall) > It is lightning fast on lizardfs due to garbage collection, but metadata on lizardfs is expensive, requiring RAM on the

Re: [gentoo-user] [OT] how to delete a directory tree really fast

2021-10-22 Thread Rich Freeman
On Fri, Oct 22, 2021 at 7:36 AM Helmut Jarausch wrote: > > > There are more than 55,000 files on some which is located > on a BTRFS file system. > Standard 'rm -rf' is really slow. > > Is there anything I can do about this? > I don't have any solid suggestions as I haven't used btrfs in a

Re: [gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-13 Thread Rich Freeman
On Wed, Oct 13, 2021 at 2:50 PM Grant Edwards wrote: > > Is there some reason it should default > to doing unlimited depth fetch operations? > If all you want is a repo, no reason to set the depth higher. If you want to see the history then you'll want it all. However, once you have an initial

Re: [gentoo-user] Re: Migrate from rsync to git for emerge --sync?

2021-10-12 Thread Rich Freeman
On Tue, Oct 12, 2021 at 9:22 PM Grant Edwards wrote: > > On 2021-10-13, Rich Freeman wrote: > > > > Profile selection is implemented as a symlink from > > /etc/portage/make.profile. If you move your repository, then you need > > to re-select the profile si

Re: [gentoo-user] Re: Migrate from rsync to git for emerge --sync?

2021-10-12 Thread Rich Freeman
On Tue, Oct 12, 2021 at 9:01 PM Matt Connell wrote: > > On Tue, 2021-10-12 at 21:14 +, Grant Edwards wrote: > > no profile selected > > I'm surprised you had gotten this far without a profile selected. > Maybe you had previously selected one that was deprecated at some point > and removed

Re: [gentoo-user] Migrate from rsync to git for emerge --sync?

2021-10-12 Thread Rich Freeman
On Tue, Oct 12, 2021 at 4:02 PM Grant Edwards wrote: > > Despite what multiple blog and wiki pages claim, it seems it's not as > simple as editing you gentoo.conf file. Do I need to wipe the contents > of /usr/portage and start with an emptry directory there? I believe so. I'd just rename the

Re: [gentoo-user] Hard drive pricing and the near future

2021-10-06 Thread Rich Freeman
On Wed, Oct 6, 2021 at 3:37 PM Laurence Perkins wrote: > I think what to look for there would be if there's a way to align the BTRFS > chunks to the SMR blocks. There are definitely ways to implement filesystems that are more compatible with SMR. You basically want something like a log-based

Re: [gentoo-user] Hard drive pricing and the near future

2021-10-06 Thread Rich Freeman
On Wed, Oct 6, 2021 at 12:16 PM Laurence Perkins wrote: > > Other option, depending on exactly what your use case is would be to look > into your choice of filesystem. SMR doesn't like random writes into one of > its chunks unless it has enough idle time to go back and straighten it out >

Re: [gentoo-user] Hard drive pricing and the near future

2021-10-05 Thread Rich Freeman
On Tue, Oct 5, 2021 at 7:32 PM Dale wrote: > > If anyone reading this does track the pricing of drives, are they on the > rise, stable, dropping or what? Is this a good time to expand while it > is more cost effective? I shop around on ebay, Amazon and others before > buying. I'm not opposed

Re: [gentoo-user] systemd boot timer

2021-10-01 Thread Rich Freeman
On Fri, Oct 1, 2021 at 4:36 PM antlists wrote: > > I now want to run lvm snapshot on the first boot of the weekend. Writing > a unit to do the snapshot seems pretty easy, but obviously I don't want > it firing every boot, if I stick the date in the volume name I don't > want it colliding with an

Re: [gentoo-user] NAS suggestions for home user

2021-09-30 Thread Rich Freeman
On Thu, Sep 30, 2021 at 5:50 PM Mark Knecht wrote: > > I've been looking at a few software solutions based on another thread here > but so far nothing has excited me so recommendations for what makes sense for > high reliability home backup is of great interest, especially if it helps me >

Re: [gentoo-user] How to compress lots of tarballs

2021-09-29 Thread Rich Freeman
On Wed, Sep 29, 2021 at 5:48 PM Wols Lists wrote: > > An LVM snapshot creates a "copy on write" image. I'm just beginning to > dig into it myself, but I agree it's a bit confusing. So, snapshots in general are a solution for making backups atomic. That is, they allow a backup to look as if the

Re: [gentoo-user] How to compress lots of tarballs

2021-09-29 Thread Rich Freeman
On Wed, Sep 29, 2021 at 4:27 AM Peter Humphrey wrote: > > Thanks Laurence. I've looked at borg before, wondering whether I needed a > more sophisticated tool than just tar, but it looked like too much work for > little gain. I didn't know about duplicity, but I'm used to my weekly routine > and

Re: [gentoo-user] How to compress lots of tarballs

2021-09-28 Thread Rich Freeman
On Mon, Sep 27, 2021 at 9:30 AM Peter Humphrey wrote: > > Thanks to all who've helped. I can't avoid feeling, though, that the main > bottleneck has been missed: that I have to read and write on a USB-3 drive. > It's just taken 23 minutes to copy the current system backup from USB-3 to > SATA

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread Rich Freeman
On Sat, Sep 25, 2021 at 4:30 PM Canek Peláez Valdés wrote: > > the simplest solution is to put your integrity logic in the initrd (with the > added benefit that you can mount it in emergencies if something goes wrong > with root). > If you want to try this, consider this article I wrote ages

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread Rich Freeman
On Sat, Sep 25, 2021 at 6:49 AM antlists wrote: > > On 24/09/2021 21:30, Canek Peláez Valdés wrote: > > There's a lot of info about how to write a service file, but if you need > to run before or after system service files, it's nowhere near so easy > to find out Before=WHAT or After=WHAT :-)

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Rich Freeman
On Tue, Aug 31, 2021 at 3:44 PM Michael wrote: > > Please beware, I have not used zfs to date, only btrfs, so the above merely > reflects my understanding rather than in depth experience of the difficulty in > managing such a setup. To save you digging through the thread, the issue with zfs is

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Rich Freeman
On Tue, Aug 31, 2021 at 1:51 PM Michael wrote: > > > > > In a small nutshell, you have a small EFI+boot partition, set to type > > 'EFI System' and formatted FAT32, then tell grub to use it as an EFI > > directory when calling grub-install. > > In simple(r) systems where you only boot the same OS

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Rich Freeman
On Tue, Aug 31, 2021 at 9:33 AM John Covici wrote: > > Well, I never use a boot pool, I boot with ext4 and just do the root > on zfs. But, I was more interested in some external media, so I am > looking at that Linux Recovery file system to see if I can get that > working, or if there is a way

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 2:13 PM Neil Bothwick wrote: > > All I could find was this: > > http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/zfs/zfs.c#n276 > > For a program with so much documentation, GRUB seems sorely lacking in > this respect. It makes me glad I decided to keep /boot

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 1:57 PM Neil Bothwick wrote: > > On Mon, 23 Aug 2021 13:37:01 -0400, Rich Freeman wrote: > > > > Your root pool setup doesn't really matter for GRUB compatibility. > > > What's important is that you have the proper features setup on your >

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 11:45 AM Vitor Hugo Nunes dos Santos wrote: > > Your root pool setup doesn't really matter for GRUB compatibility. What's > important is that you have the proper features setup on your boot pool. > That's the one GRUB loads. Sure, and in this case /boot is on my root

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 11:11 AM Neil Bothwick wrote: > > On Mon, 23 Aug 2021 04:15:10 -0400, John Covici wrote: > > > Now, the problem is that I am using zfs and will not give it up, and > > the version I have been using 0.8.6 is no longer supported in 5.10 > > versions of the kernel. So, I

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 10:13 AM John Covici wrote: > > So, which image is it exactly and how to boot up to a virtual console, > rather than some kind of gui? It has been a while, but I usually just download their desktop installer. I suspect their server installer would make it easier to get

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 8:13 AM John Covici wrote: > > Well, I cannot find any zfs packages and it does not say even what > kernel version it has -- but the whole point is I do need zfs and it > seems not to be there. > I've also been using the Ubuntu image. It is pretty easy to install zfs on

Re: [gentoo-user] X11 without udev/eudev

2021-08-22 Thread Rich Freeman
On Sun, Aug 22, 2021 at 7:18 PM antlists wrote: > > On 22/08/2021 22:59, Canek Peláez Valdés wrote: > > On Sun, Aug 22, 2021 at 3:32 PM > > wrote: > > [...] > > > > I'll be looking into that, but on some level, why should I be forced to > > go around udev. Can't

Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread Rich Freeman
On Fri, Aug 6, 2021 at 2:41 PM n952162 wrote: > > On 8/6/21 8:22 PM, Rich Freeman wrote: > > On Fri, Aug 6, 2021 at 8:37 AM n952162 wrote: > >> I was complaining, mostly, that isodate had to be the thing that was > >> incompatible with my configuration. Maybe

Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread Rich Freeman
On Fri, Aug 6, 2021 at 8:37 AM n952162 wrote: > > I was complaining, mostly, that isodate had to be the thing that was > incompatible with my configuration. Maybe there is a unavoidable reason > that that package had to move to the newest EAPI, or maybe it was just a > sense that it's cool to be

Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread Rich Freeman
On Tue, Aug 3, 2021 at 2:03 AM n952162 wrote: > > Well, what you say is likely true, but does "old software" really need > to be kept working? Couldn't problems necessarily only be dealt with > in the newest versions? > I think you are misunderstanding what actually went wrong in your

Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)

2021-08-01 Thread Rich Freeman
On Sat, Jul 31, 2021 at 11:05 PM William Kenworthy wrote: > > On 31/7/21 9:30 pm, Rich Freeman wrote: > > > > I'd love server-grade ARM hardware but it is just so expensive unless > > there is some source out there I'm not aware of. It is crazy that you > > can

Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)

2021-07-31 Thread Rich Freeman
On Sat, Jul 31, 2021 at 8:41 PM Frank Steinmetzger wrote: > > Am Sat, Jul 31, 2021 at 08:12:40AM -0400 schrieb Rich Freeman: > > > Plus it creates other kinds of confusion. Suppose you're measuring > > recording densities in KB/mm^2. Under SI prefixes 1KB/mm^2 equals &

Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)

2021-07-31 Thread Rich Freeman
On Sat, Jul 31, 2021 at 8:59 AM William Kenworthy wrote: > > I tried using moosefs with a rpi3B in the > mix and it didn't go well once I started adding data - rpi 4's were not > available when I set it up. Pi2/3s only have USB2 as far as I'm aware, and they stick the ethernet port on that USB

Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)

2021-07-31 Thread Rich Freeman
On Fri, Jul 30, 2021 at 11:50 PM Wols Lists wrote: > > btw, you're scrubbing over USB? Are you running a raid over USB? Bad > things are likely to happen ... So, USB hosts vary in quality I'm sure, but I've been running USB3 drives on lizardfs for a while now with zero issues. At first I was

Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)

2021-07-31 Thread Rich Freeman
On Sat, Jul 31, 2021 at 12:58 AM William Kenworthy wrote: > > I am amused in a cynical way at disk manufacturers using decimal values ... > So, the disk manufacturers obviously have marketing motivations. However, IMO the programming community would be well-served to just join basically every

Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)

2021-07-30 Thread Rich Freeman
On Fri, Jul 30, 2021 at 12:50 PM antlists wrote: > > On 30/07/2021 15:29, Rich Freeman wrote: > > Honestly I feel like the whole SMR thing is a missed opportunity, > > mainly because manufacturers decided to use it as a way to save a few > > bucks instead of as a

Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)

2021-07-30 Thread Rich Freeman
On Fri, Jul 30, 2021 at 1:14 AM William Kenworthy wrote: > > 2. btrfs scrub (a couple of days) > Was this a read-only scrub, or did this involve repair (such as after losing a disk/etc)? My understanding of SMR is that it is supposed to perform identically to CMR for reads. If you've just

Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-07-29 Thread Rich Freeman
On Thu, Jul 29, 2021 at 5:38 PM Martin Vaeth wrote: > > Rich Freeman wrote: > > My understanding is that qmali contains a "daemon" which does not > daemonize itself. To my knowledge, you can start such a thing > only with daemontools and systemd; probably

Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-07-29 Thread Rich Freeman
On Thu, Jul 29, 2021 at 4:24 PM Martin Vaeth wrote: > > Rich Freeman wrote: > > The more I heard on this the more I tend to think that maybe it > > should either not be in that virtual or that it should itself depend > > on openrc/etc, or that qmail shouldn't depe

<    1   2   3   4   5   6   7   8   9   10   >