Re: need absolute location/device of usb flash disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 5 Aug 2009, Joseph Mack NA3T wrote:

On Wed, 5 Aug 2009, Jim Paris wrote:

The links in /dev/disk/by-path really should work for you as-is. They uniquely identify the physical slot the disk is plugged into.

I didn't understand that. Let me try it out

Well dang. This works. Thanks everyone.

I now see what you're all talking about. I assumed that I had to write a udev rule from the contents of /dev/disk/by-path. I also thought the contents of this directory was changing with each insertion, like the output of "udevinfo -a -p $device", but I now see that it isn't.

I'd like only the program of interest to be able to write to disks on the external ports. Changing the GROUP and MODE of these disks would do it. Is it possible to change the GROUP of the ports on the external hubs (and not change the GROUP of ports built into the computer)?

Thanks Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux