- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Disable usb & check hard disk size
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 10:14 PM
05-23-2004 10:14 PM
I need to disable USB device in redhat linux and also check the hard disk size
rgds-mjs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 10:39 PM
05-23-2004 10:39 PM
Solution1) disable kudzu for automatic detection
2) edit modules.conf and remove usb-related lines, so linux kernel won't load the usb modules.
3) to check hd size: cat /proc/partitions
or search in this forum. Already been answered.
Peace, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 10:41 PM
05-23-2004 10:41 PM
Re: Disable usb & check hard disk size
THe size of the disk is given somewhere in the output of "dmesg". If you have an ide disk, you can also get the size with "cat /proc/ide/hdX/capacity" where "X" is replaced with the letter the for the drive you wish to query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 11:23 AM
05-24-2004 11:23 AM
Re: Disable usb & check hard disk size
On RH boxes, this forces the 'rc.sysinit' not to install drivers etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 06:02 AM
06-17-2004 06:02 AM
Re: Disable usb & check hard disk size
The best way I've found to disable USB, is to alias them off in /etc/modules.conf and depmod, or reboot.
In modules.conf remove / comment out current USB lines.
add (I can't remember if all three are needed, but they don't hurt)
alias usb-controller off
alias usb-ohci off
alias usbcore off
verify with a lsmod on reboot, you shouldn't see any usb modules, no manipulation of kudzu required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:13 PM
06-22-2004 05:13 PM
Re: Disable usb & check hard disk size
cat the file /proc/driver/cciss/cciss0 file to find out the Hard Disk Size
Regards
Sajeesh