From: "Andrey Borzenkov" <arvidjaar@mail.ru>
To: "Steven Dake" <sdake@mvista.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: New model for managing dev_t's for partitionable block devices
Date: Thu, 30 Jan 2003 14:53:44 +0300 [thread overview]
Message-ID: <E18eDGK-0002cr-00@f17.mail.ru> (raw)
> This is a problem with hotswap of course, and shouldn't be solved
> by the kernel putting the same device always in the same
> major/minor. A userspace application should query the OS and build
> the device nodes based upon scsi serial number, FC port WWN, or
> access path (host/channel/id/lun). The current "MAKEDEV" works
> fine for people with and ide disk and cdrom, but for real systems
> with lots of disks and hotswap capabilities, static naming just
> doesn't work (as you have said). :) Devfs solves the naming
> problem by using access path automatically within the OS. Downside
> of this methodology is that access permissions are not persistent
> between reboots (which is one significant limitation of devfs).
Are you aware of devfsd? It keeps permissions for you across reboots,
and does it just fine.
The real limitation in this case is SCSI host numbers. There is no
way to permanently assign logical controller numbers like it happens
in other systems. add or remove another SCSI adapter and all your
names are shifted.
which is true for any adapter not just SCSI.
-andrey
next reply other threads:[~2003-01-30 11:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-30 11:53 Andrey Borzenkov [this message]
2003-01-30 12:34 ` New model for managing dev_t's for partitionable block devices Alex Tomas
-- strict thread matches above, loose matches on Subject: below --
2003-09-12 11:19 Probably buggy MP Table and ACPI doesn't works AnonimoVeneziano
2003-01-28 17:20 ` New model for managing dev_t's for partitionable block devices Steven Dake
2003-01-28 17:46 ` Valdis.Kletnieks
2003-01-28 17:49 ` Steven Dake
2003-01-29 14:25 ` Horst von Brand
2003-01-30 16:57 ` Steven Dake
2003-01-21 21:56 Fwd: 32bit dev_t Douglas Gilbert
2003-01-23 18:31 ` Kurt Garloff
2003-01-23 22:18 ` Christoph Hellwig
2003-01-24 18:29 ` Joel Becker
2003-01-27 22:51 ` Christoph Hellwig
2003-01-28 11:21 ` Alan Cox
2003-01-28 17:09 ` New model for managing dev_t's for partitionable block devices Steven Dake
2003-01-29 1:41 ` Bryan Henderson
2003-01-29 16:45 ` Steven Dake
2003-01-29 17:38 ` Andries Brouwer
2003-01-29 18:00 ` Kurt Garloff
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=E18eDGK-0002cr-00@f17.mail.ru \
--to=arvidjaar@mail.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=sdake@mvista.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.