Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: fdisk vs disklabel vs rockbox

Re: fdisk vs disklabel vs rockbox

From: victor rajewski <askvictor_at_gmail.com>
Date: Tue, 29 Nov 2005 11:50:23 +1100

I've used GNU Parted quite successfully a number of times; seems to do
everything at once quite happily.

On 11/23/05, George Michaelson <ggm_at_apnic.net> wrote:
>
> so I decided having two partitions, one for UNIX and one for rockbox on
> the 60gb was silly, and used the NetBSD disklabel tool to re-size my
> MS-DOS FAT32 partition.
>
> this worked fine, as did newfs_msdos, and the subsequent copy of the
> files back from the archive. Hmm.. 6Gb of headroom! yummy.
>
> but then I found I was getting random 'no such directory' and 'cannot
> open file' when in UNIX.
>
> rockbox didn't care. played all this shiny new music fine.
>
> Turns out, I forgot to modify the sector 0 'fdisk' block to resize the
> partition, and this was being honoured by the UNIX OS when they did
> fopen() readdir() seek() etc on the mounted filespace!
>
> but rockbox just seems to follow the FAT chains. it doesn't care! so
> having got the data on there once, I was able to see it when in rockbox.
>
> WinXP also didn't like it much, but would happily chkdsk it (or
> whatever is the XP equivalent) back to its old 47Gb size.
>
> moral of the story: ALWAYS make sure you resize *all* records of
> logical disk structure, not just the ones you *think* apply..
>
> (only minor information loss from thinking I had bad HDD blocks and
> wiping out some files before I realized what I'd done..)
>
> -G
>
Received on 2005-11-29

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy