[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem in detecting RAID device!!
From: |
Andrew Clausen |
Subject: |
Re: Problem in detecting RAID device!! |
Date: |
Thu, 26 Dec 2002 18:41:05 +1100 |
User-agent: |
Mutt/1.4i |
On Thu, Dec 26, 2002 at 12:44:53PM +0530, Veerapuram Varadhan wrote:
> > (1) is /proc mounted?
>
> Yes, /proc is mounted.
>
> > (2) are there device entries in /dev ?
>
> Yes. /dev/rd/c0d0 is present. When I run "parted /dev/rd/c0d0" it is
> showing the partitions (both 1.4.x and 1.6.x).
Oops! In 1.6.x, that heuristic hasn't been improve inside the
device probing code.
The relevant function is _probe_proc_partitions() inside linux.c.
Come to think of it, I'm not sure what a good heuristic is.
Basically, we want it to recognize /dev/hda1 as a partition,
but /dev/rd/c0d0 as a device.
Perhaps the regexp /dev/.*[a-z]+[0-9]+[a-z]+[0-9]+ should match
devices?
Anyone forsee any problems, or a better solution?
Cheers,
Andrew
- Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/23
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/23
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/24
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/24
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/24
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/24
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/25
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/25
- Message not available
- Re: Problem in detecting RAID device!!,
Andrew Clausen <=
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/26
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/26
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/26
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/26
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/26
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/26
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/26
- Re: Problem in detecting RAID device!!, Andrew Clausen, 2002/12/26
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/26
- Re: Problem in detecting RAID device!!, Veerapuram Varadhan, 2002/12/25