diff options
author | Peter Mamonov <pmamonov@gmail.com> | 2015-11-09 13:32:51 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-11-23 08:24:56 +0100 |
commit | bc87f4399c6a290d820f2dd00ef772f0f3ef8767 (patch) | |
tree | 8da2d5cba26026e1edcf1fad2eb926659641a9a8 /commands/devinfo.c | |
parent | 99c9da2817ba1bcc3d33782e68ec6ceeeb2c4545 (diff) | |
download | barebox-bc87f4399c6a290d820f2dd00ef772f0f3ef8767.tar.gz barebox-bc87f4399c6a290d820f2dd00ef772f0f3ef8767.tar.xz |
common: filetype: do not redetect MBR-type devices as a FAT-type
Deleted pieces of code detect MBR-containig device as a FAT-type device,
if it's first partition contains a FAT filesystem. This behaviour enabled one
to mount the FAT FS which is either directly on the device (disk0) or on
the first partition (disk0.0) using the same command:
mount /dev/disk0 /fat
However, the desired behaviour can be reached with a:
mount /dev/disk0 /fat || mount /dev/disk0.0 /fat || echo "Mounting failed"
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/devinfo.c')
0 files changed, 0 insertions, 0 deletions