Welcome, Guest. Please login or register.

Author Topic: linux affs 4GB limit  (Read 2240 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MarkWatsonTopic starter

  • Jr. Member
  • **
  • Join Date: Jun 2006
  • Posts: 51
    • Show only replies by MarkWatson
    • http://www.scrameta.net
linux affs 4GB limit
« on: December 22, 2011, 08:05:53 PM »
I just backed up my Amiga HDD to Linux using a USB to IDE adaptor. I can mount the first partition on the drive no problems with 'mount -t affs -o loop partition.img somewhere'. However I get told there is a bad superblock if I mount the other partition. I can read it fine using the hard file support in UAE so I think the image itself is fine.

Does the Linux affs support >4GB partitions 'out of the box'? If not has anyone coded a patch they'd care to share?

If not then I guess I'm best off mounting a linux folder in uae and then copying or arching everything there to make it available in linux?

Appreciate any help. Had an '060 in my A1200 and since I sold it I have 100KB memory left after booting! So thought I'd at least keep the data I have on there somewhere else safe for now...

Thanks,

Mark
 

Offline Matt_H

Re: linux affs 4GB limit
« Reply #1 on: December 22, 2011, 08:43:49 PM »
Not entirely sure, but my understanding is that Linux affs hasn't been updated in absolute ages. So it probably is running into some old bugs, possibly >4GB-related.

If you need to pull files from your disk image, another option might be to copy from the hardfile to the directory-based filesystem in UAE. You'll lose your protection bits, though. You could also create some <4GB hardfiles and copy to those via UAE.
 

Offline Thomas

Re: linux affs 4GB limit
« Reply #2 on: December 23, 2011, 09:12:18 AM »
Quote from: Matt_H;672427
You'll lose your protection bits, though.


You'll lose them anyway if you mount the file system in Linux.

Offline MarkWatsonTopic starter

  • Jr. Member
  • **
  • Join Date: Jun 2006
  • Posts: 51
    • Show only replies by MarkWatson
    • http://www.scrameta.net
Re: linux affs 4GB limit
« Reply #3 on: December 24, 2011, 09:14:10 AM »
Thanks. Good to know its an affs issue and I'm not just being a muppet/have a subtly corrupt image. I guess I'll either try the copy to smaller hard files or lha them to a directory based filesystem - to keep the protection bits:-)

Wonder how much needs changing to support >4GB partitions in the Linux driver. Are you aware of any docs on the fast file system that describe the filesystem changes?