From: "L. C. Robinson" <lcr@draken.localnet>
To: John Covici <covici@ccs.covici.com>
Subject: Re: segmentation fault?? and fsck problems.
Date: Tue, 9 Jun 1998 23:08:43 -0600 (MDT) [thread overview]
Message-ID: <Pine.LNX.3.95.980609184015.8522B-100000@draken.localnet> (raw)
In-Reply-To: <357d6c56.ccs@ccs.covici.com>
Did you use the "-o remount,ro" option to "mount", to remount root?
Thus:
mount -n -o remount,ro /
(taken from the /etc/rc.d/init.d/halt script).
Note that after the remount, the mount command will not report
the read only status correctly; I check by trying to create a file
or remove a temporary one.
But this is a hard way to do things, and I never fsck the filesystems
this way, except under very unusual circumstances. Fscking
automatically during bootup is the natural way to do it, if you
have set things properly for this. Read the tune2fs man page
for info on how to make this happen every two weeks or so (time
set by you).
Now, I know you said that the boot time checks are not available
to you, but I don't see why. The checks are initiated
automatically, and any problems found are repaired automatically,
so you probably don't need to see what is happening. I am
sighted, so I suppose there might be some subtlety here, that
would get by me. I can think of a way that this could be
automated by changing to, say, init state 9 (normally not used),
and modifying the "halt" and /etc/rc.d/rc.sysinit scripts to do
this for you, without completing a full shutdown, and then going
back to init state 3. Another way to do it would be to add the
above quoted mount command to the /etc/rc.d/init.d/single script,
just before the last 3 lines, and then do the fsck manually,
after doing a "telinit 1", followed by a "telinit 3". Red Hat's
single user scripts in the past have been broken though, for any
practical use that I know of, so I don't know what problems you
might run into, and if screader, etc, would work normally in that
limited environment. It might be easier to modify the rc.sysinit
script to use screader during bootup, or to log the results of
the fsck for later inspection.
I wonder if Red Hat would be willing to make accessibility
modifications of this kind? If anyone is interested in this,
feel free to forward this message to them. If they (Red Hat) are
interested in including accessibility modifications in their
standard distribution, I'd be willing to try to modify things so
as to log the results of the fsck (probably to a floppy, since
other filesystems are not available for writing during a fsck),
and forward the modifications to them. I already have hacked an
improved bootup package, based on Red Hat, that logs most other
stuff for daemon startup, and avoids the cryptic clutter on the
bootup screen (prominent warnings are given of any failures).
Blind users could activate this kind of thing by booting up in,
say, init state 8 or 9, which would be a modified version of
init 3 (the normal text state).
On Tue, 9 Jun 1998, John Covici wrote:
> on Mon, 8 Jun 1998 14:28:03 -0600 (MDT) "L. C. Robinson" <lcr@draken.localnet> in
> <Pine.LNX.3.95.980608135705.20356A-100000@draken.localnet> wrote:
> >When you fsck the filesystem, are you doing it on a read-write mounted
> >filesystem? This will lead to more damage, and should _never_ be
> >done. What procedures do you use to fsck your filesystem?
>
> This brings up an interesting point -- once I am logged in I cannot
> get the root file system into readonly mode, I worked around things by
> stopping all loggers and lpd, cron and a couple of other things, but
> when ever I tried to get it into read only mode it said device or
> resource busy.
>
> I am still using screader, any way to work around this -- the boot
> time checks are of course not available to me.
>
> Any comments welcome on this -- luckily for me the fsck's have not
> revealed any errors.
--
L. C. Robinson
reply to infynity@cyberhighway.net (a family account)
next prev parent reply other threads:[~ UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
segmentation fault?? behapy
` L. C. Robinson
[not found] ` <8kWf10r1JQeZ089yn@ccs.covici.com>
` John Covici
` L. C. Robinson [this message]
[not found] <357e4331.ccs@ccs.covici.com>
` segmentation fault?? and fsck problems L. C. Robinson
` Luke Davis
[not found] ` <+Fvf10r1Jg6U089yn@ccs.covici.com>
` John Covici
[not found] ` <h3uf10r1J8vU089yn@ccs.covici.com>
` John Covici
` L. C. Robinson
[not found] <357f91ed.ccs@ccs.covici.com>
` L. C. Robinson
[not found] ` <5MZg10r1JgCU089yn@ccs.covici.com>
` John Covici
` L. C. Robinson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.95.980609184015.8522B-100000@draken.localnet \
--to=lcr@draken.localnet \
--cc=covici@ccs.covici.com \
--cc=infynity@cyberhighway.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).