@@ -453,8 +453,6 @@ Step 3: System Installation
453453
454454 zfs create -o com.sun:auto-snapshot=false rpool/var/cache
455455 zfs create -o com.sun:auto-snapshot=false rpool/var/lib/nfs
456- zfs create -o com.sun:auto-snapshot=false rpool/var/tmp
457- chmod 1777 /mnt/var/tmp
458456
459457 If you use /srv on this system::
460458
@@ -491,22 +489,8 @@ Step 3: System Installation
491489
492490 zfs create rpool/var/www
493491
494- A tmpfs is recommended later, but if you want a separate dataset for
495- ``/tmp``::
496-
497- zfs create -o com.sun:auto-snapshot=false rpool/tmp
498- chmod 1777 /mnt/tmp
499-
500- The primary goal of this dataset layout is to separate the OS from user
501- data. This allows the root filesystem to be rolled back without rolling
502- back user data.
503-
504- If you do nothing extra, ``/tmp`` will be stored as part of the root
505- filesystem. Alternatively, you can create a separate dataset for ``/tmp``,
506- as shown above. This keeps the ``/tmp`` data out of snapshots of your root
507- filesystem. It also allows you to set a quota on ``rpool/tmp``, if you want
508- to limit the maximum space used. Otherwise, you can use a tmpfs (RAM
509- filesystem) later.
492+ **Note:** As tmpfs is used by default by Debian Trixie, all ``/tmp`` related operations
493+ in previous versions are now obsolete.
510494
511495 **Note:** If you separate a directory required for booting (e.g. ``/etc``)
512496 into its own dataset, you must add it to
@@ -727,17 +711,6 @@ Step 4: System Configuration
727711 ``-d DISK-part3 `` (replace ``DISK `` with the correct device path) to the
728712 ``zpool import `` command.
729713
730- #. Optional (but recommended): Mount a tmpfs to ``/tmp ``
731-
732- If you chose to create a ``/tmp `` dataset above, skip this step, as they
733- are mutually exclusive choices. Otherwise, you can put ``/tmp `` on a
734- tmpfs (RAM filesystem) by enabling the ``tmp.mount `` unit.
735-
736- ::
737-
738- cp /usr/share/systemd/tmp.mount /etc/systemd/system/
739- systemctl enable tmp.mount
740-
741714#. Optional: Install SSH::
742715
743716 apt install --yes openssh-server
0 commit comments