Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

Re: remount root as readonly

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups comp.os.linux.development.system
Subject Re: remount root as readonly
Date 2014-07-12 09:43 +0300
Organization A noiseless patient Spider
Message-ID <lpqles$b2d$1@dont-email.me> (permalink)
References <lppvid$4n1$1@speranza.aioe.org>

Show all headers | 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