I'm curretly using linux-4.4.1 and patching the yaffs code to it. Now I'm facing to the problem when I mount the filesystem to the device. If user try to mount /dev/ram0 to /mnt as yaffs filesystem by mistake, it must be rejected because /dev/ram0 is not mtd device. However, it is allowed when i use the current yaffs multi version. I found out the yaffs single version includes matching the major number of super block device code in yaffs_internal_read_super as below (yaffs_vfs_single.c) while as the yaffs multi version doesn't.(yaffs_vfs_multi.c) if (MAJOR(sb->s_dev) != MTD_BLOCK_MAJOR) return NULL; /* This isn't an mtd device */ Why is it excluded in multi version? [http://hanwha.eagleoffice.co.kr/neo/img/neo/theme/mail/sign/image/hanwha_value_en.jpg] ________________________________ [¿µ¹® ¼¼·ÎÇü CI Àû¿ë ¿¹½Ã] Byeongyeop, Ha Research Engineer SoC Development Group Core Component technology R&D Team Security Solution Business Unit. HANWHA TECHWIN CO.,LTD Office : 070-7147-8356 Mobile : 010-5593-1512 Email : byungyub.ha@hanwha.com ________________________________