Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 15:21:36 -0600
From:      "Mike Oligny" <moligny@kanotech.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Remount Filesystems
Message-ID:  <76928F3E231DE4478876350F083583360272D6@kt-exchange.edmonton.kanotech.net>

next in thread | raw e-mail | index | archive | help
I don't believe the whole single-user bit is necessary if you can
unmount the drive... I'm kind of curious about this, though -- I usually
do the following:

umount /usr2 ; tunefs -n enable /dev/ad2s1e ; mount /usr2

Is this bad?

-Mike

-----Original Message-----
From: Jonathan Chen [mailto:jonathan.chen@itouch.co.nz]
Sent: Thursday, May 24, 2001 3:11 PM
To: Chimon Yeung
Cc: UNIX
Subject: Re: Remount Filesystems


On Thu, May 24, 2001 at 09:31:47AM -0700, Chimon Yeung wrote:
> Hello,
>=20
> How do I re-mount all of the filesystems to read-only, enable
> softupdates on them, and then restore them to read-write mode?

Shutdown down to single user.
For each file system,
	mount -o ro /filesystem
	tunefs -n enable /filesystem
--=20
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                      Opportunities are seldom labeled

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76928F3E231DE4478876350F083583360272D6>