[gentoo-user] SDD, what features to look for and what to avoid.

2020-03-16 Thread Dale
Howdy,

Tuxic's recent thread brought me back to looking at SDDs again.  I
recently learned about HDDs having SMR instead of PMR and how that can
be a negative in some situations.  I've since found out that one of my
/home drives is a SMR.  I didn't know to look at that when I bought it. 
So, before I find a SDD to buy, what are some things I should look for
it to have and what are things I should avoid?  I'm sure SMR and PMR
doesn't apply here but I bet you gurus have ran up on things the hard
way to either avoid or make sure SDDs have. 

As is, the OS itself is on sda.  That includes everything except /home
which is on two drives using LVM.  It's about 9TBs or so I think.  One
6TB drive, SMR I'm afraid to admit, and a 3TB drive that I'm pretty sure
is PMR. I may put /var on a HDD since it changes a good bit.  Everything
else, except /home, would be on the SDD. 

Anyone care to share? 

While at it, if I look for a NAS type HDD, would all those be PMR
instead of SMR?  From my understanding that should be correct.  Mostly I
buy WD, Seagate and Samsung.  I've had a WD fail, I've had a Seagate
fail. I'm not looking for a HDD flame up.  O_o  I'm starting to look at
HGST.  I think I got the spelling correct.  Never had one tho.

Thoughts?

Dale

:-)  :-) 



Re: [gentoo-user] SDD strategies...

2020-03-16 Thread Dale
tu...@posteo.de wrote:
> Hi,
>
> currentlu I am setting up a new PC for my 12-years old one,
> which has reached the limits of its "computational power" :)
>
> SSDs are a common replacement for HDs nowaday -- but I still trust my
> HDs more than this "flashy" things...call me retro or oldschool, but
> it my current "Bauchgefühl" (gut feeling).
>
> To reduce write cycles to the SSD, which are quite a lot when using
> UNIX/Limux (logging etc) and especially GENTOO (compiling sources
> instead of using binary packages -- which is GOOD!), I am planning
> the following setup:
>
> The sustem will boot from SSD.
>
> The HD will contain the whole system including the complete root 
> filesustem. Updateing, installing via Gentoo tools will run using 
> the HD. If that process has ended, I will rsync the HD based root
> fileystem to the SSD.
>
> Folders, which will be written to by the sustem while running will
> be symlinked to the HD.
>
> This should work...?
>
> Or is there another idea to setup a system which will benefit from
> the advantages of a SSD by avoiding its disadvantages?
>
> Background: I am normally using a PC a long time and try to avoid
> buying things for reasons like being more modern or being newer.
>
> Any idea to setup such a sustem is heardly welcone -- thank you
> very much in advance!
>
> Cheers!
> Meino
>

I don't have a SDD here but may one day.  Here's my thinking.  Set up a
chroot or a virtual machine thingy on a regular hard drive.  Copy your
OS to that, do the updates and then copy packages over to your running
system.  Then you just emerge -k  world and
all it does is install binaries on the running system using the SSD. 
The other benefit of this is a much faster update on the running
system.  Also, if you get part way through a update, qt or KDE for
example, you don't end up with a running system with mismatched versions
and possibly a system that doesn't function correctly or won't let you
do anything at all, or login even.  You can fix the build problems in
the chroot/VM and use the running system in the meantime.

I started doing this recently because I ran into issues where
KDE/qt/something else was not completely updated due to failed compiles
that stopped the updates.  Some programs I needed wouldn't start or no
longer would work correctly if already started.  It saves me some grief
but would keep the larger writes off your SSD and on a HDD.  Oh, if the
HDD were to fail, no loss there either.  Replace it and start over. 

I have some scripts, that's a VERY generous use of the word, that I use
to mount the chroot, copy the updates over and copy the packages over
when compiling is done.  I'm still perfecting this but so far, it is
working nicely and should work for you as well.  Someone else may have a
even better idea tho.

Dale

:-)  :-) 



[gentoo-user] SDD strategies...

2020-03-16 Thread tuxic
Hi,

currentlu I am setting up a new PC for my 12-years old one,
which has reached the limits of its "computational power" :)

SSDs are a common replacement for HDs nowaday -- but I still trust my
HDs more than this "flashy" things...call me retro or oldschool, but
it my current "Bauchgefühl" (gut feeling).

To reduce write cycles to the SSD, which are quite a lot when using
UNIX/Limux (logging etc) and especially GENTOO (compiling sources
instead of using binary packages -- which is GOOD!), I am planning
the following setup:

The sustem will boot from SSD.

The HD will contain the whole system including the complete root 
filesustem. Updateing, installing via Gentoo tools will run using 
the HD. If that process has ended, I will rsync the HD based root
fileystem to the SSD.

Folders, which will be written to by the sustem while running will
be symlinked to the HD.

This should work...?

Or is there another idea to setup a system which will benefit from
the advantages of a SSD by avoiding its disadvantages?

Background: I am normally using a PC a long time and try to avoid
buying things for reasons like being more modern or being newer.

Any idea to setup such a sustem is heardly welcone -- thank you
very much in advance!

Cheers!
Meino





Re: [gentoo-user] Pocket sneaks back

2020-03-16 Thread Dale
Matt Connell wrote:
> On 2020-03-16 19:46, Dale wrote:
>> Anything that can do, I can do locally by saving a web page or
>> downloading the content. 
> Pocket is easily replaced by just synchronizing bookmarks, for most
> people's purposes, and FF already supports that.
>
> If you need more than that, I can recommend Wallabag for link-saving.  I
> use it as my "read later" list.
>
>


Since I backup my /home directory, I have that already.  Based on what
the link claims, it allows you to watch videos, read articles and such
later even if offline.  If I like a page, I save it or print it as a pdf
or copy and paste it into LOo.  It might be a long way around but it
makes it available even if the website removes content or shuts down
completely, forever. 

Still, I likely don't understand all it does but I disabled it since I
don't think it serves a purpose here for me anyway.  Maybe others will.

I wonder what else Firefox does I don't know about

Dale

:-)  :-) 



Re: [gentoo-user] Pocket sneaks back

2020-03-16 Thread Matt Connell
On 2020-03-16 19:46, Dale wrote:
> Anything that can do, I can do locally by saving a web page or
> downloading the content. 

Pocket is easily replaced by just synchronizing bookmarks, for most
people's purposes, and FF already supports that.

If you need more than that, I can recommend Wallabag for link-saving.  I
use it as my "read later" list.



Re: [gentoo-user] Pocket sneaks back

2020-03-16 Thread Dale
Dale wrote:
> Michael wrote:
>> On Monday, 16 March 2020 21:08:10 GMT Dale wrote:
>>> Ian Zimmerman wrote:
 After the latest stable firefox upgrade to version 68.6 I again started
 seeing DNS queries for Pocket related domains.  I found this in
 prefs.js:

 user_pref("browser.newtabpage.activity-stream.section.highlights.includePo
 cket", true);

 I am not sure if this setting was new with this version or if firefox
 just started acting on it now, but in any case I am adding it to my
 user.js with a value of false, right now.
>>> I admit I don't know what these are for but I went to look at mine.  I
>>> also found this which is a little different than the one you posted but
>>> still pocket related.
>>>
>>> services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highligh
>>> ts.includePocket
>>>
>>> I run unstable here but mine is set to true for that one as well. 
>>>
>>> Dale
>>>
>>> :-)  :-) 
>> I didn't even know what pocket is, let alone that it is enabled as a default.
>>
>> I'm on FF 68.6.0esr, but I do not have a pocket button showing in the 
>> address 
>> bar.  I may have disable it sometime in the past, thinking that got rid of 
>> it 
>> - little I knew.
>>
>> Going to about:config and searching for pocket reveals a number of related 
>> settings, with 'extensions.pocket.enabled' being one you should pay 
>> attention 
>> to.
>>
>> https://help.getpocket.com/article/1025-disabling-save-to-pocket-features-in-firefox
>>
>> It is worth mentioning, Palemoon does not have pocket in it.  ;-)
>
> I don't want to set them to false because I still don't know what they
> do, google didn't help any either.  I don't want to break websites or
> something and then be trying to figure out why a site works for everyone
> but me, and maybe you if you happen to visit the same site.  ;-)
>
> Can someone share a link that tells what a pocket is exactly?  If I
> don't need it, I'd like to disable it.  It may help with the extension
> thingy that takes up tons of memory and sends one core of my CPU to
> 100%.  So far, restarting Firefox is the only solution.  It sometimes
> hit several GBs in no time flat.  It runs fine for days and then BAM. 
> Overload.  :/
>
> Thanks.
>
> Dale
>
> :-)  :-) 
>


After some looking, I found a link in about:config.  It lead me to this.

https://getpocket.com/about

That tells a little about what pocket is.  Pardon me while I go disable
stuff.  Anything that can do, I can do locally by saving a web page or
downloading the content. 

Dale

:-)  :-)



Re: [gentoo-user] Pocket sneaks back

2020-03-16 Thread Dale
Michael wrote:
> On Monday, 16 March 2020 21:08:10 GMT Dale wrote:
>> Ian Zimmerman wrote:
>>> After the latest stable firefox upgrade to version 68.6 I again started
>>> seeing DNS queries for Pocket related domains.  I found this in
>>> prefs.js:
>>>
>>> user_pref("browser.newtabpage.activity-stream.section.highlights.includePo
>>> cket", true);
>>>
>>> I am not sure if this setting was new with this version or if firefox
>>> just started acting on it now, but in any case I am adding it to my
>>> user.js with a value of false, right now.
>> I admit I don't know what these are for but I went to look at mine.  I
>> also found this which is a little different than the one you posted but
>> still pocket related.
>>
>> services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highligh
>> ts.includePocket
>>
>> I run unstable here but mine is set to true for that one as well. 
>>
>> Dale
>>
>> :-)  :-) 
> I didn't even know what pocket is, let alone that it is enabled as a default.
>
> I'm on FF 68.6.0esr, but I do not have a pocket button showing in the address 
> bar.  I may have disable it sometime in the past, thinking that got rid of it 
> - little I knew.
>
> Going to about:config and searching for pocket reveals a number of related 
> settings, with 'extensions.pocket.enabled' being one you should pay attention 
> to.
>
> https://help.getpocket.com/article/1025-disabling-save-to-pocket-features-in-firefox
>
> It is worth mentioning, Palemoon does not have pocket in it.  ;-)


I don't want to set them to false because I still don't know what they
do, google didn't help any either.  I don't want to break websites or
something and then be trying to figure out why a site works for everyone
but me, and maybe you if you happen to visit the same site.  ;-)

Can someone share a link that tells what a pocket is exactly?  If I
don't need it, I'd like to disable it.  It may help with the extension
thingy that takes up tons of memory and sends one core of my CPU to
100%.  So far, restarting Firefox is the only solution.  It sometimes
hit several GBs in no time flat.  It runs fine for days and then BAM. 
Overload.  :/

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Pocket sneaks back

2020-03-16 Thread Michael
On Monday, 16 March 2020 21:08:10 GMT Dale wrote:
> Ian Zimmerman wrote:
> > After the latest stable firefox upgrade to version 68.6 I again started
> > seeing DNS queries for Pocket related domains.  I found this in
> > prefs.js:
> > 
> > user_pref("browser.newtabpage.activity-stream.section.highlights.includePo
> > cket", true);
> > 
> > I am not sure if this setting was new with this version or if firefox
> > just started acting on it now, but in any case I am adding it to my
> > user.js with a value of false, right now.
> 
> I admit I don't know what these are for but I went to look at mine.  I
> also found this which is a little different than the one you posted but
> still pocket related.
> 
> services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highligh
> ts.includePocket
> 
> I run unstable here but mine is set to true for that one as well. 
> 
> Dale
> 
> :-)  :-) 

I didn't even know what pocket is, let alone that it is enabled as a default.

I'm on FF 68.6.0esr, but I do not have a pocket button showing in the address 
bar.  I may have disable it sometime in the past, thinking that got rid of it 
- little I knew.

Going to about:config and searching for pocket reveals a number of related 
settings, with 'extensions.pocket.enabled' being one you should pay attention 
to.

https://help.getpocket.com/article/1025-disabling-save-to-pocket-features-in-firefox

It is worth mentioning, Palemoon does not have pocket in it.  ;-)


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Pocket sneaks back

2020-03-16 Thread Dale
Ian Zimmerman wrote:
> After the latest stable firefox upgrade to version 68.6 I again started
> seeing DNS queries for Pocket related domains.  I found this in
> prefs.js:
>
> user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket",
>  true);
>
> I am not sure if this setting was new with this version or if firefox
> just started acting on it now, but in any case I am adding it to my
> user.js with a value of false, right now.
>

I admit I don't know what these are for but I went to look at mine.  I
also found this which is a little different than the one you posted but
still pocket related.

services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket

I run unstable here but mine is set to true for that one as well. 

Dale

:-)  :-) 



[gentoo-user] Pocket sneaks back

2020-03-16 Thread Ian Zimmerman
After the latest stable firefox upgrade to version 68.6 I again started
seeing DNS queries for Pocket related domains.  I found this in
prefs.js:

user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket",
 true);

I am not sure if this setting was new with this version or if firefox
just started acting on it now, but in any case I am adding it to my
user.js with a value of false, right now.

-- 
Ian



Re: [gentoo-user] os-prober fails sucessfully

2020-03-16 Thread Neil Bothwick
On Mon, 16 Mar 2020 12:51:06 -0500, Dutch Ingraham wrote:

> Hi all.  I'm having a problem with os-prober not finding other linux
> partitions.
> 
> I'm on x86_64 and an old spinning drive with an msdos partition table
> and 4 primary partitions, 3 linux and 1 swap.
> 
> os-prober runs successfully as per bash's return code, but no partitions
> are found.

os-prober scans for non-Linux operating systems. /etc/grub.d/10_linux is
the script responsible for finding Linux installations.


-- 
Neil Bothwick

You do not need a parachute to skydive. You only need a parachute to
skydive twice.


pgpKWHf85KV9w.pgp
Description: OpenPGP digital signature


[gentoo-user] emerge --sync using tor by default?

2020-03-16 Thread Caveman Al Toraboran
hi - is that true? 
it seems to be using it automatically when tor.service is running.

what's the point?  e.g. is it made to ensure that we reduce the probability of
having a single man in the middle that may consistently fool us?  by replacing
it by varying men in the middle that is harder for them to coordinate a
consistent lie?

and what do you recommend me to do in order look like the cool kids?

rgrds,
cm.




[gentoo-user] os-prober fails sucessfully

2020-03-16 Thread Dutch Ingraham

Hi all.  I'm having a problem with os-prober not finding other linux
partitions.

I'm on x86_64 and an old spinning drive with an msdos partition table
and 4 primary partitions, 3 linux and 1 swap.

os-prober runs successfully as per bash's return code, but no partitions
are found.

grub (grub2) is built with the 'mount' use flag, and when 'grub-mkconfig
-o /boot/grub/grub.cfg' is run, the result is the same, i.e., the gentoo
partition is found but no others.

Any suggestions on where to check from here?