Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail From: Marc SCHAEFER Newsgroups: fr.comp.os.linux.configuration,fr.comp.virtualisation Subject: Re: Virtualisation Followup-To: fr.comp.os.linux.configuration Date: Fri, 31 Dec 2021 08:31:45 -0000 (UTC) Organization: Posted through ALPHANET Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 31 Dec 2021 08:31:45 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1"; logging-data="12221"; mail-complaints-to="usenet@alphanet.ch" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-18-amd64 (x86_64)) Cancel-Lock: sha256:3Qe/sRAOVieoSEA3+M1bJhnz7oy9KjtF4+4iaSBdhIw= Bytes: 1888 Lines: 17 [ Followup-To: fr.comp.os.linux.configuration ] In fr.comp.os.linux.configuration yamo' wrote: > Sauf configuration peu orthodoxe (j'ai le soucis avec le chroot d'un > raspberry), le fsck sera lancé automatiquement. D'ailleurs, sa sortie va finir dans root@reliand:~# grep -i -A3 fsck /var/log/boot.log Begin: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext4 (1) -- /dev/mapper/reliant-root] fsck.ext4 -a -C0 /dev/mapper/reliant-root root: clean, 633444/1831424 files, 4689981/7323648 blocks done. done. Je suppose donc qu'il devrait être possible de parser ça pour déterminer si fsck dit `clean' (démontage correct) ou autre chose (arrêt intempestif).