LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-01-2010, 07:19 AM   #1
Ipolit
Member
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 293

Rep: Reputation: 31
disable USB storage Ubuntu 8.10


Hello,
I want to disable usb storage module on Ubuntu 8.10.
I also have Ubuntu 9.10 and when I put

blacklist usb_storage

in /etc/modprobe.d/blacklist.conf everything is fine.
When I do the same in 8.10 nothing happens. The difference is that there is
/etc/modprobe.d/blacklist

Please advice
 
Old 03-01-2010, 07:35 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
I suppose upgrading the 8.10 box is out of the question?

GIYF:
http://www.cyberciti.biz/faq/linux-d...torage-driver/
1. physically remove the kernel module
2. put "nousb" in the grub kernel line
3. switch the usb system off in BIOS

... unless you want root to load the module with insmod.

I suppose you could also fiddle the rules so that only root gets read access to any usb devices loaded.

blacklist usb_storage
in /etc/modprobe.d/blacklist is what will disable the usb_storage driver in Ubuntu 8.10. I'm guessing a different driver is being used back then.
 
Old 03-01-2010, 08:24 AM   #3
Ipolit
Member
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 293

Original Poster
Rep: Reputation: 31
Thank you very much.
Just renamed usb-storage.ko to usb-storage.ko1
Actually no one of the users can mount the usbs, hal automount is disabled, but I wanted to make sure the usb-storage is completely disabled.

Thank you again,
by the way nousb in the grub didn't work, I tried it before post
 
  


Reply

Tags
blacklist, usbstorage


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
LXer: Distributed Storage Across Four Storage Nodes With GlusterFS On Ubuntu 9.10 LXer Syndicated Linux News 0 01-14-2010 02:50 PM
Disable/enable USB storage device @ run time Mr.J Linux - Security 1 09-08-2008 11:16 AM
Disable/enable USB storage device @ run time Mr.J Linux - Kernel 3 08-03-2008 09:14 AM
How to disable USB Mass Storage device ( usb drive ) in Linux vijaush Linux - Newbie 4 06-25-2008 10:43 AM
Is it possible to disable power supply to an USB storage device when unmounting? costavi Linux - Hardware 2 11-14-2006 04:23 AM


All times are GMT -5. The time now is 12:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration