[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 |
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 #44892] grub-mkconfig -o /dev/null delete /dev/null device !,
Jean-François Maeyhieux <=