Re: How to hide a disk?

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

 



Hello Tom,


On Sun, 9 Dec 2007 09:55:48 -0500 Tom Horsley <tom.horsley@xxxxxxx> wrote:

> On Sun, 09 Dec 2007 20:11:59 +0530
> Abhishek Rane <abhishekrane@xxxxxxxxx> wrote:
> 
> > > Somwhere during the update trail F8 decided that under "computer"
> > > nautilus should show everything.
> 
> After much googling, I managed to track this down (why anyone thought
> that automounting fixed disks which were deliberately left out of
> the fstab was a good idea, I leave for a separate debate :-).
> 
> 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 suppose this could be set using `hal-set-property`?

Half off-topic, but I've recently found that `hal-disable-polling` can
be useful to avoid auto-mounting some media (like CDs). This also saves
some CPU and desktop latency.


Regards,

-- 
wwp

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux