You are not logged in.

#1 2015-01-15 19:48:50

Da$aD
Member
Registered: 2014-10-01
Posts: 4

UFS RW not working

Hi all!

In attempt to enable UFS RW mounting I've built 3.18.0 kernel with CONFIG_UFS_FS_WRITE=y option in config (as it told in many guides). When I tried to mount UFS partition with "rw" option, it mounted silently (without any warnings about read-only mode, as it was with the arch's stock kernel). However, when I try to write to this partition, I still receive errors like "The partition is mounted read-only". Did I miss something? Do I need to set any other options in kernel's config?

P.S. It is my first kernel build, so I've used arch's stock kernel config as the basis, and CONFIG_UFS_FS_WRITE is the only change I've made in it.

Offline

#2 2015-01-15 20:09:28

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,541

Re: UFS RW not working

You may have to explicitly pass -o rw to mount and have you set -t ufs -o ufstype=???.

Last edited by nomorewindows (2015-01-15 20:10:24)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2015-01-15 20:15:22

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: UFS RW not working

Did you try this?

But there's a reason UFS write support is not available by default:

Wikipedia wrote:

Linux includes a UFS implementation for binary compatibility at the read level with other Unixes, but since there is no standard implementation for the vendor extensions to UFS ...

(emphasis mine)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2015-01-15 21:08:50

Da$aD
Member
Registered: 2014-10-01
Posts: 4

Re: UFS RW not working

nomorewindows, yes, i specify -t ufs and -o rw,ufstype=ufs2.

alphaniner, thanks, I tried it, and now any operation with mounted UFS partition hangs on - even ls and umount (and even forced umount).

Offline

Board footer

Powered by FluxBB