Re: [CentOS] Overwrite target of ln

2008-03-04 Thread Michael D. Kralka
Matt Arnilo S. Baluyos (Mailing Lists) wrote: On 05/03/2008, Matt Arnilo S. Baluyos (Mailing Lists) <[EMAIL PROTECTED]> wrote: On 05/03/2008, Garrick Staples <[EMAIL PROTECTED]> wrote: I have just tried using a target as a file and it does seem to work with the -f option. It's only when the ta

Re: [CentOS] Cron on certain days?

2008-01-28 Thread Michael D. Kralka
Scott Ehrlich wrote: Is it possible for me to schedule cron to say run script A on the first Friday of the month, script B on the second Friday of the month, script C, etc.? Yes. You just need to specify the "day of the week" and a "day of the month" with a range that can only happen for the

Re: a quick and dirty hack to 'fix' the problem in a large scale -- RE: [CentOS] Nic order detection

2008-01-12 Thread Michael D. Kralka
Guolin Cheng wrote: > Les and Michael, I am going to bite my tongue and not ask to you refrain from top posting. As your subject suggests, you are proposing a quick and dirty hack to deal with interface assignment to physical NICs. Why bother with a quick and dirty hack when a sensible solution e

Re: [CentOS] Nic order detection

2008-01-10 Thread Michael D. Kralka
Les Mikesell wrote: > I do have the ifcfg-ethX files for the 2 interfaces that are currently > active, but since the machines were built by image copies of a master > disk, they do not have HWADDR address entries. A person on-site with > access to the console adjusted them if they didn't come up r

Re: [CentOS] Resizing a Xen DomU disk image

2007-12-19 Thread Michael D. Kralka
Alain Spineux wrote: > On Dec 19, 2007 7:26 PM, Matthew Lind <[EMAIL PROTECTED]> wrote: >> Hello Mailing List! >> >> A quick question. Has anyone gotten a resize (in my case grown) a Xen >> DomU disk image? >> >> Here is the procedure I have followed: >> >> 1. Install a DomU using virt-install >>

Re: [CentOS] Trouble getting all my com-ports (ttyS*)

2007-12-07 Thread Michael D. Kralka
Christopher Thorjussen wrote: > I just installed CentOS 5.1 on a Dell Vostro 200 (Intel G33) which has a > Sunix PCI-Express (x1) 8-port RS-232 card installed. For me it looks > like only 4 ports are recognized, but I'm not sure if it's even working > with those 4. > How can I get the other 4 en

Re: [CentOS] script help

2007-11-02 Thread Michael D. Kralka
Ross S. W. Walker wrote: > > Try: > > # find -type d -name dir-192.168.\* -exec mv \{\} `echo > \{\} | sed 's/192\.168\./10\.0\./'` \; > > That should recursively rename all directories from one naming scheme to > another. ... except for the fact that the `echo \{\} ...` will be evaluated by t

Re: [CentOS] Network issue after new kernel install

2007-11-01 Thread Michael D. Kralka
Paul Norton wrote: > Michael D. Kralka wrote: >> Paul Norton wrote: >>> On all of my CentOS 5 VMWare ESX3 virtual machines (about 15), after >>> installing a new kernel and rebooting the machine, the Network script >>> tries to run dhclient and can't deter

Re: [CentOS] Network issue after new kernel install

2007-11-01 Thread Michael D. Kralka
Paul Norton wrote: > On all of my CentOS 5 VMWare ESX3 virtual machines (about 15), after > installing a new kernel and rebooting the machine, the Network script > tries to run dhclient and can't determine the IP info (since I don't run > a dhcpd server... it's a static IP only lan). This also bac

Re: [CentOS] forcing device to USB HDD

2007-10-27 Thread Michael D. Kralka
Les Mikesell wrote: > Kenneth Porter wrote: >> --On Saturday, October 27, 2007 2:16 PM -0400 "Michael D. Kralka" >> <[EMAIL PROTECTED]> wrote: >> >>> You can always set up a udev rule that will give the drive a known alias >>> (e.g. "back

Re: [CentOS] forcing device to USB HDD

2007-10-27 Thread Michael D. Kralka
Israel Garcia wrote: > Hi, I bought an USB external hdd (500GB) to make my > backups using dump... but, sometimes my sever > recognize the hdd device /dev/sdb or /dev/sdc... my > question is: How can I assign a fixed device for > example /dev/sdc to my hdd? remember I use some > scripts to do my ba