Re: Autoexpand of root file system after image copy - need something better

2017-12-26 Thread Harold Gutch
On Tue, Dec 26, 2017 at 08:59:51AM +0100, Harold Gutch wrote: > What about making the default /etc/rc.conf on {rpi,armv7}.img test for > a /boot/rc.conf and source it if it exists (I am not sure if this even > works, /boot might not be mounted yet at this point), then the user > can disable automat

Re: Autoexpand of root file system after image copy - need something better

2017-12-26 Thread Jeff Rizzo
On 12/25/17 9:58 PM, co...@sdf.org wrote: you can shrink a filesystem, though resize_ffs doesn't allow it on FFSv2 for some unclear reason. It's just not implemented yet... it's different than ffsv1, so requires some intrepid soul to actually do the thing.

Re: Autoexpand of root file system after image copy - need something better

2017-12-26 Thread Harold Gutch
On Tue, Dec 26, 2017 at 12:15:16AM -0500, Alan Corey wrote: > Seems like a simple solution would be to expand it to the size of the > partition, or if there's no partition maybe ask. So you use your > fdisk or gparted or whatever first if you know you want other things > in part of the space. The

Re: Autoexpand of root file system after image copy - need something better

2017-12-25 Thread coypu
On Tue, Dec 26, 2017 at 12:15:16AM -0500, Alan Corey wrote: > Seems like a simple solution would be to expand it to the size of the > partition, or if there's no partition maybe ask. So you use your > fdisk or gparted or whatever first if you know you want other things > in part of the space. The

Re: Autoexpand of root file system after image copy - need something better

2017-12-25 Thread Alan Corey
Seems like a simple solution would be to expand it to the size of the partition, or if there's no partition maybe ask. So you use your fdisk or gparted or whatever first if you know you want other things in part of the space. Then have the expansion respect the partition size. OpenBSD setup asks

Re: Autoexpand of root file system after image copy - need something better

2017-12-25 Thread matthew sporleder
On Fri, Dec 22, 2017 at 4:14 PM, Thomas Goldthorpe wrote: > Hi Folks, > > Chuck Silvers suggested to send to port-arm and current-users for this: > > I may or may not stand alone on this, but, the autoexpand of the root file > system to full flash size that is in the images (i'm thinking the PI, b

Autoexpand of root file system after image copy - need something better

2017-12-24 Thread Thomas Goldthorpe
Hi Folks, Chuck Silvers suggested to send to port-arm and current-users for this: I may or may not stand alone on this, but, the autoexpand of the root file system to full flash size that is in the images (i'm thinking the PI, but others too), is detrimental and a pain to work around. I find it