URL:
<http://savannah.gnu.org/bugs/?44892>
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:
Release: 2.02~beta1
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
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:
<http://savannah.gnu.org/bugs/?44892>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub