Hello all: I would like to turn off automounting in Suse 10.0, especially for optical disks and floppy devices. I think changing only fstab is not enough. In 9.3 also had to change hal behavior creating and .fdi file in /usr/share/hal/fdi/ 95userpolicy/. (see http://portal.suse.com/sdb/en/2005/05/ dkukawka_subfs_nomount.html) In 10.0 the above directory does not exist and seems that the things written in the above manual do not apply. Does anyboby know how to turn off automounting in 10.0? Thanks, IG _____________________________________________________________________ Angolul tanulna, de nincs ideje rá? Próbálja ki a levelező módszert. Hanganyag CD-n vagy kazettán. www.elo.hu/free
Istvan Gabor <suseuser04@freemail.hu> writes:
Hello all:
I would like to turn off automounting in Suse 10.0, especially for optical disks and floppy devices.
I think changing only fstab is not enough. In 9.3 also had to change hal behavior creating and .fdi file in /usr/share/hal/fdi/ 95userpolicy/. (see http://portal.suse.com/sdb/en/2005/05/ dkukawka_subfs_nomount.html) In 10.0 the above directory does not exist and seems that the things written in the above manual do not apply.
Does anyboby know how to turn off automounting in 10.0?
It's descriped in the Release Notes - and still works with such a file, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
It's descriped in the Release Notes - and still works with such a file,
Andreas
Thanks. 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. IG _____________________________________________________________________ Angolul tanulna, de nincs ideje rá? Próbálja ki a levelező módszert. Hanganyag CD-n vagy kazettán. www.elo.hu/free
Istvan Gabor <suseuser04@freemail.hu> writes:
It's descriped in the Release Notes - and still works with such a file,
Andreas
Thanks. 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, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
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
participants (2)
-
Andreas Jaeger
-
Istvan Gabor