Re: A New FreeBSD Server

2006-06-24 Thread Avleen Vig
On Sat, Jun 24, 2006 at 03:32:26PM -0400, Mike Meyer wrote: > Why not RAID your swap? The extra reliability might not be worth very > much, but the extra performance couldn't hurt - unless you don't plan > on swapping at all. This is enough of a win that the swap subsystem > will interleave swap us

Re: Buses, devices and modules

2006-06-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Artem Ignatiev <[EMAIL PROTECTED]> writes: : When I do 'echo mydev_load="YES" >>/boot/loader.conf', loader loads : both mydev.ko and mybus.ko, and mybus.ko attaches properly, but : mydev.ko don't attach to anything. : : I suppose this happens because

Re: mmap() vs. character special file

2006-06-24 Thread Dmitry Pryanishnikov
Hello! On Sat, 24 Jun 2006, Stanislav Sedov wrote: I'm curious about mmap()ing devices (particularly, HDD slices). The manpage mentions character special files only once: You cannot mmap ata devices (as well as scsi ones), since mmap functions was not implemented. Actually, only few devices h

Re: Coding question: finding the size of a block device

2006-06-24 Thread andrew chace
On 6/24/06, Frank Mitchell <[EMAIL PROTECTED]> wrote: Let's assume your Block Device is an ATA Hard Disk and you're using FreeBSD 6.0 like me. Take a look at and you'll see a large fully-commented structure, "struct ata_params", which is used to return the information from the ATA "IDENTIFY DE

Re: mmap() vs. character special file

2006-06-24 Thread Peter Jeremy
On Sat, 2006-Jun-24 01:27:05 +0300, Dmitry Pryanishnikov wrote: >So it looks like one should be able to mmap() a character special file (w/o >MAP_ANON, of course). However, if I try to issue: If you have the kernel source handy, you can check which devices support mmap() by looking for a 'd_mmap'

Re: A New FreeBSD Server

2006-06-24 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Bob Richards <[EMAIL PROTECTED]> typed: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Folks: > > This is my first post here. I believe it is the correct list for my > questions. If not, > please excuse me and direct me to the proper list. > > I have been using

Re: A New FreeBSD Server

2006-06-24 Thread Eric Anderson
Bob Richards wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks: This is my first post here. I believe it is the correct list for my questions. If not, please excuse me and direct me to the proper list. I have been using Linux as my WorkStation since V0.98 Kernel, so I know a bit

A New FreeBSD Server

2006-06-24 Thread Bob Richards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks: This is my first post here. I believe it is the correct list for my questions. If not, please excuse me and direct me to the proper list. I have been using Linux as my WorkStation since V0.98 Kernel, so I know a bit about NIX's I am givin

Re: Coding question: finding the size of a block device

2006-06-24 Thread Frank Mitchell
Let's assume your Block Device is an ATA Hard Disk and you're using FreeBSD 6.0 like me. Take a look at and you'll see a large fully-commented structure, "struct ata_params", which is used to return the information from the ATA "IDENTIFY DEVICE" command using something like: "ioctl(DevFil,IOCATAG

Quotas not working in 6.1+?

2006-06-24 Thread Jaye Mathisen
Quotas don't seem to be working. Or whatever I did in 5.x that worked fine has subtly changed in such a way that I can't see the documentation differences. >From single user mode, mount -o userquota -t ufs /dev/ad0s1e /usr mounts fine >without any messages, but mount doesn't show it having quot