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

inhibit self mounting peripherals



Better is to use this /etc/hal/fdi/policy/preferences.fdi file

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<!-- This .fdi file prevents automount for every media (storage devices)
e.g. floppy, CD/DVD, USB-Stick, USB-Disk, external hard disk.
The original SuSE SDB supplied version was modified to meet
Brownout needs. -->

<deviceinfo version="0.2">
<device>
<match key="storage.policy.should_mount" bool="true">
<merge key="storage.policy.should_mount" type="bool">false</merge>
</match>
<match key="storage.automount_enabled_hint" bool="true">
<merge key="storage.automount_enabled_hint" type="bool">false</merge>
</match>
<match key="storage.media_check_enabled" bool="true">
<merge key="storage.media_check_enabled" type="bool">false</merge>
</match>
<match key="volume.policy.should_mount" bool="true">
<merge key="volume.policy.should_mount" type="bool">false</merge>
</match>
<match key="volume.ignore" bool="false">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</device>
</deviceinfo>

On Nov 9, 2007 5:29 PM, Anthony Godshall <AGodshall at ampro.com> wrote:
>
>
>
>
> remove udev?
>
>  tweak /etc/udev/rulesd/*?
>
>
>
>  -----Original Message-----
>  From:
> debian-live-devel-bounces+apgodshall=gmail.com at lists.alioth.debian.org on
> behalf of Nicola La Gloria
>  Sent: Thu 2007-11-08 09:58
>  To: debian-live-devel at lists.alioth.debian.org
>  Subject: inhibit self mounting peripherals
>
>  Hi all,
>  I'm building lenny based usb-udd live systems.
>  I would know if its possible for the live system to not mount automatically
>  peripherals as internal hd (if present) or user-plugged USB stick.
>  Ones build the chroot, I could configure hal or udev for not probing and
>  mount unwanted peripherals and then build the image
>  Any suggestion?
>
>  Thanks
>  Nik
>
>



Reply to: