I don't know if you've already had a look at usbfs - maybe something there that would help. Have a look around here (if you haven't already): http://www.linux-usb.org/USB-guide/c607.html Regards Sergio > hgraf wrote: > > > Another interesting question... > > > > I've created some hardware to emulate an IDE hard drive. I've connected > > this emulated drive to a computer using a USB2.0-PATA bridge. > > > > It works well, however, due to the way things need to work it would make > > my life easier if I could prevent the OS from writing to my "drive". > > > > Is there a way under linux (Ubuntu 7.10) to cause a USB hard drive to be > > mounted read-only (it's currently being auto mounted, I don't want my > > changes to have any effect on other USB drives being mounted)? Is there > > something in the identify drive data that a hard drive returns that I > > can set to cause the hard drive to be read only (I can change anything > > there I want)? > > > > Again, I've googled, but haven't really come up with anything. > > > > Thanks for any pointers. > > > > TTYL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist