Re: Shutdown - 25 Years Later

Liste des GroupesRevenir à col misc 
Sujet : Re: Shutdown - 25 Years Later
De : not (at) *nospam* telling.you.invalid (Computer Nerd Kev)
Groupes : comp.os.linux.misc
Date : 20. Apr 2025, 23:24:22
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <68057416@news.ausics.net>
References : 1 2 3 4 5 6 7 8
User-Agent : tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
Pancho <Pancho.Jones@protonmail.com> wrote:
If they can do it for shutdown, presumably this is some method,
some acknowledgement?

On shutdown the filesystems are remounted read-only, shown here
in dmesg (captured from serial port):

 EXT4-fs (sda3): re-mounted f109ff12-da03-4dfd-ad2a-cbd4eb713c43 ro. Quota mode: disabled.
 sd 0:0:0:0: [sda] Synchronizing SCSI cache
 reboot: Power off not available: System halted instead

"mount -o ro /deb/sda3" should do the first part during normal
operation too, but you'd need to have "/" on a ramdisk or tmpfs if
every physical filesystem is being mounted read-only.

I'm not so sure about "Synchronizing SCSI cache", is that like
running sync or something else (it didn't appear in dmesg when I
ran "sync" now)? A web search points to the "sg_sync" command
from sg3_utils as a way of triggering it manually:
https://manpages.debian.org/bookworm/sg3-utils/sg_sync.8.en.html

It sounds like they're talking about the cache in the drive itself,
making sure data is physically written out before power-off. Sounds
like a good idea. I wonder if there's a risk to unplugging
unmounted USB HDDs without doing that? Or does it only have a real
effect on actual SCSI drives (none present on the system where that
kernel message was captured)?

--
__          __
#_ < |\| |< _#

Date Sujet#  Auteur
18 Apr 25 * Re: Shutdown - 25 Years Later49Eli the Bearded
18 Apr 25 +* Re: Shutdown - 25 Years Later3Lawrence D'Oliveiro
18 Apr 25 i`* Re: Shutdown - 25 Years Later2Eli the Bearded
18 Apr 25 i `- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
18 Apr 25 `* Re: Shutdown - 25 Years Later45Andy Burns
18 Apr 25  +* Re: Shutdown - 25 Years Later42Lawrence D'Oliveiro
19 Apr 25  i`* Re: Shutdown - 25 Years Later41Jim Jackson
19 Apr 25  i +- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
20 Apr 25  i `* Re: Shutdown - 25 Years Later39Richard Kettlewell
20 Apr 25  i  +- Re: Shutdown - 25 Years Later1The Natural Philosopher
20 Apr 25  i  `* Re: Shutdown - 25 Years Later37Pancho
20 Apr 25  i   +- Re: Shutdown - 25 Years Later1Richard Kettlewell
20 Apr 25  i   `* Re: Shutdown - 25 Years Later35Computer Nerd Kev
20 Apr 25  i    +- Re: Shutdown - 25 Years Later1Computer Nerd Kev
21 Apr 25  i    `* Re: Shutdown - 25 Years Later33Lawrence D'Oliveiro
22 Apr 25  i     `* Re: Shutdown - 25 Years Later32Carlos E.R.
22 Apr 25  i      +* Re: Shutdown - 25 Years Later22The Natural Philosopher
22 Apr 25  i      i+* Re: Shutdown - 25 Years Later17Carlos E.R.
22 Apr 25  i      ii+- Re: Shutdown - 25 Years Later1Pancho
22 Apr 25  i      ii`* Re: Shutdown - 25 Years Later15The Natural Philosopher
22 Apr 25  i      ii +* Re: Shutdown - 25 Years Later4Pancho
22 Apr 25  i      ii i+* Re: Shutdown - 25 Years Later2The Natural Philosopher
23 Apr 25  i      ii ii`- Re: Shutdown - 25 Years Later1Pancho
22 Apr 25  i      ii i`- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
23 Apr 25  i      ii `* Re: Shutdown - 25 Years Later10candycanearter07
24 Apr 25  i      ii  `* Re: Shutdown - 25 Years Later9Lawrence D'Oliveiro
25 Apr 25  i      ii   `* Re: Shutdown - 25 Years Later8candycanearter07
26 Apr 25  i      ii    `* Re: Shutdown - 25 Years Later7Lawrence D'Oliveiro
28 Apr 25  i      ii     `* Re: Shutdown - 25 Years Later6John Ames
28 Apr 25  i      ii      +* Re: Shutdown - 25 Years Later4Richard Kettlewell
29 Apr 25  i      ii      i`* Re: Shutdown - 25 Years Later3The Natural Philosopher
29 Apr 25  i      ii      i `* Re: Shutdown - 25 Years Later2Richard Kettlewell
29 Apr 25  i      ii      i  `- Re: Shutdown - 25 Years Later1The Natural Philosopher
29 Apr 25  i      ii      `- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
22 Apr 25  i      i+* Re: Shutdown - 25 Years Later3Richard Kettlewell
22 Apr 25  i      ii+- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
23 Apr 25  i      ii`- Re: Shutdown - 25 Years Later1The Natural Philosopher
22 Apr 25  i      i`- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
22 Apr 25  i      `* Re: Shutdown - 25 Years Later9Lawrence D'Oliveiro
23 Apr 25  i       `* Re: Shutdown - 25 Years Later8Carlos E.R.
24 Apr 25  i        `* Re: Shutdown - 25 Years Later7Lawrence D'Oliveiro
25 Apr 25  i         `* Re: Shutdown - 25 Years Later6Carlos E.R.
26 Apr 25  i          +- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
26 Apr 25  i          `* Re: Shutdown - 25 Years Later4The Natural Philosopher
26 Apr 25  i           +* Re: Shutdown - 25 Years Later2Richard Kettlewell
26 Apr 25  i           i`- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
26 Apr 25  i           `- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
18 Apr 25  `* Re: Shutdown - 25 Years Later2The Natural Philosopher
19 Apr 25   `- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal