Quote:
Originally Posted by sundialsvcs
IIRC, the hotplug system is script-driven to the extent that you can specify what is done when a hotplug event is recognized ... and, I think, you will need for certain events to occur in order for your authorized program (how authorized?) to be able to exert influence on it. Are you really asking for the check for and mounting of file systems not to happen?
|
Thanks for answer.
Yes I want to avoid mounting (with exception to main system hdd of course) but not only. I don't know what special sata/scsi commands are sent to device by system. Maybe some keep-alive checks from time to time. I would like to block them all and make system unable to normally use of a drive.
By hot-plugging I mean not a external usb drives - I would like to connect and disconnect regular SATA and SCSI drives on the fly (it doesn't matter that it can be dangerous for hardware
Unfortunately there are no /etc/hotplug directory in ubuntu. Do they handle it in different way?