BBS:      TELESC.NET.BR
Assunto:  Re: Adding a hardware swap partition
De:       Richard Kettlewell
Data:     Thu, 19 Mar 2026 08:52:30 +0000
-----------------------------------------------------------
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.

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.

-- 
https://www.greenend.org.uk/rjk/

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

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