Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2002 18:23:42 +0100
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        "Murat Bicer" <murat+freebsd@bicer.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cannot write to new harddisk
Message-ID:  <20021230182342.50fce189.flynn@energyhq.homeip.net>
In-Reply-To: <20021230171741.15B1B19102@www.fastmail.fm>
References:  <20021230171353.4D9031886C@www.fastmail.fm> <20021230181532.37ff6eec.flynn@energyhq.homeip.net> <20021230171741.15B1B19102@www.fastmail.fm>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, 30 Dec 2002 12:17:41 -0500
"Murat Bicer" <murat+freebsd@bicer.org> wrote:

Hi,

> :What's your securelevel?
> 
> kern_securelevel="2"

That's the problem. From the init man page:

	2	Highly secure mode - same as secure mode, plus disks may not
		be opened for writing (except by mount(2)) whether mounted or
		not. This level precludes tampering with file systems by
		unmounting them, but also inhibits running newfs(8) while 
		the system is multi-user.

You can either boot into single user mode (boot -s) or temporarily lower
your secure level to work with the disk.

Cheers,
-- 
        Miguel Mendez - flynn@energyhq.homeip.net
        GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://www.energyhq.tk
        Of course it runs NetBSD!

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: <http://docs.FreeBSD.org/cgi/mid.cgi?20021230182342.50fce189.flynn>