Rockbox mail archive
Subject: Re: fdisk vs disklabel vs rockbox
Re: fdisk vs disklabel vs rockbox
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 <email@example.com> 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..)
Received on Tue Nov 29 01:52:04 2005
Page was last modified "Jan 10 2012" The Rockbox Crew