[PATCH] mkfs.ubifs: Add support for symlinks in device table

David Engraf david.engraf at sysgo.com
Thu May 18 07:38:05 PDT 2017


Hi Richard,

Am 18.05.2017 um 16:33 schrieb Richard Weinberger:
> David,
> 
> On Thu, May 18, 2017 at 3:38 PM, David Engraf <david.engraf at sysgo.com> wrote:
>> It is not possible to change permissions and ownership for symlinks in the
>> device table file. This patch adds support for symlinks equal to mkfs.jffs2
>> and updates the sample device table file.
> 
> I'm confused, permissions of a symlink are irrelevant.
> What is the usecase?
> 

You're right the permissions are ignored for symlinks but the user and 
group id is used. Without this flag mkfs.ubifs takes uid/gid from the 
local system.

Best regards
- David




More information about the linux-mtd mailing list