From: Russell Coker <bofh@coker.com.au>
To: linux-lvm@sistina.com, Steven Lembark <lembark@wrkhors.com>
Subject: Re: [linux-lvm] any way to locate vg's on, say, /etc?
Date: Sun, 7 Jan 2001 18:27:23 +1100 [thread overview]
Message-ID: <0101071827230Q.05036@lyta> (raw)
In-Reply-To: <3A57B052.FA0DFBB2@wrkhors.com>
On Sunday 07 January 2001 10:54, Steven Lembark wrote:
> currently have a choice: LVM or devfs. since devfs essentially
> wipes out any /dev/blah dir's created after boot when it is
> remounted using /dev/ w/ vgcreate causes pain. short of hacking
> soft links or archiving the devices w/ cpio every boot, putting
> the vol group dir's outside dev seems like the easiest fix.
>
> personal guess would be /etc or /LVM as likely places.
>
> just wondering if "/dev" is hard-coded or configurable
> in the kernel headers somewhere...
You can mount devfs on another location...
But that's not the solution either. Every kernel driver should have
#ifdef CONFIG_DEVFS_FS
and then some code to create device nodes at the time it registers it's use
of the device numbers.
Device drivers that aren't devfs aware are buggy.
/etc is totally wrong, it's only supposed to have config files. Doing
otherwise would make Linux as crappy as Solaris.
The best solution to these types of problems would be to make devfs mandatory
for LVM and then only use the devfs functionality. Then device numbers stop
being a problem.
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
next prev parent reply other threads:[~2001-01-07 7:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-06 23:54 [linux-lvm] any way to locate vg's on, say, /etc? Steven Lembark
2001-01-07 7:27 ` Russell Coker [this message]
2001-01-07 19:47 ` Joe Thornber
[not found] ` <0101090031381K.05036@lyta>
[not found] ` <3A5AAF8C.305C862D@wrkhors.com>
2001-01-09 14:39 ` Russell Coker
2001-01-11 0:54 ` [linux-lvm] hard drive shock tolerance zoo1
2001-01-12 18:51 ` Russell Coker
2001-01-12 21:41 ` Scott Laird
2001-01-15 4:37 ` 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=0101071827230Q.05036@lyta \
--to=bofh@coker.com.au \
--cc=lembark@wrkhors.com \
--cc=linux-lvm@sistina.com \
/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.