Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
USBフラッシュデバイスをマウントしたりラベルを変更したりせずにプログラムでテストできる方法でUSBフラッシュデバイスをマークする方法を見つけようとしています。
デバイスの動作や外観がユーザーに変化しないように、デバイスに関して変更できるプロパティはありますか?
Ubuntu Jaunty を実行しています。
このプロパティを変更することはできませんが、タプル(vendor_id、product_id、serial_number)は各デバイスに固有であるため、これをすでに存在するマークとして使用できます。lsusbまたはusblibを使用して、USBバス上のデバイスを列挙できます。