Re: Fix firmware loader docs

From: Pascal Schmidt
Date: Sun Nov 16 2003 - 10:39:44 EST


On Sun, 16 Nov 2003 14:20:15 +0100, you wrote in linux.kernel:

> AFAICS, sysfs should be mounted on /sys these days...
>
> --- tmp/linux/Documentation/firmware_class/README 2003-08-27 12:00:01.000000000 +0200
> +++ linux/Documentation/firmware_class/README 2003-11-06 13:50:58.000000000 +0100
> @@ -60,9 +60,9 @@
>
> HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/
>
> - echo 1 > /sysfs/$DEVPATH/loading
> + echo 1 > /sys/$DEVPATH/loading
> cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data
> - echo 0 > /sysfs/$DEVPATH/loading
> + echo 0 > /sys/$DEVPATH/loading

You need more coffee. You forgot the /sysfs/ on the line with cat. ;)

--
Ciao,
Pascal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/