Re: absolute vs. relative offsets in disklabel

2006-08-07 Thread John Baldwin
On Sunday 06 August 2006 10:59, Dmitry Marakasov wrote: * Dag-Erling Sm?rgrav ([EMAIL PROTECTED]) wrote: Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute offsets in disklabel? We don't, AFAIK. Since the transition to GEOM, the offsets

Re: absolute vs. relative offsets in disklabel

2006-08-07 Thread Roman Kurakin
John Baldwin: On Sunday 06 August 2006 10:59, Dmitry Marakasov wrote: * Dag-Erling Sm?rgrav ([EMAIL PROTECTED]) wrote: Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute offsets in disklabel? We don't, AFAIK. Since the

Re: absolute vs. relative offsets in disklabel

2006-08-07 Thread John Baldwin
On Monday 07 August 2006 17:05, Roman Kurakin wrote: John Baldwin: On Sunday 06 August 2006 10:59, Dmitry Marakasov wrote: * Dag-Erling Sm?rgrav ([EMAIL PROTECTED]) wrote: Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute

Re: absolute vs. relative offsets in disklabel

2006-08-06 Thread Dmitry Marakasov
* Dag-Erling Sm?rgrav ([EMAIL PROTECTED]) wrote: Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute offsets in disklabel? We don't, AFAIK. Since the transition to GEOM, the offsets are relative to the start of the containing provider. It has

Re: absolute vs. relative offsets in disklabel

2006-08-04 Thread Alexander Leidinger
Quoting Oliver Fromme [EMAIL PROTECTED] (Thu, 3 Aug 2006 14:48:24 +0200 (CEST)): But then again, harddisks tend to get bigger, so there is probably not much need for a shrinkfs tool. Sometimes it's not an availability decision... think about EMC, disk pools and changing requirements in an

Re: absolute vs. relative offsets in disklabel

2006-08-03 Thread Ulrich Spoerlein
Dmitry Marakasov wrote: There are many weighty arguments for relative offsets: - No confusion (once I did try to dd slice from one place on disk to another to copy it, and was very surprised when changes made on one partition appeared on another as well) - Ability to copy and move slices

Re: absolute vs. relative offsets in disklabel

2006-08-03 Thread Oliver Fromme
Ulrich Spoerlein wrote: btw, how hard would it be to write a shrinkfs and perhaps movefs tool? movefs shouldn't be very difficult, but shrinkfs is more complex, because you have to relocate files and metadata within the filesystem. The shrink operation can fail if there isn't enough space in

Re: absolute vs. relative offsets in disklabel

2006-08-03 Thread Alexander Leidinger
Quoting Ulrich Spoerlein [EMAIL PROTECTED] (Wed, 2 Aug 2006 21:25:07 +0200): btw, how hard would it be to write a shrinkfs and perhaps movefs tool? I've seen a commit to perforce which talked about shrinking an FS... I don't remember where. Bye, Alexander. -- That would be because the

Re: absolute vs. relative offsets in disklabel

2006-08-03 Thread Dag-Erling Smørgrav
Dmitry Marakasov [EMAIL PROTECTED] writes: Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute offsets in disklabel? We don't, AFAIK. Since the transition to GEOM, the offsets are relative to the start of the containing provider. DES --

Re: absolute vs. relative offsets in disklabel

2006-08-01 Thread Dmitry Marakasov
* Dan Nelson ([EMAIL PROTECTED]) wrote: Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute offsets in disklabel? AFAIK, on NetBSD and OpenBSD, label is not necessarily located `near' filesystems stored in it's partitions - and even

absolute vs. relative offsets in disklabel

2006-07-31 Thread Dmitry Marakasov
Hi! Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute offsets in disklabel? AFAIK, on NetBSD and OpenBSD, label is not necessarily located `near' filesystems stored in it's partitions - and even disklabel utility shows absolute offsets (with 'c'

Re: absolute vs. relative offsets in disklabel

2006-07-31 Thread Dan Nelson
In the last episode (Aug 01), Dmitry Marakasov said: Recent `disklabel differences FreeBSD, DragonFly' thread gave me a thought - why do we have absolute offsets in disklabel? AFAIK, on NetBSD and OpenBSD, label is not necessarily located `near' filesystems stored in it's partitions - and even