Groups | Search | Server Info | Login | Register


Groups > comp.sys.raspberry-pi > #37855

Re: Adding a hardware swap partition

From Richard Kettlewell <invalid@invalid.invalid>
Newsgroups comp.sys.raspberry-pi
Subject Re: Adding a hardware swap partition
Date 2026-03-16 12:18 +0000
Organization terraraq NNTP server
Message-ID <wwvo6koynlb.fsf@LkoBDZeT.terraraq.uk> (permalink)
References (3 earlier) <10p6e63$151t6$1@dont-email.me> <slrn10re7ma.3r3.zsd@x360.localdomain> <10p7d94$1giuh$1@dont-email.me> <wwva4w8f6bg.fsf@LkoBDZeT.terraraq.uk> <10p8qnd$1uh6h$1@dont-email.me>

Show all headers | View raw


Richard Harnden <richard.nospam@gmail.invalid> writes:
> On 16/03/2026 09:54, Richard Kettlewell wrote:
>> bp@www.zefox.net writes:
>>> It was a surprise to learn that a single partition is somehow required
>>> for RasPiOS to function correctly. If true, it's a good thing to know.
>> Separate /usr probably still works, but I doubt it gets much
>> testing.
>
> Can you guarantee that /usr will be mounted at boot time?

It depends what you mean by ‘boot time’. On a mainstream Linux system
/usr needs to be mounted by the time initramfs hands over to the real
root and init. So in practice unit files/init scripts/etc can safely
assume it’s mounted.

> I remember having to use /bin/sh in init.d scripts because
> /usr/bin/ksh didn't exist yet.  That may have changed.
>
> A long time ago, and not on an rpi. AIX or HP/UX or something.

Historically making sure /usr was mounted (if it was separate) was
init’s job (via an init.d scripts), so very early in boot, /usr might
not have been there. But mounting filesystems was, necessarily, a pretty
early step in the boot process, so by the time it was running (say) the
init script for an X display manager, /usr would have been mounted.

For all I know HPUX and AIX still work that way, I’m glad to say I
don’t have to care any more.

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

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Adding a hardware swap partition bp@www.zefox.net - 2026-03-11 16:20 +0000
  Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-11 16:43 +0000
  Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-11 21:39 +0000
    Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-12 15:37 +0000
      Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-12 20:59 +0000
        Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-13 01:26 +0000
          Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-13 11:15 +0000
            Re: Adding a hardware swap partition Theo <theom+news@chiark.greenend.org.uk> - 2026-03-13 14:16 +0000
              Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-13 16:01 +0000
                Re: Adding a hardware swap partition Theo <theom+news@chiark.greenend.org.uk> - 2026-03-13 18:28 +0000
                Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-13 21:50 +0000
              Re: Adding a hardware swap partition druck <news@druck.org.uk> - 2026-03-13 21:26 +0000
          Re: Adding a hardware swap partition Kees Nuyt <kees@nospam.demon.invalid> - 2026-03-13 22:25 +0100
  Re: Adding a hardware swap partition Jim Jackson <jj@franjam.org.uk> - 2026-03-12 09:13 +0000
    Re: Adding a hardware swap partition Jim Jackson <jj@franjam.org.uk> - 2026-03-12 09:31 +0000
  Re: Adding a hardware swap partition Jim Jackson <jj@franjam.org.uk> - 2026-03-12 10:07 +0000
  Re: Adding a hardware swap partition Jim Diamond <zsd@jdvb.ca> - 2026-03-13 14:40 -0300
    Re: Adding a hardware swap partition druck <news@druck.org.uk> - 2026-03-15 13:25 +0000
      Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-15 14:02 +0000
        Re: Adding a hardware swap partition Josef Möllers <josef@invalid.invalid> - 2026-03-15 17:02 +0100
        Re: Adding a hardware swap partition Jim Diamond <zsd@jdvb.ca> - 2026-03-15 18:04 -0300
          Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-15 21:31 +0000
            Re: Adding a hardware swap partition Theo <theom+news@chiark.greenend.org.uk> - 2026-03-16 16:01 +0000
              Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-16 22:53 +0000
          Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-15 22:53 +0000
            Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-16 01:41 +0000
            Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-16 09:54 +0000
              Re: Adding a hardware swap partition Richard Harnden <richard.nospam@gmail.invalid> - 2026-03-16 11:49 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-16 12:18 +0000
            Re: Adding a hardware swap partition Jim Diamond <zsd@jdvb.ca> - 2026-03-17 18:30 -0300
              Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-19 01:36 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-19 08:52 +0000
                Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-19 14:49 +0000
                Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-19 19:23 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-19 22:01 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-19 22:00 +0000
                Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-20 03:50 +0000
                Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-20 07:02 +0000
                Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-19 22:56 +0000
                Re: Adding a hardware swap partition Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2026-03-25 14:53 +0200
                Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-25 18:53 +0000
          Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-16 12:38 +0000

csiph-web