Antonio, On Fri, Feb 01, 2008 at 03:06:08PM +0000, antonio wrote: > I am using ptxdist to generate RFS of my board based on AT91 processor > and it works fine. Now I need to be able to automount an USB mass > storage device. When I insert the stick the system recognizes it > correctly : after that I need to do > > -> mount -t vfat /dev/sda1 /mount directory > > I know that exists a method for automounting USB (I tried a different > Linux distribution created with Open Embedded that automounts the USB > stick on media/sda1 or sda2). Does anybody knows if with ptxdist I > can create a RFS able to do this job?
You need an udev config in order to do so. If you've found a working configuration (google is your friend), you can add the corresponding files to ${PTXDIST_WORKSPACE}/projectroot/etc/udev/udev.conf and let them install by rules/udev.make. It looks at the PTXCONF_ROOTFS_ETC_UDEV_CONF_USER switch to decide to install the local file instead of the generic one. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 -- ptxdist mailing list ptxdist@pengutronix.de