[PATCH] Fix listing of directory contents for root device

2013-06-02 Thread Francesco Lavra
Since revision 5010, issuing the ls command with a path not including the device name results in a NULL pointer dereference. This patch fixes the above by reverting one of the three hunks of the patch applied to create revision 5010. Regards, Francesco 2013-06-02 Francesco Lavra *

Re: [PATCH 2/2] ls core command: handle listing of the root directory

2013-06-02 Thread Francesco Lavra
On 05/18/2013 12:26 PM, Francesco Lavra wrote: > On 05/12/2013 12:56 PM, Francesco Lavra wrote: >> Currently, listing of the root directory of a device with the command: >> ls (device_name) >> requires the underlying filesystem driver to handle an empty path >> string as if it was the root directo

[RFC] Dedicated LVM volume as alternative to embedding

2013-06-02 Thread Piotras
Hi, Attached patch allows for using alternative disk area when usual embedding is not possible. It helps for case where LVM is used on boot disk and user can create new volume for exclusive use by GRUB. I currently require for the volume to use contiguous sectors on single disk (boot disk). Name

Re: [RFC] Dedicated LVM volume as alternative to embedding

2013-06-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
This solution wouldn't play well with LVM layers. A better solution is being jointly developped with lvm guys. On 03.06.2013 02:58, Piotras wrote: > Hi, > > Attached patch allows for using alternative disk area when usual embedding > is not possible. It helps for case where LVM is used on boot dis

grubenv vs. diskfilter

2013-06-02 Thread Andrey Borzenkov
While grub itself can be installed on diskfilter devices (LVM, Linux MD, ...), diskfilter devices are read-only. As grubenv is automatically assumed to be in /boot/grub, this makes it impossible to set variables from within grub. So grub cannot reset boot once indicator, cannot save currently selec

Re: [RFC] Dedicated LVM volume as alternative to embedding

2013-06-02 Thread Andrey Borzenkov
В Mon, 03 Jun 2013 03:26:23 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > This solution wouldn't play well with LVM layers. A better solution is > being jointly developped with lvm guys. Do you have pointers to this discussion? signature.asc Description: PGP signature __

Re: [PATCH 2/2] ls core command: handle listing of the root directory

2013-06-02 Thread Andrey Borzenkov
В Sun, 02 Jun 2013 16:48:23 +0200 Francesco Lavra пишет: > On 05/18/2013 12:26 PM, Francesco Lavra wrote: > > On 05/12/2013 12:56 PM, Francesco Lavra wrote: > >> Currently, listing of the root directory of a device with the command: > >> ls (device_name) > >> requires the underlying filesystem dr