Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.system > #713

Re: remount root as readonly

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups comp.os.linux.development.system
Subject Re: remount root as readonly
Date Sat, 12 Jul 2014 09:43:40 +0300
Organization A noiseless patient Spider
Lines 17
Message-ID <lpqles$b2d$1@dont-email.me> (permalink)
References <lppvid$4n1$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 12 Jul 2014 06:43:40 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="b9459e72a8ae09bcce21b4688fd6f538"; logging-data="11341"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Sf+F4Jd5gQ17sLWRWAiFuZ2cgHyGSkyQ="
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <lppvid$4n1$1@speranza.aioe.org>
Cancel-Lock sha1:IgBFpB67xzV7OBObAiXuqzkZDM4=
Xref csiph.com comp.os.linux.development.system:713

Show key headers only | View raw


On 12.7.14 03:30, Bill Cunningham wrote:
>      I know as root user there are files open and all that is writeable needs
> to be closed. How do you use fuser or lsof to kill all the processes needed
> to unmount and remount a root system in read only mode to run e2fsck on an
> ext4 file system?
>
> Bill


How about switching to single-user mode?

It is there for this kind of situations.

-- 

-Tauno

Back to comp.os.linux.development.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

remount root as readonly "Bill Cunningham" <nospam@nspam.invalid> - 2014-07-11 20:30 -0400
  Re: remount root as readonly Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2014-07-12 09:43 +0300
  Re: remount root as readonly crankypuss <crankypuss@nomail.invalid> - 2014-07-12 01:59 -0600
  Re: remount root as readonly Jerry Peters <jerry@example.invalid> - 2014-07-12 20:17 +0000

csiph-web