Hi,

I try to mount an UFS partition with write support.

So, I added the option to my kernel:
airmure linux # grep -i UFS /usr/src/linux/.config 
# CONFIG_SCSI_UFSHCD is not set
CONFIG_UFS_FS=m
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set

I’ve emerged sys-fs/ufsutils and I mounted my partition like that:
airmure ~ # mount -t ufs -o ufstype=ufs2,rw /dev/sdg2 /mnt/drscott

But the partition is mounted read-only:
airmure ~ # mount | grep drscott
/dev/sdg2 on /mnt/drscott type ufs (ro,relatime,ufstype=ufs2,onerror=lock)

I don’t see anything relevant in dmesg:
[  101.033937] sd 21:0:0:1: [sdg] 15613920 512-byte logical blocks:
(7.99 GB/7.44 GiB)
[  101.161964]  sdg: sdg1 sdg2 sdg3
[  127.774875] ufs: ufs_fill_super(): fs is active

Did I do anything wrong?

-- 
alarig

Attachment: signature.asc
Description: PGP signature

Reply via email to