On Sat, 8 Dec 2001, Oliver Neukum wrote:

> > But you control hotplugging. You can check in the hotplugging
> > script whether device has given VendorId and ProductId and
> > then take the proper action e.g.:
> > -giving proper persmission to user
> > -mounting device with proper rights

> Simply writing through to the fs with major:minor rights doesn't do it, 
> because you need stable names which the traditional system cannot give you.
> Devfsd on steroids might do it.

But when the device is plugged in - you do know what major:minor is
this. Can't you then link it symbolically to the proper generic name?

E.g. you put int the /etc/fstab

/dev/phison1     /C        ext2   noauto,owner 0 0

and in the hotplugging script:

detect what major minor it is, let's say /dev/sdb1 and then
ln -s /dev/sdb1 /dev/phison1

(of course in reality there is a problem with more than one
identical device at the same time).

What is wrong with this naive method?

Best Regards,

Jacek Pliszka


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to