English Amiga Board

Go Back   English Amiga Board > Coders > Coders. General

Thread Tools
Old 11 September 2013, 06:06   #1
Registered User

Join Date: Dec 2010
Location: Athens/Greece
Age: 47
Posts: 448
Mounting ADF floppy image under Linux


Probably everyone knows this, but hey I just discovered it and felt like sharing :-)

Say you have test.adf in your current dir in linux.
mkdir foo
sudo mount -t affs -o loop test.adf foo
There adf mounted.
ls, rm, cp everything.

alkis is offline  
Old 11 September 2013, 15:31   #2
Registered User

Apollo's Avatar
Join Date: Sep 2008
Location: Germany
Age: 44
Posts: 125
Oh, cool. I didn't know that there is a FFS filesystem in the linux kernel. This is great news since I try to move away from windows as my cross-dev host.
Apollo is offline  
Old 25 September 2013, 23:21   #3
Registered User
Join Date: May 2006
Location: Paris/France
Age: 47
Posts: 414
reading this, I guessed that I had been using AFFS since like 1995 under Linux. I checked it up:
1 /*
2 * linux/fs/affs/amigaffs.c
3 *
4 * (c) 1996 Hans-Joachim Widmaier - Rewritten
5 *
6 * (C) 1993 Ray Burr - Amiga FFS filesystem.
7 *
8 * Please send bug reports to: hjw@zvw.de
9 */

Guess I remembered correctly

Asle is offline  
Old 26 September 2013, 19:27   #4
Registered User

Join Date: Dec 2010
Location: Athens/Greece
Age: 47
Posts: 448
I am sorry to say but...it's readonly (or I haven't found a way to mount it r/w)

So ls and cp are ok (when cp's from is in adf) but rm (or anything that writes) is out.

Still useful, though
alkis is offline  
Old 27 September 2013, 00:02   #5
Registered User

Join Date: Dec 2010
Location: Athens/Greece
Age: 47
Posts: 448
lol. Ok, got it.

chmod 666 test.adf

and write now works (from root at least)
alkis is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting .hdf files from Linux side? How? Hercules support.OtherUAE 3 15 August 2013 14:26
Mounting adf file on floppy or cf card WeiXing3D support.Apps 6 17 March 2013 22:19
Mounting a disk image with later version of FFS mark_k support.WinUAE 48 27 January 2013 14:43
Mounting CD image in new WINUAE christianlucio support.WinUAE 8 06 May 2010 03:22
Linux mounting hdd AliasXZ New to Emulation or Amiga scene 8 07 February 2008 00:36

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:51.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06242 seconds with 12 queries