Ubuntu Hardy : Testing for environment variables in udev rules doesn't seem to work
- by Fred
I have a Ubuntu 8.04 LTS (server edition), and I need to write a udev rule for it to act upon plugging a USB thumb drive. However, I need a different action depending on the filesystem of the drive. I know I can use the ID_FS_TYPE environment variable to check for the filesystem on the drive.
Following instructions found here, I try a dummy udev…