SliTaz SliTaz Forum

You are not logged in.

#1 2011-12-08 11:25:49

tdapower
Member
Registered: 2011-11-28
Posts: 6

How can I disable the usb-storage devices in slitaz?

Pls tell me how can I disable the usb-storage devices in slitaz.

I just need to disable only usb-storage devices(not usb devices such as mouse and key boards).

In OSs like ubuntu, I can done it easily by adding "blacklist usb-storage" text to

"/etc/modprobe.d/blacklist.conf" file

But this method did't works on Slitaz...

Offline

#2 2011-12-08 14:28:24

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: How can I disable the usb-storage devices in slitaz?

# cd /sys/bus/usb/drivers/usb-storage

# for i in *:*; do echo -n "$i" > unbind; done

Offline

#3 2011-12-09 03:11:33

tdapower
Member
Registered: 2011-11-28
Posts: 6

Re: How can I disable the usb-storage devices in slitaz?

Thanks, I'll try that,

Can i do this when I'm building the iso externally without booting from slitaz and using tazlito.

I mean by extracting the iso and remastering.

Thanks in advance.

Offline

#4 2011-12-12 07:47:56

tdapower
Member
Registered: 2011-11-28
Posts: 6

Re: How can I disable the usb-storage devices in slitaz?

Dear Bellard,

I tried your steps, But no better results for me,that means usb storage devices are still working. I also fount that usb storages can be disabled using "modprobe -r usb_storage" command. But it gives error

modprobe:  module usb_storage not found

modprobe:  failed to remove module usb_storage: No such file or directory

So pls help me to sort out this....

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]