Opened 11 years ago

Closed 11 years ago

#4141 closed bug (fixed)

Incorrect error returned when creating symlinks on a filesystem that does not support them

Reported by: VinDuv Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All


This is hrev31843. When trying to create a symlink on a filesystem that does not support them (i.e. the fs_create_symlink hook is NULL), EROFS is returned. It should probably return B_UNSUPPORTED instead.

/fatfs> ln -s somefile somelink
ln: creating symbolic link `somelink': Read-only file system

Change History (2)

comment:1 by VinDuv, 11 years ago

Component: - GeneralFile Systems

Sorry, forgot to set the component.

comment:2 by axeld, 11 years ago

Component: File SystemsSystem/Kernel
Resolution: fixed
Status: newclosed

Fixed in hrev32004.

Note: See TracTickets for help on using tickets.