Gentoo Archives: gentoo-user

From: Alarig Le Lay <alarig@××××××××××.fr>
To: gentoo-user@l.g.o
Subject: [gentoo-user] UFS write support
Date: Sun, 18 Dec 2016 17:43:43
Message-Id: 20161218174325.q7efaxs4jr727wgu@kaiminus
1 Hi,
2
3 I try to mount an UFS partition with write support.
4
5 So, I added the option to my kernel:
6 airmure linux # grep -i UFS /usr/src/linux/.config
7 # CONFIG_SCSI_UFSHCD is not set
8 CONFIG_UFS_FS=m
9 CONFIG_UFS_FS_WRITE=y
10 # CONFIG_UFS_DEBUG is not set
11
12 I’ve emerged sys-fs/ufsutils and I mounted my partition like that:
13 airmure ~ # mount -t ufs -o ufstype=ufs2,rw /dev/sdg2 /mnt/drscott
14
15 But the partition is mounted read-only:
16 airmure ~ # mount | grep drscott
17 /dev/sdg2 on /mnt/drscott type ufs (ro,relatime,ufstype=ufs2,onerror=lock)
18
19 I don’t see anything relevant in dmesg:
20 [ 101.033937] sd 21:0:0:1: [sdg] 15613920 512-byte logical blocks:
21 (7.99 GB/7.44 GiB)
22 [ 101.161964] sdg: sdg1 sdg2 sdg3
23 [ 127.774875] ufs: ufs_fill_super(): fs is active
24
25 Did I do anything wrong?
26
27 --
28 alarig

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] UFS write support Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] UFS write support Mick <michaelkintzios@×××××.com>