Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread eric
On 4/19/23 21:23, Dale wrote: Mark Knecht wrote: > I wonder.  Is there a way to find out the smallest size file in a directory or sub directory, largest files, then maybe a average file size???  I thought about du but given the number of files I have here, it would be a really HUGE list of

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Dale
Mark Knecht wrote: > > > I wonder.  Is there a way to find out the smallest size file in a > directory or sub directory, largest files, then maybe a average file > size???  I thought about du but given the number of files I have here, > it would be a really HUGE list of files.  Could take hours or

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Mark Knecht
> I wonder. Is there a way to find out the smallest size file in a directory or sub directory, largest files, then maybe a average file size??? I thought about du but given the number of files I have here, it would be a really HUGE list of files. Could take hours or more too. This is what KDE

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Dale
Frank Steinmetzger wrote: > <<>> > > When formatting file systems, I usually lower the number of inodes from the > default value to gain storage space. The default is one inode per 16 kB of > FS size, which gives you 60 million inodes per TB. In practice, even one > million per TB would be

Re: [gentoo-user] How to install Ruby bindings in an ebuild

2023-04-19 Thread Michael Orlitzky
On 2023-04-19 01:08:23, Ralph Seichter wrote: > I need to install Ruby bindings (something.so) during an ebuild, > specifically into the /usr/lib64/ruby/vendor_ruby/3.0.0/x86_64-linux > directory. Hey Ralph. I'm not an expert on the ruby eclasses, but they work more or less like the python ones,

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Frank Steinmetzger
Am Wed, Apr 19, 2023 at 01:00:33PM -0700 schrieb Mark Knecht: > I think technically they default to the physical block size internally > and the earlier ones, attempting to be more compatible with HDDs, > had 4K blocks. Some of the newer chips now have 16K blocks but > still support 512B Logical

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Mark Knecht
On Wed, Apr 19, 2023 at 12:39 PM Nikos Chantziaras wrote: > > On 19/04/2023 22:26, Dale wrote: > > So for future reference, let it format with the default? I'm also > > curious if when it creates the file system it will notice this and > > adjust automatically. It might. Maybe? > > AFAIK, SSDs

[gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Nikos Chantziaras
On 19/04/2023 22:26, Dale wrote: So for future reference, let it format with the default?  I'm also curious if when it creates the file system it will notice this and adjust automatically. It might.  Maybe? AFAIK, SSDs will internally convert to 4096 in their firmware even if they report a

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Dale
Mark Knecht wrote: > > > On Wed, Apr 19, 2023 at 10:59 AM Dale > wrote: > > > > Peter Humphrey wrote: > > > On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote: > > > > > >> With my HDD: > > >> > > >>    # smartctl -x /dev/sda | grep -i 'sector size' > >

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Mark Knecht
On Wed, Apr 19, 2023 at 10:59 AM Dale wrote: > > Peter Humphrey wrote: > > On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote: > > > >> With my HDD: > >> > >># smartctl -x /dev/sda | grep -i 'sector size' > >>Sector Sizes: 512 bytes logical, 4096 bytes physical > > Or,

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Dale
Peter Humphrey wrote: > On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote: > >> With my HDD: >> >># smartctl -x /dev/sda | grep -i 'sector size' >>Sector Sizes: 512 bytes logical, 4096 bytes physical > Or, with an NVMe drive: > > # smartctl -x /dev/nvme1n1 | grep -A2

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Mark Knecht
On Wed, Apr 19, 2023 at 3:35 AM Peter Humphrey wrote: > > On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote: > > > With my HDD: > > > ># smartctl -x /dev/sda | grep -i 'sector size' > >Sector Sizes: 512 bytes logical, 4096 bytes physical > > Or, with an NVMe drive: > >

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Peter Humphrey
On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote: > With my HDD: > ># smartctl -x /dev/sda | grep -i 'sector size' >Sector Sizes: 512 bytes logical, 4096 bytes physical Or, with an NVMe drive: # smartctl -x /dev/nvme1n1 | grep -A2 'Supported LBA Sizes' Supported LBA

Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Dale
Nikos Chantziaras wrote: > On 19/04/2023 04:45, Dale wrote: >> Filesystem created:   Sun Apr 15 03:24:56 2012 >> Lifetime writes:  993 GB >> >> That's for the main / partition.  I have /usr on it's own partition tho. >> >> Filesystem created:   Sun Apr 15 03:25:48 2012 >> Lifetime

[gentoo-user] Re: Finally got a SSD drive to put my OS on

2023-04-19 Thread Nikos Chantziaras
On 19/04/2023 04:45, Dale wrote: Filesystem created:   Sun Apr 15 03:24:56 2012 Lifetime writes:  993 GB That's for the main / partition.  I have /usr on it's own partition tho. Filesystem created:   Sun Apr 15 03:25:48 2012 Lifetime writes:  1063 GB I'd think that /