Re: /bin/ls sorting bug?

2004-06-26 Thread Tim Kientzle
At 10:48 AM +1000 6/22/04, Greg Black wrote: The output of ls has never been good for reproduceable output for identical data. It frequently leads to gigantic diffs in periodic reports ... man 1 diff: -b Ignore changes in amount of white space.

Re: Getting MAC address?

2004-06-26 Thread Dmitry Morozovsky
On Sat, 26 Jun 2004, Ivan Voras wrote: IV How to get the MAC address for an (ethernet) interface? The linux code IV does this: IV retval = ioctl(thisint-sockInt, SIOCGIFHWADDR, ifr); IV IV After some searching, I found SIOCSIFLLADDR ioctl, but it appears there IV isn't a GET counterpart. IV

Re: Getting MAC address?

2004-06-26 Thread Ivan Voras
Dmitry Morozovsky wrote: On Sat, 26 Jun 2004, Ivan Voras wrote: IV How to get the MAC address for an (ethernet) interface? The linux code IV does this: IV retval = ioctl(thisint-sockInt, SIOCGIFHWADDR, ifr); IV IV After some searching, I found SIOCSIFLLADDR ioctl, but it appears there IV isn't a

Re: A few technical items on UFS2 and snapshots...

2004-06-26 Thread Joe Schmoe
--- Oliver Fromme [EMAIL PROTECTED] wrote: 1. Is it dangerous to mount all 20 possible filesystem snapshots and _leave them mounted_ to use at any time ? I don't think there is any danger, except that you will run out of disk space sooner or later. Every snapshot I have taken so far

Re: Setting Standby Mode for ATA Disks

2004-06-26 Thread Arne Schwabe
Ion-Mihai Tetcu [EMAIL PROTECTED] writes: On Fri, 25 Jun 2004 18:51:06 +0200 Arne Schwabe [EMAIL PROTECTED] wrote: Hi, is there a way to set the standby mode for ATA Disks [ ... ] I googled but I did not found anything like this for FreeBSD :/ I think sysutils/ataide For today,

Re: Getting MAC address?

2004-06-26 Thread Doug Rabson
On Saturday 26 June 2004 10:15, Ivan Voras wrote: Dmitry Morozovsky wrote: On Sat, 26 Jun 2004, Ivan Voras wrote: IV How to get the MAC address for an (ethernet) interface? The linux code IV does this: IV retval = ioctl(thisint-sockInt, SIOCGIFHWADDR, ifr); IV IV After some

Re: Getting MAC address?

2004-06-26 Thread Ivan Voras
Doug Rabson wrote: Its really not that hard: [code] Don't get me wrong - it's not hard, and I've done it already, it's just that I felt there could/should be an ioctl for it :) Onto another subject: despite the recommendations (thanks!) I wanted to try the non-bpf,non-ng approach to things (if

Re: A few technical items on UFS2 and snapshots...

2004-06-26 Thread Robert Watson
On Fri, 25 Jun 2004, Joe Schmoe wrote: --- Oliver Fromme [EMAIL PROTECTED] wrote: 1. Is it dangerous to mount all 20 possible filesystem snapshots and _leave them mounted_ to use at any time ? I don't think there is any danger, except that you will run out of disk space