LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > farslayer
User Name
Password

Notices

Linux Configuration Tips for configuring Linux
Old

UDEV Rules

Posted 03-27-2009 at 08:25 AM by farslayer

udev Rules for the Hard drives..


Use udevinfo to get unique attributes about the devices you are going to write a rule for.

udevinfo -a -p /sys/block/sda | grep -i model
Gives the following output: SYSFS{model}="LD 0 RAID1 139G"

udevinfo -a -p /sys/block/sda | grep -i size
Gives the following output: SYSFS{size}="286515200"

udevinfo -a -p /sys/block/sdb | grep -i model
Gives the following...
Guru
Views 2823 Comments 0 farslayer is offline
Old

Setting the Linux Hostname

Posted 03-02-2009 at 08:49 AM by farslayer
Updated 05-27-2009 at 03:12 PM by farslayer
Tags hostname

Originally Copied from http://www.cpqlinux.com/hostname.html
The original site has been down the last several times I have checked, so I am reposting the info here in my blog..




Setting the Linux Host Name


Start at the top and complete ALL steps..

-------------------------------------------------------------------------------
Checking your Linux host name
First, see if your host name is set correclty using the following...
Guru
Views 6851 Comments 2 farslayer is offline

  



All times are GMT -5. The time now is 06:10 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