[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the recommended armhf disk partitioner for use on rotating media?



On Saturday 17 June 2017 10:24:11 Mark Morgan Lloyd wrote:

> On 17/06/17 14:15, Gene Heskett wrote:
> > Greetings all;
> >
> > See subject, on an rpi3b running raspian/jessie. I have a terabyte
> > usb drive plugged in, and I want to set up an rsync cron job to
> > backup the sd card to this drive and I need to reset the /dev/sda1
> > file system to vfat, which it is not ATM.
>
> Use fdisk to change the type to b or c and then mkfs.vfat to reformat
> it. Note however that Flash-based media might have the first partition
> start at a specific block since one of the early blocks has slightly
> different properties in order to accommodate frequent FAT updates, so
> if you know how the device was partitioned at the factory it's worth
> restoring to that if possible.

Its been re-partition with gparted, 2 or 3 times. IIRC there is a small 
space, to align it or whatever in front of /dev/sda1.

fdisk has a longer and whiter beard than I do, and I wasn't aware it had 
been to school to learn the new partition schemes?

fdisk is installed and seems to recognize everything including a 2048
(sectors?) gap in front of sda1.  Perhaps thats pristine yet?

So the rsync source is the sd card, and the target is this hard drive. 
Does this warning still apply? I did a t[return], l[return[ but do not 
see the desired vfat listed as a choice.  Is it a synonym for something 
else?

OTOH, one should file a bug against fdisk as the description string is 
printed at a reduced width, losing valuable information about the 
individual filesystem to use on a given partition.

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: