tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Rumpification (was Re: CVS commit: src/usr.sbin/envstat)



On Tue, Dec 14, 2010 at 08:24:22PM +0000, David Holland wrote:
> 
> IMO, all these changes ought to be reverted, including the earlier one
> to dd ...

Since file copy programs are easy to write, why not write one that
will copy to/from a rumpo device.

Alternatively, for open, feed into a rump libc stub that looks at the
start of the pathname (and maybe an env variable) to work out
whether to open a local or global file.
For most uses this will be fine.
You might need to open a real file to allocate an fd ...

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index