sparse file craetion in kernel greater than 2GB

From: Shriram Agarwal (sagarwal@commvault.com)
Date: Tue Mar 04 2003 - 09:07:24 EST


> Hi,
> Solaris OS: 8 wilth recommended patch cluster
> Machine:Ultra10
> I am trying to write a sparse file greater than 2 GB in kernel, through
> VOP_WRITE, and VOP_WRITE fails with EFBIG.
>
> I am compiling with following
>
> -xtarget=ultra -xarch=v9 -xildoff -xM1 -D_KERNEL -DSOLARIS -DSYSACCT
> -DC2_AUDIT -DQUOTA -D_SYSCALL32 -D_SYSCALL32_IMPL -DDEBUG
> -D_FILE_OFFSET_BITS=64
>
>
> I am setting filesystem flags to UFS_LARGEFILES, b4 issuing VOP_WRITE.
>
> any help would be appreciated.
>
>
>
> Regards
> Shriram
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:55 EDT