All of lore.kernel.org
 help / color / mirror / Atom feed
* Thoughts on mounting the rootfs from a udev rule
@ 2009-03-19 21:06 Victor Lowther
       [not found] ` <1237496785.5070.28.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
  0 siblings, 1 reply; 18+ messages in thread
From: Victor Lowther @ 2009-03-19 21:06 UTC (permalink / raw)
  To: initramfs

It seems that there are two major use cases that make mounting the root
file system directly from a udev rule an inadvisable design decision:

The first is when your root filesystem does not reside on a block
device, as in the nfsroot case.  In this case, there is no backing
device for the filesystem for udev to detect, so we would still need a
non-udev method of mounting the root filesystem in order to handle any
case where there is no backing device for the root filesystem.

The second is when we are asked to resume from hibernate.  In this case,
we must not attempt to mount the root filesystem (or any other
filesystem, for that matter) until we have either attempted to resume
(and failed) or we have determined that resuming is impossible.  Udev
does not make any guarantees about the order in which devices are
discovered, which leads to all sorts of interesting potential failure
modes when you have either or both of resume handling and rootfs
handling in a udev rule.

Thoughts?

-- 
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-03-22 19:46 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19 21:06 Thoughts on mounting the rootfs from a udev rule Victor Lowther
     [not found] ` <1237496785.5070.28.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-20  8:07   ` Harald Hoyer
2009-03-20  8:31   ` Hannes Reinecke
     [not found]     ` <49C3546C.8050505-l3A5Bk7waGM@public.gmane.org>
2009-03-20  9:14       ` Victor Lowther
     [not found]         ` <1237540487.5070.54.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-20  9:24           ` Seewer Philippe
     [not found]             ` <49C360B3.9020107-omB+W0Dpw2o@public.gmane.org>
2009-03-20  9:51               ` Victor Lowther
2009-03-20 12:30               ` Karel Zak
     [not found]                 ` <20090320123018.GB3363-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2009-03-20 13:07                   ` Seewer Philippe
     [not found]                     ` <49C39509.2020205-omB+W0Dpw2o@public.gmane.org>
2009-03-20 13:13                       ` Kay Sievers
     [not found]                         ` <ac3eb2510903200613k6826172cl4766b48edea92228-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-20 13:22                           ` Seewer Philippe
     [not found]                             ` <49C3987F.8010804-omB+W0Dpw2o@public.gmane.org>
2009-03-20 13:40                               ` Kay Sievers
     [not found]                                 ` <ac3eb2510903200640w1cfab1d4sbadc3db7b2f11e06-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-20 13:47                                   ` Seewer Philippe
     [not found]                                     ` <49C39E8C.50908-omB+W0Dpw2o@public.gmane.org>
2009-03-20 13:54                                       ` Kay Sievers
     [not found]                                         ` <ac3eb2510903200654x9fda56cm504007cb516a7fc4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-20 13:56                                           ` Seewer Philippe
2009-03-20  9:18       ` Seewer Philippe
2009-03-20  9:15   ` Seewer Philippe
     [not found]     ` <49C35EC6.2050405-omB+W0Dpw2o@public.gmane.org>
2009-03-20  9:29       ` Victor Lowther
     [not found]         ` <1237541365.5070.64.camel-76q0VzFBGGr21HsLBtNmTckMGDeJXHgy@public.gmane.org>
2009-03-22 19:46           ` Adam Spragg

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.