BBS:      TELESC.NET.BR
Assunto:  Re: Adding a hardware swap partition
De:       bp
Data:     Fri, 20 Mar 2026 11:00:01 +1100
-----------------------------------------------------------
Richard Kettlewell  wrote:
> bp@www.zefox.net writes:
>> If I was going to set up swap it seemed prudent to make it as fast
>> as I reasonably could. I didn't (and so far still don't) have a clear
>> idea how much difference a swap file versus a swap partition makes.
> 
> The only way to be find out is to measure it under a representative
> workload, but the likely outcome is that the difference will be
> negligible or undetectable.
> 
>> Since /sbin isn't a freestanding directory, this seems impossible
>> without booting from a separate root device, likely a microSD. I
>> didn't see this hurdle coming, at all. It isn't a fatal blunder, but
>> it's a blunder.
> 
> You seem to have a misapprehension about /sbin. It?s not some kind of
> ?stuff you need to boot? directory. It?s for utilities used for system
> administration and other root-only commands.
>
 
But those utilities are needed during the partition resize, creastion,
copying and mounting processes if I want to "clean out" the duplicated
/usr files.  

> The way to make a separate-/usr system bootable is to ensure that the
> initramfs mounts /usr, as already discussed. You don?t need a separate
> device for that.
>
This touches on something I wasnt aware of. I don't see an initramfs
manpage. There apropos references to it, but nothing explaining
its purpose. What's it for? 

Thanks for writing!

bob prohaska


--- PyGate Linux v1.5.13
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)

-----------------------------------------------------------
[Voltar]