Try to fix mount display of a disk

franck.jullien at gmail.com franck.jullien at gmail.com
Wed Nov 9 06:29:19 EST 2011


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(-)

-- 
1.7.7




More information about the barebox mailing list