Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 00:51:31 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "gs_stoller@juno.com" <gs_stoller@juno.com>
Cc:        keramida@ceid.upatras.gr, freebsd-questions@freebsd.org
Subject:   Re: (no subject)
Message-ID:  <20060213065131.GI2090@dan.emsphone.com>
In-Reply-To: <20060212.223121.2703.256080@webmail13.nyc.untd.com>
References:  <20060212.223121.2703.256080@webmail13.nyc.untd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 13), gs_stoller@juno.com said:
> > I don't really understand what it is you're looking for, but the source
> > code for *all* the FreeBSD `programs' is available at:
> 
> >     http://cvsweb.freebsd.org/
> 
> > It's also available through FTP, CVS, CVSup and is distributed as part
> > of the official release CD-ROMs.
> 
> > You can look for yourself, any time :)
> 
> Is there a  find  command [that takes patterns] so if I know the name
> (or part of the name) of a program of interest, I can find out the
> directory path to it so I can find it easily.  Also, where do I look
> for the basic sector i/o programs (the ones that underly the
> file-system, they are eventually called just before the hardware does
> the i/o] and what are their names?

In usderland, they're called open, lseek, read, and write.  Just open
the raw disk device and treat it like a regular file, and remember you
need to access it in 512-byte chunks.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060213065131.GI2090>