Re: [PATCH 01/15] Introduce noop_llseek()

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

 



On Fri, Nov 20, Jamie Lokier wrote:

> Jan Blunck wrote:
> > The noop_llseek() is a llseek() operation that filesystems can use that
> > don't want to support seeking (leave the file->f_pos untouched) but still
> > want to let the syscall itself to succeed.
> 
> This is weird behaviour: if you want to allow llseek() to succeed but
> don't really support seeking, why does the device even care about the
> value of file->f_pos?

The device itself does not care about it but it is userspace that is expecting
the seek to succeed. There is a comment in osst that at least there seems to
be a borken version of tar that wants to seek on the device even it that does
not have any effect.

Regards,
	Jan

-- 
Jan Blunck <jblunck@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux