mainGNU cpio - Support: sr #110405, Improvement suggestion of man page

 
 

sr #110405: Improvement suggestion of man page

Submitter:  None
Submitted:  Sun 20 Dec 2020 12:16:05 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 20 Dec 2020 12:16:05 PM UTC, original submission:  

Hi,
I read man mt to operate tape drive. And I felt difference between description and behavior.
I suggest improvement of man page description.


1. bsf

>       fsf    Forward space count files.  The tape is positioned on the first
>              block of the next file.
>       bsf    Backward space count files.  The tape is positioned on the first
>              block of the next file.


In this description, both fsf and bsf seem to move to the first block of the next file.

But bsf backs EOF and stop at between last block of previous file and EOF.

I suggest that following description is better:

>       bsf    Backward space count files.  The tape is positioned on the last
>              block of the previous file.


2. bsfm

>       fsfm   Forward space count file marks.  The tape is positioned  on  the
>              beginning-of-the-tape side of the file mark.
>       bsfm   Backward  space count file marks.  The tape is positioned on the
>              beginning-of-the-tape side of the file mark.


In this description, both fsfm and bsfm seem to move to the beginning-of-the-tape side of the file mark.

But bsfm backs EOF and reposition to the end-of-the-tape side of the file mark.

Also man st says:

> MTBSFM       Backward space over mt_count filemarks.  Reposition the tape to the
>              EOT side of the last filemark.



I suggest that following description is better:

>       bsfm   Backward  space count file marks.  The tape is positioned on the
>              end-of-the-tape-side of the file mark.



Tape structure and stop positions as I understand:
~--+-----+-----+-----+-----+-----+-----+-----+-~
  file 1 data blocks | EOF | file 2 data blocks
~--+-----+-----+-----+-----+-----+-----+-----+-~

fsf
 ------------------------->^ stops here
  the first block of next file (file 2)

bsf
          stops here ^<-------------------------
  the last block of previous file (file 1)

fsfm
     ----------------------> comes here
                     ^<----  and turns back, stops here
  the beginning-of-the-tape side of the file mark

bsfm
         comes here  <--------------------------
                     ----->^ and turns back, stops here
  the end-of-the-tape-side of the file mark


Regards,

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code