A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1817 
====================================================================== 
Reported By:                kre
Assigned To:                
====================================================================== 
Project:                    1003.1(2016/18)/Issue7+TC2
Issue ID:                   1817
Category:                   System Interfaces
Type:                       Omission
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Robert Elz 
Organization:                
User Reference:              
Section:                    XSH 13  lseek 
Page Number:                1292-3 
Line Number:                43059, 43061-2 43070-2 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-02-25 05:34 UTC
Last Modified:              2024-05-02 16:00 UTC
====================================================================== 
Summary:                    lseek(2) - "size of a file" undefined
====================================================================== 

---------------------------------------------------------------------- 
 (0006775) eblake (manager) - 2024-05-02 16:00
 https://austingroupbugs.net/view.php?id=1817#c6775 
---------------------------------------------------------------------- 
https://github.com/util-linux/util-linux/blob/master/lib/blkdev.c#L92 is an
example of an #ifdef chain for several ioctl attempts that tries to get
block dev size across several systems, given the fact that neither st_size
nor lseek(SEEK_END) are universally reliable for the purpose. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-02-25 05:34 kre            New Issue                                    
2024-02-25 05:34 kre            Name                      => Robert Elz      
2024-02-25 05:34 kre            Section                   => XSH 13  lseek   
2024-02-25 05:34 kre            Page Number               => 1292-3          
2024-02-25 05:34 kre            Line Number               => 43059, 43061-2
43070-2
2024-04-11 11:12 geoffclare     Note Added: 0006745                          
2024-04-11 12:53 kre            Note Added: 0006746                          
2024-05-02 16:00 eblake         Note Added: 0006775                          
======================================================================


  • [1003.1(20... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to