Try to fix mount display of a disk

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 11 06:15:19 EST 2011


On Wed, Nov 09, 2011 at 12:29:19PM +0100, franck.jullien at gmail.com wrote:
> From: Franck Jullien <franck.jullien at gmail.com>
> 
> This is the second try for fixing the display of the mount command.
> I'm doing some test with a sd card over spi (path to come).
> This is what I get:
> 
> barebox at generic:/ devinfo
> devices:
> `---- altera_serial0
>      `---- cs0
> `---- ramfs0
> `---- devfs0
> `---- mem0
>      `---- 0x00000000-0x00001c8c: /dev/defaultenv
> `---- mem1
>      `---- 0x00000000-0xfffffffe: /dev/mem
> `---- mem2
>      `---- 0x00000000-0x007fffff: /dev/ram0
> `---- altera_spi0
>      `---- m25p0
> `---- altera_spi1
>      `---- spi_mci0
> `---- mci0
>      `---- disk0
>           `---- 0x00000000-0x00e37fff: /dev/disk0
>           `---- 0x00007200-0x00e37fff: /dev/disk0.0
>           `---- fat0
> 
> barebox at generic:/ mount
> none on / type ramfs
> none on /dev type devfs
> disk0 on /mnt type fat
> 
> Seems good to me....
> 
> Franck Jullien (2):
>   ata: Add dev ref to blockdevice during probe
>   [RFC v2] mount: Fix the printing of device name
> 
>  commands/mount.c         |    2 +-
>  drivers/ata/disk_drive.c |    1 +
>  fs/fs.c                  |    7 +++++++
>  3 files changed, 9 insertions(+), 1 deletions(-)

Looks good, applied.

Thanks
 Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list