Today I wanted to cut down on the bandwith and decided to copy over a needed distfile from the ReiserFS partition to FreeBSD.
Bellow you'll find the procedure to mount a ReiserFS in read-only mode. Do notice than the entire procedure is performed only on the FreeBSD system:
- % man reiserfs
- % su
- # kldload reiserfs.ko
- # mount -t reiserfs -o ro /dev/ad4s5 /mnt
The -t switch lets you specify the filesystem and with -o decide in which mode should the filesystem be mounted (in this case in read-only mode).
My target partition was /dev/ad4s5 so change accordingly to your system. In my case I just viewed Gentoo's /etc/fstab and ran ls /dev/ad* to check if it added up ok.
Pretty simple eh?