Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
Re: [SLE] conventional mounting on Suse 10.0- SOLVED
  • From: Istvan Gabor <suseuser04@xxxxxxxxxxx>
  • Date: Sun, 6 Nov 2005 11:36:42 +0000 (UTC)
  • Message-id: <freemail.20051006123635.11974@xxxxxxxxxxxxxxxx>

>
> >> It's descriped in the Release Notes - and still works with
such
> > Is that the chapter called 'Mounting Hotplugged Devices
without
> > "sync" '? If yes, it's not obvious - at least for me - that it
> > applies to conventional mounting.
>
> That's what I mean - and yes, it's not obvious,

I could turn off conventional mounting finally on Suse 10.0.
Here I post the notes I made for myself how to do it:

How to turn off automounting in SuSE 10.0

see: http://portal.suse.com/sdb/en/2005/05/
dkukawka_subfs_nomount.html
Suse 10.0 Release Notes: Mounting Hotplugged Devices
without "sync"

Create the following text file called 90-noautomount.fdi in /usr/
share/hal/fdi/policy/20thirdparty:

/usr/share/hal/fdi/policy/20thirdparty/90-noautomount.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. -->
<deviceinfo version="0.2">
<device>
<match key="storage.policy.should_mount" bool="true">
<merge key="storage.policy.should_mount"
type="bool">false</merge>
</match>
</device>
</deviceinfo>

--------------------------------------------------------

Edit /etc/fstab file for floppy, CD, and DVD drives:

/dev/cdrom /media/cdrom auto noauto,ro,
users,exec,iocharset=utf8 0 0
#/dev/dvdrecorder /media/dvdrecorder subfs noauto,
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvdrw /media/dvdrw auto noauto,ro,
users,exec,iocharset=utf8 0 0
#/dev/fd0 /media/floppy subfs noauto,
fs=floppyfss,procuid,nodev,nosuid,sync 0 0
/dev/floppy /media/floppy auto noauto,users,
exec,sync 0 0

Create the directories:

/media/cdrom
/media/dvdrw
/media/floppy


Create devices in /dev

cd /dev
ln -sf hdx cdrom
ln -sf hdy dvdrw
ln -sf fd0 floppy

where hdx and hdy correspond to the optical drives.

IMPORTANT! - Make sure that all removable media is removed,
unmounted!

restart hal daemon:
rchal restart



_____________________________________________________________________
Angolul tanulna, de nincs ideje rá? Próbálja ki a levelező módszert.
Hanganyag CD-n vagy kazettán. www.elo.hu/free



< Previous Next >
References