[PATCH] common: filetype: do not redetect MBR-type devices as a FAT-type
Sascha Hauer
s.hauer at pengutronix.de
Tue Nov 10 23:35:22 PST 2015
On Mon, Nov 09, 2015 at 01:32:51PM +0300, Peter Mamonov wrote:
> 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 at gmail.com>
> Acked-by: Sascha Hauer <s.hauer at pengutronix.de>
Please don't add Acked-by for patches the person has never seen. I
agreed to the approach of removing the check here, but I can only ever
ack a patch that I have seen.
Applied this with my ack removed.
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