Re: Bug#274859: [help needed] RAID and /dev advice needed

2005-05-24 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2005.05.24.1028 +0200]: > This seems trivial enough. I am running a test now. Seems to work; thanks Peter! Rockin'! -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :pro

Re: Bug#274859: [help needed] RAID and /dev advice needed

2005-05-24 Thread martin f krafft
also sprach Neil Brown <[EMAIL PROTECTED]> [2005.05.24.0258 +0200]: > > Neil? Is there a good reason for lstat here? It apparently breaks on > > devfs. (Ref. http://bugs.debian.org/274859) > > No, it is a bug. It should be 'stat', not 'lstat'. This seems trivial enough. I am running a test no

Re: RAID and /dev advice needed

2005-05-23 Thread Steve Langasek
On Tue, May 24, 2005 at 01:19:48AM +0200, martin f krafft wrote: > also sprach Bas Zoetekouw <[EMAIL PROTECTED]> [2005.05.24.0040 +0200]: > > I think udev also created those links of the compat or the devfs > > rules are used. > True. > > Wouldn't it be better though to fix mdadm to just follow t

Re: [help needed] RAID and /dev advice needed

2005-05-23 Thread Neil Brown
On Monday May 23, [EMAIL PROTECTED] wrote: > > tags 274859 +patch > thanks > > [martin f krafft] > > I checked out the source and opening is not hard... but mdadm also > > creates device nodes and uses S_ISBLK all over the place, so I don't > > really know whether adding a "|| S_ISLNK" will fix i

Re: [help needed] RAID and /dev advice needed

2005-05-23 Thread Peter Samuelson
tags 274859 +patch thanks [martin f krafft] > I checked out the source and opening is not hard... but mdadm also > creates device nodes and uses S_ISBLK all over the place, so I don't > really know whether adding a "|| S_ISLNK" will fix it. I didn't actually test this, but I honestly don't see w

[help needed] RAID and /dev advice needed

2005-05-23 Thread martin f krafft
also sprach Marco d'Itri <[EMAIL PROTECTED]> [2005.05.24.0155 +0200]: > > My (hack) solution is to remove those symlinks and replace them with > > real device nodes (hardlinks don't work). To be able to confine this > Ugly. If you can't fix it correctly then leave it broken. You funny monkey you.

Re: RAID and /dev advice needed

2005-05-23 Thread Marco d'Itri
On May 24, martin f krafft <[EMAIL PROTECTED]> wrote: > My (hack) solution is to remove those symlinks and replace them with > real device nodes (hardlinks don't work). To be able to confine this Ugly. If you can't fix it correctly then leave it broken. -- ciao, Marco signature.asc Description

Re: RAID and /dev advice needed

2005-05-23 Thread martin f krafft
also sprach Bas Zoetekouw <[EMAIL PROTECTED]> [2005.05.24.0040 +0200]: > I think udev also created those links of the compat or the devfs > rules are used. True. > Wouldn't it be better though to fix mdadm to just follow the > links, like any other program should? Yes, but I am not willing to do

Re: RAID and /dev advice needed

2005-05-23 Thread Bas Zoetekouw
Hi martin! You wrote: > /dev/md0 --> /dev/md/0 > /dev/md1 --> /dev/md/1 > My (hack) solution is to remove those symlinks and replace them with > real device nodes (hardlinks don't work). To be able to confine this > hack as close as possible to the problem it's supposed to solve, > I need to

RAID and /dev advice needed

2005-05-23 Thread martin f krafft
It seems as if devfs (yeah sure, deprecated) creates links such as /dev/md0 --> /dev/md/0 /dev/md1 --> /dev/md/1 [...] These actually break mdadm: #274859 and #310412. Thus, please consider this urgent. My (hack) solution is to remove those symlinks and replace them with real device nodes