Re: glabel force sectorsize patch

2010-08-09 Thread Dag-Erling Smørgrav
Marius Nünnerich mar...@nuenneri.ch writes: I did not think of a new GEOM class that looks like glabel but one that has no metadata stored on disk . It is then activated and controlled by loader.conf variables. (Maybe like gnop? If I remember correctly, I did not take a look at that class for

Re: glabel force sectorsize patch

2010-08-09 Thread Ivan Voras
On 9 August 2010 10:51, Dag-Erling Smørgrav d...@des.no wrote: Marius Nünnerich mar...@nuenneri.ch writes: I did not think of a new GEOM class that looks like glabel but one that has no metadata stored on disk . It is then activated and controlled by loader.conf variables. (Maybe like gnop? If

Re: glabel force sectorsize patch

2010-08-09 Thread Dag-Erling Smørgrav
Ivan Voras ivo...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no writes: Marius Nünnerich mar...@nuenneri.ch writes: I did not think of a new GEOM class that looks like glabel but one that has no metadata stored on disk . It is then activated and controlled by loader.conf

Re: glabel force sectorsize patch

2010-08-09 Thread Ivan Voras
On 9 August 2010 14:37, Dag-Erling Smørgrav d...@des.no wrote: Ivan Voras ivo...@freebsd.org writes: Dag-Erling Smørgrav d...@des.no writes: Marius Nünnerich mar...@nuenneri.ch writes: I did not think of a new GEOM class that looks like glabel but one that has no metadata stored on disk

Re: glabel force sectorsize patch

2010-08-08 Thread Marius Nünnerich
On Sun, Aug 8, 2010 at 14:02, Ivan Voras ivo...@freebsd.org wrote: On 8.8.2010 12:30, Pawel Jakub Dawidek wrote: On Sun, Aug 08, 2010 at 03:57:44AM +0200, Ivan Voras wrote: Hi, In order to help users having 4k sector drives which the system recognizes as 512 byte sector drives, I'm proposing

Re: glabel force sectorsize patch

2010-08-08 Thread Pawel Jakub Dawidek
On Sun, Aug 08, 2010 at 02:02:17PM +0200, Ivan Voras wrote: On 8.8.2010 12:30, Pawel Jakub Dawidek wrote: So why do you want to obfuscate glabel with it? For people to start depend on it? Once we start supporting 4kB sectors what do we do with such a change? Remove it and decrease version

Re: glabel force sectorsize patch

2010-08-08 Thread Pawel Jakub Dawidek
On Sun, Aug 08, 2010 at 02:57:20PM +0200, Marius Nünnerich wrote: On Sun, Aug 8, 2010 at 14:02, Ivan Voras ivo...@freebsd.org wrote: I'd like to hear comments from the wider audience. In respect with your comment, I will compromise: as 4k sector drives have become available over the counter

Re: glabel force sectorsize patch

2010-08-08 Thread Marius Nünnerich
On Sun, Aug 8, 2010 at 21:08, Ivan Voras ivo...@freebsd.org wrote: On 8.8.2010 14:57, Marius Nünnerich wrote: On Sun, Aug 8, 2010 at 14:02, Ivan Voras ivo...@freebsd.org wrote: This mechanism is a band-aid until there's a better way of dealing with 4k drives. I do not like this at all. Even