2 msgcnclose() doesn't actually call TTY's close rou...
1 msgHEADS UP! : sf(4)
1 msgOnly 64 MB memory recognized - HP xw4550
1 msg'Bad address' with smbfs inside a jail
3 msgsysutils/hal causes ath device timeout
16 msgpage fault panic in scioctl and console-kit-daemon
2 msgpatch for review: ATI SB600 SATA AHCI
8 msgTaking screenshots during install
9 msg[RFC] SysV SHM on 64-bit platforms
2 msgProcesses stuck in vmo_de state
3 msgStill having ServerWorks HT1000 drive problems
2 msgmake delete-old whine: Malformed conditional ($...
3 msgSIGABRT on `cvs login`
3 msgStrange /dev/tty behaviour on 7.0-PRELEASE
4 msgBSD cflow available

Reading and Writing to Block from di_spare
\ Adam (17 Jan 2008)
. \ David Schultz (17 Jan 2008)
. . \ Adam (17 Jan 2008)
. . . \ David Schultz (17 Jan 2008)

1 msgxorg core dumped with multi-display setting
5 msg7.0 RC1 amd64 -- no boot with 3ware 9650-2 port
1 msgunkillable multithreaded stopped process
6 msgQuestion on security..
Subject:Re: Reading and Writing to Block from di_spare
Group:Freebsd-current
From:David Schultz
Date:17 Jan 2008


 
On Thu, Jan 17, 2008, Adam wrote:
> David,
> I understand that there is no routine to read and write specifically
> to an address contained in the di_spare. I also understand that
> di_spare is currently unused and has no specific manipulators.
>
> Allow me to clarify. I am looking for a way to take a ufs2_daddr_t
> (which is neither a direct nor indirect block of a di_node) and read/
> write to that address.

To do it cleanly you'd probably need to hack ufs_bmap and
ffs_balloc to map your 'extra' block to a particular LBN (or at
least that's the only way I know how to do it easily.) But as I
said before, if you just need to store a small amount of
information, extended attributes are most likely a much simpler
alternative.
_______________________________________________
freebsd-current mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe"


© 2004-2008 readlist.com