DragonFly BSD
DragonFly commits List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_fp.c kern_subr.c vfs_default.c vfs_lock.c vfs_subr.c vfs_syscalls.c vfs_vnops.c src/sys/sys vnode.h src/sys/emulation/linux/i386/linprocfs linprocfs_vnops.c src/sys/vfs/coda coda_vnops.c src/sys/vfs/deadfs dead_vnops.c ...

From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 2 Apr 2006 02:45:32 +0200

On 01.04.2006, at 22:46, Matthew Dillon wrote:
Change the VOP_OPEN/fp specs. VOP_OPEN (aka vop_stdopen) is now responsible
for filling in the file pointer information, rather than the caller of
VOP_OPEN. Additionally, when supplied a file pointer, VOP_OPEN is now
allowed to populate the file pointer with a different vnode then the one
passed to it, which will be used later on to allow filesystems which
synthesize different vnodes on open, for example so we can create a generic
tty/pty pairing devices rather than scanning for an unused pty, and so we
can create swap-backed generic anonymous file descriptors rather than having
to use /tmp. And for other purposes as well.

will this enable us to do device cloning in the long run? i.e. returning a different vnode on open than the /dev/* vnode? (the issue we talked about some months ago)


ps: really motivating to see you working so much. i wish i had a place to put my box and start hacking again.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part

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