UFS2 a default a FreeBSD 5.0-CURRENT-ben

Címkék

A FreeBSD-s Robert Watson bejelentése szerint a newfs(8) és a sysinstall(8) mostantól alapértelmezetten az UFS2 filerendszert hozza létre, kivéve ha külön utasítják arra, hogy az UFS1-et készítse el. Azoknak a felhasználóknak, akik valamilyen oknál fogva mégis az UFS1-et szeretnék használni, nekik -O1 kapcsolót kell hozzácsapniuk a newfs(8)-hez, vagy egy '1'-est kell ütniük a sysinstall(8) 'label editor"-jában. Ja, ez természetesen csak a FreeBSD 5.0-CURRENT-ben van így (egyelőre).

Email bejelentés:Date: Sun, 20 Apr 2003 11:02:37 -0400 (EDT)

From: Robert Watson

To: current@FreeBSD.org

Subject: HEADS UP: UFS2 now the default creation type on 5.0-CURRENT

As of today, newfs(8) and sysinstall(8) will create UFS2 file systems by default, unless explicitly specified. Users wanting to create UFS1 file systems for whatever reason interoperability with earlier versions, etc) should be sure to employ the -O1 flag to newfs(8), or hit '1' in the label editor in sysinstall(8) to select UFS1.

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects

robert@fledge.watson.org Network Associates Laboratories

---------- Forwarded message ----------

Date: Sun, 20 Apr 2003 07:08:05 -0700 (PDT)

From: Robert Watson

To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org

Subject: cvs commit: src/sbin/newfs newfs.8 newfs.c src/usr.sbin/sysinstall install.c label.c sysinstall.h src/usr.sbin/sysinstall/help partition.hlp

rwatson 2003/04/20 07:08:05 PDT

FreeBSD src repository

Modified files:

sbin/newfs newfs.8 newfs.c

usr.sbin/sysinstall install.c label.c sysinstall.h

usr.sbin/sysinstall/help partition.hlp

Log:

Throw the switch--change to UFS2 as our default file system format for FreeBSD 5.1-RELEASE and later:

- newfs(8) will now create UFS2 file systems unless UFS1 is specifically requested (-O1). To do this, I just twiddled the Oflag default.

- sysinstall(8) will now select UFS2 as the default layout for new file systems unless specifically requested (use '1' and '2' to change the file system layout in the disk labeler). To do this, I inverted the ufs2 flag into a ufs1 flag, since ufs2 is now the default and ufs1 is the edge case. There's a slight semantic change in the key behavior: '2' no longer toggles, it changes the selection to UFS2.

This is very similar to a patch David O'Brien sent me at one point, and that I couldn't find.

Approved by: re (telecon)

Reviewed by: mckusick, phk, bmah

Revision Changes Path

1.60 +1 -1 src/sbin/newfs/newfs.8

1.72 +1 -1 src/sbin/newfs/newfs.c

1.12 +14 -10 src/usr.sbin/sysinstall/help/partition.hlp

1.341 +1 -1 src/usr.sbin/sysinstall/install.c

1.137 +21 -7 src/usr.sbin/sysinstall/label.c

1.244 +1 -1 src/usr.sbin/sysinstall/sysinstall.h