bsdlabel/disklabel változások a FreeBSD-current -ben

Címkék

Poul-Henning Kamp "commit"-olt néhány változtatást a FreeBSD-current -be melynek értelmében a régi (jelenlegi) disklabel programot felváltja a bsdlabel. A remények szerint ezzel könnyebbé válik a partícionálás menete.

Email:

To: current@freebsd.org

From: "Poul-Henning Kamp"

Date: Mon, 05 May 2003 23:39:43 +0200

Subject: HEADSUP: bsdlabel/disklabel changes

The commit below selects the new "bsdlabel" program instead of the old disklabel program. This hopefully makes the partitioning process more intuitive on BSD label platforms.

The hightlights are:

* All the "historical" fields are hidden and handled automatically unless -A argument given. You should practically never need -A.

* -r argument ignored (to keep scripts working). The "raw"

functionality is automatically activated where necessary.

* default type for -w is "auto". You can now put a label on a disk simply with "disklabel -w /dev/ad0"

Please check the man-page, I have updated it to reflect current reality.

Improvements to both program and manual page are most welcome.

Poul-Henning


In message , Poul-Henning Kamp

writes:

>phk 2003/05/05 14:28:08 PDT

>

> FreeBSD src repository

>

> Modified files:

> sbin Makefile

> sbin/bsdlabel Makefile

> Log:

> Compile bsdlabel on all platforms.

>

> Install a link to the disklabel(8) name on i386 and alpha platforms.

>

> Leave old disklabel(8) sources intact but disconnected from the build

> for now.

>

> Revision Changes Path

> 1.120 +1 -6 src/sbin/Makefile

> 1.15 +10 -0 src/sbin/bsdlabel/Makefile

>

--

Poul-Henning Kamp | UNIX since Zilog Zeus 3.20

phk@FreeBSD.ORG | TCP/IP since RFC 956

FreeBSD committer | BSD since 4.3-tahoe

Never attribute to malice what can adequately be explained by incompetence.

----------------

To: current@freebsd.org

From: "Poul-Henning Kamp" ,

Subject: HEADSUP: bsdlabel(8) to replace disklabel(8): PLEASE TEST

Date: Sat, 3 May 2003 21:46:43 GMT

I think I have managed to slash a path through the disklabel mess, and created a simpler and less hostile "bsdlabel" instead.

Please install a -current kernel and compile the bsdlabel program (src/sbin/bsdlabel) and let me know what you think.

Please test it in every way you can imagine, including that

writing of bootblocks and that they work afterwards as well.

The plan is:

1) A few days shakeout (what this email is about!)

2) Some make/release work.

3) Install bsdlabel on all platforms.

4) Install symlinks:

sparc64: sunlabel -> disklabel

i386: bsdlabel -> disklabel

pc98: bsdlabel -> disklabel

alpha: bsdlabel -> disklabel

???: ???

Thanks in advance,

--

Poul-Henning Kamp | UNIX since Zilog Zeus 3.20

phk@FreeBSD.ORG | TCP/IP since RFC 956

FreeBSD committer | BSD since 4.3-tahoe

Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________

freebsd-current@freebsd.org mailing list

http://lists.freebsd.org/mailman/li...freebsd-current

To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"