1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Create symlink for /etc/group. MAKEDEV file will use this file (group name

to gid conversion).

PR:		43455
Submitted by:	n-kogane@syd.odn.ad.jp
X-MFC after:	immediately if re@ permits, or after 4.7-RELEASE is out
This commit is contained in:
Makoto Matsushita 2002-09-28 17:06:07 +00:00
parent 1cff889a46
commit 069f4a6841
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104093
2 changed files with 2 additions and 0 deletions

View File

@ -443,6 +443,7 @@ fixit_common(void)
msgConfirm("Unable to create an /etc directory! Things are weird on this floppy..");
else if ((symlink("/mnt2/etc/spwd.db", "/etc/spwd.db") == -1 && errno != EEXIST) ||
(symlink("/mnt2/etc/protocols", "/etc/protocols") == -1 && errno != EEXIST) ||
(symlink("/mnt2/etc/group", "/etc/group") == -1 && errno != EEXIST) ||
(symlink("/mnt2/etc/services", "/etc/services") == -1 && errno != EEXIST))
msgConfirm("Couldn't symlink the /etc/ files! I'm not sure I like this..");
if (!file_readable(TERMCAP_FILE))

View File

@ -443,6 +443,7 @@ fixit_common(void)
msgConfirm("Unable to create an /etc directory! Things are weird on this floppy..");
else if ((symlink("/mnt2/etc/spwd.db", "/etc/spwd.db") == -1 && errno != EEXIST) ||
(symlink("/mnt2/etc/protocols", "/etc/protocols") == -1 && errno != EEXIST) ||
(symlink("/mnt2/etc/group", "/etc/group") == -1 && errno != EEXIST) ||
(symlink("/mnt2/etc/services", "/etc/services") == -1 && errno != EEXIST))
msgConfirm("Couldn't symlink the /etc/ files! I'm not sure I like this..");
if (!file_readable(TERMCAP_FILE))