On Thursday 22 April 2004 20:29, Jim Sibley wrote:
> Neale, I guess I don't yet understand sysfs and all
> that.  I have a 3390 device, say 5700, at /dev/dasdb,
> I would rather use the subchannel address. What would
> I have to set up to issue the command:
>
> mount -t reiserfs /dev/dasd/0.0.5700/disc/part1
> /mnt/test ???
>
> I get the message
>
> "mount: special device /dev/dasd/0.0.5700/part1 does
> not exist"
>
> /etc/udev/udev.rules seems to know about s/390 DASD
> and partitions. Do I have to invoke udev? What would
> the command look like? Or do I invoke hotplug? Where
> would I expect to find the device in /dev? There does
> not seem to be a /dev/dasd direcotry.

For your example, you need to add these two lines to your
/etc/udev/udev.rules file:

KERNEL="dasd*[a-z]", SYMLINK="dasd/%b/disc"
KERNEL="dasd*[0-9]", SYMLINK="dasd/%b/part%n"

Note that some rpms for udev still want to create their
own nodes below /udev, not /dev, which you can either
accept or change in /etc/udev/udev.conf.

More importantly, make sure that the directory that udev
uses (/udev or /udev) is not on disk but mounted as tmpfs.
This is important so you don't get stale nodes after a
crash an accidentally use incorrect disks.

        Arnd <><

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to