<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	     xmlns:dc="http://purl.org/dc/elements/1.1/"
	   xmlns:atom="http://www.w3.org/2005/Atom"
	     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>DICOM &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/dicom/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Tue, 24 Sep 2024 07:36:26 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>DICOM &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Opening Compact File Set (CFS)  files in Linux]]></title>
		<link>https://shkspr.mobi/blog/2024/10/opening-compact-file-set-cfs-files-in-linux/</link>
					<comments>https://shkspr.mobi/blog/2024/10/opening-compact-file-set-cfs-files-in-linux/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Thu, 24 Oct 2024 11:34:13 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[DICOM]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=52251</guid>

					<description><![CDATA[I was sent some medical images in a password-protected CFS file. Here&#039;s how to open them in Linux.  You can&#039;t.  OK, that&#039;s a bit of an exaggeration.  It&#039;s complex, but here&#039;s how to do it.  The Linux software for the Compact File Set hasn&#039;t been updated in years and only works with ancient versions of Linux.  Here&#039;s how to temporarily install an old version, install the software, and then…]]></description>
										<content:encoded><![CDATA[<p>I was sent some medical images in a password-protected CFS file. Here's how to open them in Linux.</p>

<p>You can't.</p>

<p>OK, that's a bit of an exaggeration.  It's complex, but here's how to do it.</p>

<p>The <a href="https://pismotec.com/cfs/">Linux software for the Compact File Set</a> hasn't been updated in years and only works with <em>ancient</em> versions of Linux.  Here's how to temporarily install an old version, install the software, and then liberate your files.</p>

<ol start="0">
<li>Install VirtualBox or your favourite Virtual Machine.</li>
<li>Install <a href="https://www.releases.ubuntu.com/bionic/">Ubuntu 18.04.6 LTS (Bionic Beaver)</a></li>
<li>Once you're in Ubuntu, run <code>sudo apt install make gcc</code></li>
<li>Download the <a href="https://pismotec.com/download/">Pismo File System Redirector build 23X</a> for Linux.</li>
<li>Run <code>chmod +x fsr-23X-lin.run</code></li>
<li>Extract it with <code>runstub_folder=. ./fsr-23X-lin.run</code></li>
<li>Go into the folder it created <code>cd fsr-23X-lin/</code></li>
<li>Install with <code>sudo ./fsrcmd install</code></li>
<li>Go back to the location where you downloaded the files <code>cd ..</code></li>
<li>Downloand the <a href="https://pismotec.com/download/pfm-23X-lin.run">Pismo File Mount build 23X</a></li>
<li>Run <code>chmod +x pfm-23X-lin.run</code></li>
<li>Run <code>sudo ./pfm-23X-lin.run install</code></li>
<li>Mount the file with <code>pfm mount YourFile.cfs</code></li>
<li>Type the file's password (not your login password)</li>
<li>Open your file explorer, you should see the folder mounted with the files ready to copy off.</li>
</ol>

<p>If that doesn't work, there is an alternative.</p>

<ol>
<li>Download an install <a href="https://pismotec.com/download/pfm-23X-lin.run">Pismo File Mount build 23X</a> as above.</li>
<li>That installs a helper app called <code>ptcfs</code></li>
<li>Run <code>ptcfs extract YourFile.cfs</code> and all the contents should be unpacked.</li>
</ol>

<p>Thanks to the NHS for supplying my medical files free of charge. But why did they have to use this weird and non-standard file format? Luckily the medical images are in DICOM format, so I can 3D print my brains.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=52251&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2024/10/opening-compact-file-set-cfs-files-in-linux/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
