xfs
[Top] [All Lists]

Re: devfs (was Re: Compilers (was Re: 2.4.11 don't work yet.))

To: linux-xfs@xxxxxxxxxxx
Subject: Re: devfs (was Re: Compilers (was Re: 2.4.11 don't work yet.))
From: nic <nic@xxxxxxxxxxx>
Date: Mon, 22 Oct 2001 16:21:21 +0100
Envelope-to: <linux-xfs@oss.sgi.com>
In-reply-to: <E15vfly-0000PA-00@pyewacket.nic.uklinux.net>
Organization: Quixotic Hackers
References: <12144.1002906352@ocs3.intra.ocs.com.au> <E15t3Pi-0001Sc-00@pyewacket.nic.uklinux.net> <E15vfly-0000PA-00@pyewacket.nic.uklinux.net>
Reply-to: nic@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
On Monday 22 October 2001 15:09, nic wrote:

> I'll build a 1.3.18 rpm and see what happens.

OK, I built 1.3.18 and more importantly altered the following three lines 
(calling the duff 'ln') from:

# ...and /dev/cdrom
# In case no cdrom modules loaded, point link over to /dev/cdroms/cdrom0
LOOKUP          cdrom           EXECUTE /bin/ln -sf cdroms/cdrom0 cdrom
# Similarly, if the module loaded, create the /dev/cdrom link
REGISTER        cdroms/cdrom0   EXECUTE /bin/ln -sf cdroms/cdrom0 cdrom
# Remove link when cdrom modules are unloaded
UNREGISTER      cdroms/cdrom0   EXECUTE /bin/rm -f cdrom

to:

# ...and /dev/cdrom
# In case no cdrom modules loaded, point link over to /dev/cdroms/cdrom0
LOOKUP          ^cdrom$           CFUNCTION GLOBAL symlink cdroms/cdrom0 
$devpath
# Similarly, if the module loaded, create the /dev/cdrom link
REGISTER        ^cdroms/cdrom0$   CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom
# Remove link when cdrom modules are unloaded
UNREGISTER      ^cdroms/cdrom0$   CFUNCTION GLOBAL unlink cdrom

So it wasn't xfs related. It never was xfs related. It was a devfs config 
issue.

Still kdb rocks - thanks to SGI for yet another great piece of code for Linux,
nic

PS. I'll put the devfs RPM up on www.nic.uklinux.net/src/rpms in a mo.


<Prev in Thread] Current Thread [Next in Thread>