LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2009, 02:37 PM   #1
Albo74
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
How to disable automounting in SLAX?


Greetings Linux folks,
I am relatively new to Linux so please bear me. I have done the Google but not quite found an answer. So here goes, I am looking to test out SLAX for some computer security and forensics work and would love to stop it from automounting HDDs or peripheral devices.

Can anyone tell me what I need to edit or change in order to make no automounting a persistent change. I know you can enter "noauto" during startup, but I would like completely disable automounting and only manually mount the device I want mounted.

Any and all help is greatly appreciated.

Cheers!
 
Old 03-21-2009, 04:41 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Edit or create the file /etc/hal/policy/preferences.fdi. For each volume you don't want to automount add the <device></device> section as shown below.
Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
   <match key="block.device" string="/dev/sda1">
      <merge key="volume.ignore" type="bool">true</merge>
   </match>
</device>
</deviceinfo>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable Text-to-speechmanager on startup, and disable fsck after 20 boots Kristian2 Slackware 2 02-25-2009 10:55 AM
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 09:38 AM
grub commands for slax /slax frodo Paridoth Linux - General 2 07-15-2006 11:05 PM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
automounting?? graffitici Linux - Hardware 6 07-04-2003 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration