From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <03c3b7ce9858735561e960331f367585@quanstro.net> References: <200907220031.03865.corey@bitworthy.net> <03c3b7ce9858735561e960331f367585@quanstro.net> Date: Wed, 22 Jul 2009 08:04:12 -0700 Message-ID: <3e1162e60907220804u56c408ecw5aecc5d1ae40c5f5@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd4855e1225af046f4caffd Subject: Re: [9fans] a few misc. questions... Topicbox-Message-UUID: 2a69c870-ead5-11e9-9d60-3106f5b1d025 --000e0cd4855e1225af046f4caffd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jul 22, 2009 at 6:13 AM, erik quanstrom wrote: > > ... but which would be considered the most logical place to deal with > > things such as setting hd parameters for the machine on bootup like > > the 'echo dma on > /dev/sdC0/ctl' example above? > > also see dmaon(8). just as an obvious note, this only > affects interfaces using ide or ide emulation. you can > tell which driver you're using by catting /dev/sdctl. for > example, the first drive is ide. unfortunately, the driver > calls itself "ata". > > ladd# cat /dev/sdctl > sdC ata port 1F0 ctl 3F4 irq 14 > sdE ahci sb600 port 0xe0022800: 64a alp clo coal led mps ncq ntf pm pslum > slum iss 2 ncs 31 np 4 ghc 80000002 isr 0 pi f 0-3 ver 10100 > > > > Kfs is the older disk file system for standalone terminals and the > like. > > > For most purposes, fossil replaces it. Fossil is user-mode, while kfs > > > is a "kernel file system." See in kfs(4). > > > > > > > Ok, so I may simply generally disregard any mention of kfs in any docs or > > scripts and config files I might happen upon? Since fossil has > effectively > > deprecated kfs? > > both (as noted) are user-level fses. and while kfs is older and > simpler, it is very robust. there may be more kfs in operation > than any other plan 9 fs. fossil does snapshots, talks to venti > and other things, but being more complicated, there are more > ways for it to go sideways. > > so like anything else you don't use, feel free to ignore. but > that doesn't mean kfs is "deprecated". i think it's just a different > tool for a different task. > Yeah, I'm pretty sure that, in an emulated environment, I'd pick kfs over Venti, most of the time, unless your goal is to learn about Venti and Fossil :-). You can do Fossil without Venti too, but it's not as fun :-) Dave > > - erik > > --000e0cd4855e1225af046f4caffd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Jul 22, 2009 at 6:13 AM, erik qu= anstrom <quan= stro@quanstro.net> wrote:
> ... but which would be considered the most logical p= lace to deal with
> things such as setting hd parameters for the machine on bootup like > the 'echo dma on > /dev/sdC0/ctl' example above?

also see dmaon(8). =A0just as an obvious note, this only
affects interfaces using ide or ide emulation. =A0you can
tell which driver you're using by catting /dev/sdctl. =A0for
example, the first drive is ide. =A0unfortunately, the driver
calls itself "ata".

ladd# cat /dev/sdctl
sdC ata port 1F0 ctl 3F4 irq 14
sdE ahci sb600 port 0xe0022800: 64a alp clo coal led mps ncq ntf pm pslum s= lum iss 2 ncs 31 np 4 ghc 80000002 isr 0 pi f 0-3 ver 10100

> > Kfs is the older disk file system for standalone terminals and th= e like.
> > For most purposes, fossil replaces it. Fossil is user-mode, while= kfs
> > is a "kernel file system." See in kfs(4).
> >
>
> Ok, so I may simply generally disregard any mention of kfs in any docs= or
> scripts and config files I might happen upon? Since fossil has effecti= vely
> deprecated kfs?

both (as noted) are user-level fses. =A0and while kfs is older and simpler, it is very robust. =A0there may be more kfs in operation
than any other plan 9 fs. =A0fossil does snapshots, talks to venti
and other things, but being more complicated, there are more
ways for it to go sideways.

so like anything else you don't use, feel free to ignore. =A0but
that doesn't mean kfs is "deprecated". =A0i think it's ju= st a different
tool for a different task.

Yeah, I'= ;m pretty sure that, in an emulated environment, I'd pick kfs over Vent= i, most of the time, unless your goal is to learn about Venti and Fossil :-= ).

You can do Fossil without Venti too, but it's not a= s fun :-)

Dave
=A0

- erik


--000e0cd4855e1225af046f4caffd--