Re: An idea for swap partition size vs. swap space size in use handling

2023-01-21 Thread Poul-Henning Kamp
Mark Millard writes: > It would be nice if I could have just one swap partition > on a given boot media, one that is more than sufficient > in size for all but the biggest RAM system --but to then > be able to tell the system to just use up to the > recommended swap space size and to

An idea for swap partition size vs. swap space size in use handling

2023-01-21 Thread Mark Millard
I have boot media that are each set up to boot a variety of systems that have widely different RAM sizes, from 1 GiBytes to 64 GiBytes for the aarch64 examples of this. This has lead to having multiple swap partitions of various sizes so that I can have total swap spaces that are somewhat under

Re: netlink socket does not accept SOCK_DGRAM

2023-01-21 Thread Alexander V. Chernikov
> On 16 Jan 2023, at 15:13, Alexander V. Chernikov wrote: > > > >> On 15 Jan 2023, at 13:09, Alexander V. Chernikov wrote: >> >>> >>> On 15 Jan 2023, at 02:26, User Ngor wrote: >>> >>> man 4 rtnetlink says: >>> >>> int socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); >>> >>> >>> >>>