Provided by: manpages-fr_4.13-4_all bug

NOM

       switch_root - Passer à un autre système de fichiers racine de l'arbre de montage

SYNOPSIS

       switch_root [-hV]

       switch_root newroot init [arg...]

DESCRIPTION

       switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root
       filesystem and starts init process.

       Attention : switch_root supprime récursivement tous les fichiers et répertoires de la racine actuelle du
       système de fichiers

OPTIONS

       -h, --help
           Afficher l’aide-mémoire puis quitter.

       -V, --version
           Afficher le nom et la version du logiciel et quitter.

CODE DE RETOUR

       switch_root renvoie 0 en cas de réussite et 1 en cas d'échec.

NOTES

       switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into
       a directory that does not meet this requirement then you can first use a bind-mounting trick to turn any
       directory into a mount point:

           mount --bind $DIR $DIR

AUTEURS

       Peter Jones <pjones@redhat.com>, Jeremy Katz <katzj@redhat.com>, Karel Zak <kzak@redhat.com>

VOIR AUSSI

       chroot(2), init(8), mkinitrd(8), mount(8)

SIGNALER DES BOGUES

       Pour envoyer un rapport de bogue, utilisez le système de gestion des problèmes à l'adresse
       https://github.com/karelzak/util-linux/issues.

DISPONIBILITÉ

       The switch_root command is part of the util-linux package which can be downloaded from Linux Kernel
       Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.

TRADUCTION

       La traduction française de cette page de manuel a été créée par Christophe Blaess <ccb@club-internet.fr>,
       Michel Quercia <quercia AT cal DOT enst DOT fr>, Thierry Vignaud <tvignaud@mandriva.com>, Frédéric
       Delanoy <delanoy_f@yahoo.com>, Thierry Vignaud <tvignaud@mandriva.com>, Christophe Sauthier
       <christophe@sauthier.com>, Sébastien Blanchet, Jérôme Perzyna <jperzyna@yahoo.fr>, Aymeric Nys <aymeric
       AT nnx POINT com>, Alain Portal <aportal@univ-montp2.fr>, Thomas Huriaux <thomas.huriaux@gmail.com>, Yves
       Rütschlé <l10n@rutschle.net>, Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, Julien Cristau
       <jcristau@debian.org>, Philippe Piette <foudre-blanche@skynet.be>, Jean-Baka Domelevo-Entfellner
       <domelevo@gmail.com>, Nicolas Haller <nicolas@boiteameuh.org>, Sylvain Archenault
       <sylvain.archenault@laposte.net>, Valéry Perrin <valery.perrin.debian@free.fr>, Jade Alglave
       <jade.alglave@ens-lyon.org>, Nicolas François <nicolas.francois@centraliens.net>, Alexandre Kuoch
       <alex.kuoch@gmail.com>, Lyes Zemmouche <iliaas@hotmail.fr>, Florentin Duneau <fduneau@gmail.com>,
       Alexandre Normand <aj.normand@free.fr> et David Prévot <david@tilapin.org>

       Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License
       version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.

       Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à
       debian-l10n-french@lists.debian.org.

util-linux 2.37.3                                6 janvier 2022                                   SWITCH_ROOT(8)