Re: testing a loopback device without filesystem causes a crash

2009-09-14 Thread Robert Millan
On Mon, Sep 14, 2009 at 09:45:42AM +0100, Colin Watson wrote: > On Sun, Sep 13, 2009 at 07:58:56PM +0100, ago wrote: > > On fezie's request I am reporting a possible bug that I experienced > > when running the following: > > > > loopback loop0 /path/to/myfile > > if [ -e (loop0)/some/file ]; then

Re: testing a loopback device without filesystem causes a crash

2009-09-14 Thread Colin Watson
On Sun, Sep 13, 2009 at 07:58:56PM +0100, ago wrote: > On fezie's request I am reporting a possible bug that I experienced > when running the following: > > loopback loop0 /path/to/myfile > if [ -e (loop0)/some/file ]; then > echo ok > fi > > If /path/to/myfile does not contain a filesystem, gru

testing a loopback device without filesystem causes a crash

2009-09-13 Thread ago
Dear all, On fezie's request I am reporting a possible bug that I experienced when running the following: loopback loop0 /path/to/myfile if [ -e (loop0)/some/file ]; then echo ok fi If /path/to/myfile does not contain a filesystem, grub2 crashes (there is a sudden restart) when I run the test.