How to hide a disk?

John Summerfield debian at herakles.homelinux.org
Sun Dec 9 21:15:38 UTC 2007


Tom Horsley wrote:

> You can make HAL refuse to mention fixed disks to anyone by adding
> the file /etc/hal/fdi/policy/10-no-fixed-drives.fdi with the following
> xml contents:
> 
> <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
> 
> <deviceinfo version="0.2">
>   <device>
>     <match key="@block.storage_device:storage.hotpluggable" bool="false">
>       <match key="@block.storage_device:storage.removable" bool="false">
>         <merge key="volume.ignore" type="bool">true</merge>
>       </match>
>     </match>
>   </device>
> </deviceinfo>
> 
> This is apparently a standard file in the upstream hal sources, but
> fedora 8 decided for whatever reason to remove it.

I suggest a bug report; it's far easier to discover how to change the 
behaviour if this file is present than if it's not.




-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)




More information about the users mailing list