From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Russell Coker <russell@coker.com.au>
Cc: Daniel J Walsh <dwalsh@redhat.com>,
"Fedora SELinux support list for users & developers."
<fedora-selinux-list@redhat.com>,
fedora-devel-list@redhat.com, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: tmpfs /dev
Date: Fri, 10 Sep 2004 11:01:51 +0100 [thread overview]
Message-ID: <20040910100151.GD14060@lkcl.net> (raw)
In-Reply-To: <200409101508.27612.russell@coker.com.au>
On Fri, Sep 10, 2004 at 03:08:27PM +1000, Russell Coker wrote:
> On Fri, 10 Sep 2004 06:19, Daniel J Walsh <dwalsh@redhat.com> wrote:
> > You will need to talk to Bill Nottingham about modifying /sbin/init to
> > do this. They are not crazy about
> > putting additional code into /sbin/init since it is very hard to debug.
>
> We've done it once, we can do it again.
>
> > They prefer rc.sysinit. They also do not
>
> rc.sysinit means changing the policy for init_t, initrc_t, and maybe others.
>
> > want to relabel the /dev file system if it is not a tmpfs, since with
> > 8000 or more files it could take a while and
> > slow down the boot up.
>
> On the slowest machine I have access to (a machine that can never run Fedora
> because it doesn't meet the hardware requirements) it takes 12 seconds to run
> setfiles on a fully loaded /dev. On machines that are a mere four years old
> it takes about 2 seconds, I doubt that you will be able to measure the
> difference that this makes on any hardware that can be purchased now. But
> writing some code to check for the file system type is not too difficult.
on my 1.6Gz athlon, it takes somewhere between 30 and 50
seconds to do the setting up of udev entries (ttyS0->ttyS63
and tty0->tty63) which would make it more of a priority to
be sorted than the above!
l.
--
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love. If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net"> lkcl.net </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2004-09-10 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-09 19:36 tmpfs /dev Russell Coker
2004-09-09 20:19 ` Daniel J Walsh
2004-09-10 5:08 ` Russell Coker
2004-09-10 10:01 ` Luke Kenneth Casson Leighton [this message]
[not found] ` <20040910163021.GA28303@nostromo.devel.redhat.com>
2004-09-11 6:43 ` Russell Coker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040910100151.GD14060@lkcl.net \
--to=lkcl@lkcl.net \
--cc=dwalsh@redhat.com \
--cc=fedora-devel-list@redhat.com \
--cc=fedora-selinux-list@redhat.com \
--cc=russell@coker.com.au \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.