bugThe GNU Hurd - Bugs: bug #48437, diskfs_S_file_set_translator...

 
 

bug #48437: diskfs_S_file_set_translator shortcutting "/hurd/fifo" to S_IFIFO discards options

Submitted by:  Kalle Olavi Niemitalo <kon>
Submitted on:  Thu 07 Jul 2016 12:31:28 PM UTC  
 
Category:  Hurd Servers Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Reproducibility:  Every Time
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 25 Nov 2017 01:25:01 AM UTC, comment #1:

I just repeated the commands, and this is indeed still a bug.

Joshua Branson <joshuabranson>
Thu 07 Jul 2016 12:31:28 PM UTC, original submission:

Using hurd 1:0.8.git20160522-4 from Debian:

The output from showtrans should have been "/hurd/fifo --multiple-readers".
This happens on ext2fs and tmpfs.

ext2fs uses libdiskfs/file-set-trans.c, which recognizes "/hurd/fifo" and converts it to S_IFIFO, but ignores the arguments. In contrast, if it converts "/hurd/symlink" to S_IFLNK, it saves the first argument of the translator as the target of the symlink (and ignores any remaining arguments). I think it should check that it understood everything that was in the arguments, and if not, save the arguments unchanged as if it hadn't recognized the translator.

Kalle Olavi Niemitalo <kon>

 

(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 joshuabranson (Posted a comment)
  • -email is unavailable- added by kon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3