Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 14:37:24 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Why can't I access my floppy disk?
Message-ID:  <20050228133724.GA46668@ei.bzerk.org>
In-Reply-To: <7610555114.20050225184110@wanadoo.fr>
References:  <1292549780.20050222044102@wanadoo.fr> <1357657649.20050222052929@wanadoo.fr> <f88da7b64cfe8799a05bc757f0e33bab@shire.net> <487414075.20050222203924@wanadoo.fr> <20050223100911.GE25458@alzatex.com> <985824296.20050223171137@wanadoo.fr> <20050225133557.GA18789@alzatex.com> <7610555114.20050225184110@wanadoo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 25, 2005 at 06:41:10PM +0100, Anthony Atkielski typed:
> Loren M. Lang writes:

> > I don't know why this is, it should still be possible, especially since
> > you can mount cdroms.  /dev/fd0 is read/write by root right?  And the
> > disk already had a formatted filesystem on it before you tried mounting
> > it?
> 
> Yes to both questions.  But it must be securelevel, because it works on
> the test machine.  The man page doesn't say anything about this
> restriction, though, nor is it obvious from what the page does say.

>From the securelevel manpage (which is symlinked to init(8) ):

 1     Secure mode - the system immutable and system append-only flags may
       not be turned off; disks for mounted file systems, /dev/mem,
       /dev/kmem and /dev/io (if your platform has it) may not be opened
       for writing; kernel modules (see kld(4)) may not be loaded or
       unloaded.

 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.



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