Results: kstra...@opensolaris:~/cerveloc/downloads$ pfexec ~/tst/sampleTst.ksh $(pwd) + cd /export/home/kstrauss/cerveloc/downloads + [ -d testrw ] + mkdir testrw + rm testrw/big4 rm: cannot remove `testrw/big4': No such file or directory + /usr/bin/dd if=/kernel/genunix of=testrw/big4 conv=notrunc bs=1024k oseek=4095 2+1 records in 2+1 records out + ls -l testrw/big4 -rwxr-xr-x 1 root root 4294967296 2008-12-11 15:21 testrw/big4 + /usr/bin/dd of=/tmp/testrw4 if=testrw/big4 bs=1024k iseek=4095 dd: unexpected short write, wrote 1048575 bytes, expected 1048576 2048+0 records in 2048+0 records out + cmp /kernel/genunix /tmp/testrw4 cmp: EOF on /kernel/genunix + rm /tmp/testrw4 + rm -rf testrw + exit 0
> -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Thursday, December 11, 2008 2:42 PM > To: Karl > Cc: [email protected] > Subject: Re: [cifs-discuss] CIFS stumblings > > > > Problem 2. > > > > Trouble working with files greater than 4gb. For example if I mount a > > share from an XP machine and do the following: > > > > Cat largefile > /dev/null > > > > > > > > This task runs forever. Looking through filemon on the XP machine the > > file offset being requested by the solaris box flips back over to 0. > > I've tried to reproduce this using "dd" (because I didn't want to > wait for "cat largefile" to finish). I've attached a test script > below. Could you try it on your setup and send the results? > > When I run this test, 64-bit offsets look OK, but I suspect there > may be a problem detecting end-of-file on read, at least sometimes. > > Thanks, > Gordon _______________________________________________ cifs-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
