[Top][All Lists]

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

[bug #44892] grub-mkconfig -o /dev/null delete /dev/null device !

From: Jean-François Maeyhieux
Subject: [bug #44892] grub-mkconfig -o /dev/null delete /dev/null device !
Date: Tue, 21 Apr 2015 08:58:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0


                 Summary: grub-mkconfig -o /dev/null  delete  /dev/null device
                 Project: GNU GRUB
            Submitted by: zentoo
            Submitted on: Tue 21 Apr 2015 08:58:40 AM GMT
                Category: Filesystem
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.02~beta1
         Reproducibility: Every Time
         Planned Release: None



To simulate a grub configuration file creation, I do:
grub-mkconfig -o /dev/null because grub-mkconfig write information messages
AND configuration on standard output so it's only possible to catch
informations without created configuration by creating a real file. By using
/dev/null as configuration output, grub-mkconfig delete the device !

Note: if -o argurment is a directory, grub-mkconfig write the file in the
directory and don't print an error too.

=> grub-mkconfig need to check if the output path is a real file in order to
do not supress special files as character/block devices.

=> grub-mkconfig need to use stderr as output for informationnal messages


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]