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

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 Linux as my

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: 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 sys/ata.h and you'll see a large fully-commented structure, struct ata_params, which is used to return the information from the ATA

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

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 mydev

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 quota

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 sys/ata.h 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:

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