Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2020 21:28:48 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Nikita Stepanov <nikitastepanov113@yandex.kz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to mount mdf mds in freebsd?
Message-ID:  <20200511212848.5c3b71be.freebsd@edvax.de>
In-Reply-To: <13534031589224067@vla4-d1c3bcedfacb.qloud-c.yandex.net>
References:  <13534031589224067@vla4-d1c3bcedfacb.qloud-c.yandex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 May 2020 01:07:47 +0600, Nikita Stepanov wrote:
> [nothing, again]

The easiest way probably is to use the program mdf2iso to convert
the image to a standard ISO-9660 filesystem, and then mount that
filesystem, using a virtual node.

	# pkg install mdf2iso
	# mdf2iso example.mdf example.iso
	# mdconfig -a -u 100 -t vnode -f example.iso
	# mount -o ro -t cd9660 /dev/md0 /mnt
		... use /mnt ...
	# umount /mnt
	# mdconfig -d -u 100

Replace "example" with the correct filename; you can omit the
mdconfig parameter -u 100 and just use what mdconfig tells you.




PS.

Please be so kind and state your question in the message body.
Many recipients won't see your empty message because it's being
filtered. Thank you!


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200511212848.5c3b71be.freebsd>