From owner-freebsd-questions@freebsd.org Sun Aug 23 08:19:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 187E73B5D30 for ; Sun, 23 Aug 2020 08:19:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZ7Ss72Jwz4PYC for ; Sun, 23 Aug 2020 08:19:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MEVJq-1kObB236HS-00G1pq; Sun, 23 Aug 2020 10:19:06 +0200 Date: Sun, 23 Aug 2020 10:19:06 +0200 From: Polytropon To: Antonio Olivares Cc: FreeBSD Questions Subject: Re: Reset xorg using lumina desktop Message-Id: <20200823101906.95819c69.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:b9jn6myyfVV5xVlR5FJ98CxH13lo/kucG02kzrXOdRvLLkxmN27 3Kicfp5pu1PQMhbzAQVi36poCcsDthGiX9CRi8+35XgI2z05+2BZDvyad7eVb8DfWwdTY98 Hb0O9Y0nu9gU/1v21t8YuSrJviAIT8CtPkJ8cSG8xgyD8chw9ez4V2gbhVmSHojwczHGzPn 1FZNKb/0nKiiHPSe7gs3A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Zs2VxzPDmgk=:YvPOK5pCLeaqJsdOILDM71 zdG874CHfw5sER5W/RJxXEzd2Nh3av1gmbdh64/uwFkoBEseDBiT2Nt1XXKK1JIKChF2bq/uh 66iUBA0Wp3fip8+Gt2MUoQwZV1rbJZUoMJ70XbvcchOvOrjYGMVbi+zGcjmK4h3Ea4rW0SMkX TvgQ2dfPQNSJO1xjEBfWiiBbLXsLi90LN8lVqRPHeaXJ+UNLIjaigy2HVuWrQYLrw2dL3M8/q lNbD01EqT6YKC3K5lhuiDQMngcmOywyNS82RHSGaXwI09pGiI5QD+amqUvrpTYI1YAFwlSllC RWp7RgGxKYrS27KaVrbEy5GT1qCRUVxt1ifqx4r7P7ZjfwGvX2erF9c5J7MXWQ5J3mJvkvoIr +AO1KC2cSLO0TVlZuGIOgrSvZbX1Xd5rF2xQ0A0NRRvz+pT+uWu1rgi+fged5UCKsY3otyahK nMqE9ZtcF3aAXHEdbQuW1ItPfdsB3VaDkHzdZgCqA41jK315vTef62Ukk1Akr+pixsxyxVPa/ s04UKaPDKkklBGkkHvQnI0wVKJ2o8K+RcJ5JywlAUt8NFOHDrEvOtt9oWFoPTwAoie6G5gxX7 v6JEcUXRNIzorthgDZi47z0xG8wyVwxUoVhwukWAkkDDrnRC6eqK5HaakEiXqL0VxMEpOKYGN U72GlmUMM8TxOEXYnNKaHaeJU+lTrz0kVgwTBWWARaGIOJIQAcLNj5cc4tJw+XKhcr4bkFuNM /LiUhdbFJSJ3YsMHWzuuzVrSUXp+28gswS9FyTAPOocVtwLWAY8I1SPwKfFItGxg3XIkoN4t8 RliR4HHmF0N6i1PUQgHPl+wxq7JDiEmongowka0yfUld2dAy2503SJWSPGvpZDqR9pMZjrs X-Rspamd-Queue-Id: 4BZ7Ss72Jwz4PYC X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.34 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.06)[-0.063]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.130:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.130:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 08:19:11 -0000 On Sat, 22 Aug 2020 16:27:00 -0500, Antonio Olivares wrote: > Dear kind FreeBSD users, > > I am running FreeBSD using lumina. I was using two screens, one with HDMI > and one with VGA at school. Since learning is now online, I am using only > HDMI now, but my screen only remembers new setting. I have tried checking > /etc/X11/xorg.conf but it is not present. That file needed to be generated in the past, but it's no longer needed (and even the location is not correct anymore, today you can use a /usr/local/etc/X11/xorg.conf file, or partial files in /usr/local/etc/X11/xorg.conf.d/ with configuration fragments). For example, if you want to force a specific screen size ("resolution"), you could use the following: /usr/local/etc/X11/xorg.conf.d/screen.conf: Section "Screen" Identifier "Screen0" Device "Card0" SubSection "Display" Modes "1024x768" EndSubSection EndSection I use this to have a laptop with a native LCD size of 1280x800 to display correctly on a 4:3 CRT attached at the docking station. > I try screen configuration, but > cannot reset it to only Monitor with HDMI output. You can use the xrandr program to manually switch to the screen you want. Then add that to your X startup file, ~/.xinitrc or ~/.xsession, so it will automatically use the desired monitor when you start X. With xrandr, you can also alter the size ("resolution") parameters of the screen, if needed. However, most of all this stuff should be correctly autodetected by X. > How can I reset it so I can just have fresh desktop with all icons on the > screen? "Desktop with icons on the screen" is a matter of the deskto environment, not of X. Most desktop systems will arrange the icons depending on the screen parameters they find. > If you need output from xrandr, I can send it in on Monday. When teaching > online and using Google classroom, the microphone was muted, I started > using telefono to use and connect with it. Always check mixer settings, levels, selected recording device, and for the program in use, which sound system it uses (for example, OSS or ALSA). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Aug 23 08:27:51 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 69D483B615D for ; Sun, 23 Aug 2020 08:27:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZ7ft0cTKz4Q5R for ; Sun, 23 Aug 2020 08:27:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mnq4Q-1kxvIG3JV4-00pPPx; Sun, 23 Aug 2020 10:27:46 +0200 Date: Sun, 23 Aug 2020 10:27:46 +0200 From: Polytropon To: Manish Jain Cc: Antonio Olivares , FreeBSD Questions Subject: Re: Reset xorg using lumina desktop Message-Id: <20200823102746.00ccd768.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:1CNeG+1VRX5Yo3wX8v7ywtiI59Y2e6s/5UwKoRUcX2dybxcLr6q 3UlRQaZ+VVhqlZXdBMu51/CQVodkD3j+bJrCp6BQi9uyaCQ2OCcfbLu4xwLxwu2uCcRw5WJ kp5EmwTYmKZ2x1Piqn2+IMr5rgziBb5jN65pF9iN8PpApMB7Im805xOkYbW1p2C2PYryijc +al3vPYqWMJXiUJ9mD8qA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:itu+WhS7MYw=:I/q/obxjrYbnm3J0vAARia HPMfZlMe0y45/i7p7pZedCWdbLekY6MH1iHNhfi5bqDQ4AyNwbD2GtZalrlB0/MOVhVqm2JA0 WlcUULS5CeevGbENngUhPhzHNvc4mJN7CdtX/2AP7yPKYQEUoMx69AOyZW9mTRpOFxSdXwngE BToef2QokRInoLXuaXb3VcVdLiKZ0zbtomfCsiTc7sH0Z5hFsC5yFHikGjSNE20sJxD7m6aqB DHHap3UNayvw7r56a5yZThXpBBzZfh6BtxgPZBCLNMSv+umgP3zcfM8N9ZIqp/yQvN7+dh/dt WUcHmp+flLGQHnzSjho+XSXaTi2Gl944H6eyGGJbKhZGider7TeBP0VWPXinBqKmY84nwsFEr 8ZfcZ9a9mutqBq9oz9vts1pjNlarcCVP2uMVCanjsxnygmz1UTTQnAnCKDOaCBthMf+SAtsER 8DBTUFGy13pec5QZZnD+WAr5q8wPFIuYXjeSR1GM7GzDihFZ0pAgzIIV1SKINlJhG4TwDCydF DuWeYfiLP1ROLTETQ3c81NI9eephrN6gQk5iPMnyaDp0mJHa8UdR/WYc83awoYGicNkPDnLbv Kmg1H5ixZhqtilpKCeQjYvmZwAjTnXp6V+hD4JrPboLsF+aWHHowh1IkQrTG7Mtj4J76AbEwO FJ0NpM0HChXGCza/BNLEYmYwwvtg8MFv1kGBLT+v1tHfapMxx+qGbvq9K1kfXXtGelwVBuHIS mcV7lBTT/WyYniBMVOxXxae1E+BDGDEu6znoJsCM2B0C28RwundfXEGBOPPF3pd0tKBTt1jSi 29hvYzsnHTX0bweIkmgPU26eaZJTkIko8k+jkSCwXaKtOEawbw2HhOM29bkkt0AE5YfTtb6TZ Vpg93+xN5HALXntmEYrw== X-Rspamd-Queue-Id: 4BZ7ft0cTKz4Q5R X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.133) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.37 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.03)[-0.028]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.133:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.133:from]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 08:27:51 -0000 On Sun, 23 Aug 2020 04:14:17 +0530, Manish Jain wrote: > > > On 2020-08-23 02:57, Antonio Olivares wrote: > > Dear kind FreeBSD users, > > > > I am running FreeBSD using lumina. I was using two screens, one with HDMI > > and one with VGA at school. Since learning is now online, I am using only > > HDMI now, but my screen only remembers new setting. I have tried checking > > /etc/X11/xorg.conf but it is not present. I try screen configuration, but > > cannot reset it to only Monitor with HDMI output. > > > > How can I reset it so I can just have fresh desktop with all icons on the > > screen? > > > > If you need output from xrandr, I can send it in on Monday. When teaching > > online and using Google classroom, the microphone was muted, I started > > using telefono to use and connect with it. My sister got for me a > > Bluetooth device, but that will be a challenge to get working. > > > > I appreciate help/advice and suggestions to fix the screen. > > You have not mentioned what graphics chip you are using. > > Perhaps creating a new xorg.conf might take care of your problem. > Can you try booting FreeBSD in text mode and run the following: > > 1) Xorg -configure > 2) mv xorg.conf.new /etc/X11/xorg.conf > 3) reboot Even though this is technically correct, it usually is no longer needed. X's auto-magic will do everything on its own, without a configuration file. Also, step 2 should be: mv xorg.conf.new /usr/local/etc/X11/xorg.conf This is the "new" location of the xorg.conf file according to the hierarchy layout concept that all 3rd party configuration files should reside in /usr/local/etc, and X is not part of the OS, therefore not deserving a file in /etc - even though this location is still supported. A configuration file, or a partial configuration file, as mentioned elsewhere, still can be fully justified, especially when you need to tell X to do something the auto-magic didn't get right (or which it did "know better than you"), for example if you want to force a specific display or screen size ("resolution"). Such files go to the /usr/local/etc/X11/xorg.conf.d/ directory. By the way, certain aspects of the display configuration for "internal / external" can often be configured in the BIOS / UEFI setup (for laptops, that is). Oh, and FreeBSD's "text mode", with vt, isn't any longer a text mode, it's just a non-X graphics mode. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Aug 23 09:46:02 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27B5D3B7EE1; Sun, 23 Aug 2020 09:46:02 +0000 (UTC) (envelope-from mueller6723@twc.com) Received: from p-impout006.msg.pkvw.co.charter.net (p-impout006aa.msg.pkvw.co.charter.net [47.43.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZ9P5238qz4TY9; Sun, 23 Aug 2020 09:46:00 +0000 (UTC) (envelope-from mueller6723@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id 9mZVkU5hdi5bU9mZVkMUCo; Sun, 23 Aug 2020 09:45:53 +0000 X-Authority-Analysis: v=2.3 cv=CfB2G4jl c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=UNWf5WQ7AAAA:8 a=GwURJYpPAAAA:8 a=6I5d2MoRAAAA:8 a=u65s9HorirDtAnZf1qAA:9 a=TmY6P1tBX-PGzTCW-pm6:22 a=tBTQTiXtO7iwNBbuUDfI:22 a=IjZwj45LgO3ly-622nXo:22 a=pHzHmUro8NiASowvMSCR:22 a=xoEH_sTeL_Rfw54TyV31:22 Date: Sun, 23 Aug 2020 09:45:28 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org CC: owner-freebsd-questions@freebsd.org Subject: Is there a bug with FreeBSD list servers? X-CMAE-Envelope: MS4wfAEeC/yLWioebhFKq0B/6H5u2GSkMCUo+6W0ThI3fL+Wrv1/6l/pR52F7y/Rj8IpthMPoRtqKNsWPCkkk2d5zLRXPhk99/Jokw8GF02V9ue2BBTCcOUy LhgEWRcGeXOKIUmbjZOtk8PTp946NUEaOZK1dVS6A4PMU0Blg1UAPHymfus6RltvL2wqlw9J9n5DydOmhoV3L4SDZQ2C01hpJxaO5II7YPqlgiEF3tshFMMd X-Rspamd-Queue-Id: 4BZ9P5238qz4TY9 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6723@twc.com designates 47.43.26.137 as permitted sender) smtp.mailfrom=mueller6723@twc.com X-Spamd-Result: default: False [3.42 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; MISSING_MID(2.50)[]; NEURAL_HAM_SHORT(-0.08)[-0.076]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[mueller6722@twc.com,mueller6723@twc.com]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[mueller6722@twc.com,mueller6723@twc.com]; FREEMAIL_ENVFROM(0.00)[twc.com]; MAILMAN_DEST(0.00)[owner-freebsd-questions,freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 09:46:02 -0000 I notice in the past three or four days that I have received very few messages from FreeBSD lists, and I am subscribed to many, including freebsd-questions and others. I received 0, 5, and 3 messages in the last three days. Has volume on the FreeBSD lists been unusually light, or is there a bug with the FreeBSD list server, or maybe the server at my end? I logged in to my FreeBSD lists account and into the twc.com (spectrum.net) web interface to check my settings, and I am not under any spam filters. I was successful sending messages to freebsd-test@freebsd.org . I am not sure on who best to send this inquiry to. Sincerely, Thomas Mueller From owner-freebsd-questions@freebsd.org Sun Aug 23 10:06:28 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 281BD3B8815 for ; Sun, 23 Aug 2020 10:06:28 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout008.msg.pkvw.co.charter.net (p-impout008aa.msg.pkvw.co.charter.net [47.43.26.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZ9rg1Qjmz4VcG for ; Sun, 23 Aug 2020 10:06:26 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id 9mtIkSPB7JzKV9mtIkAojw; Sun, 23 Aug 2020 10:06:20 +0000 X-Authority-Analysis: v=2.3 cv=Q+SsHL+a c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=Eheq2ytIojLadZMFxZEA:9 Date: Sun, 23 Aug 2020 10:05:55 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: UFS alternate super block error References: X-CMAE-Envelope: MS4wfFCZa/2W30fAdSdhG+a+Kh0RF7w8kF9d8J53qS+uegQlKpwgKiFmfazqaXsO8OJ+1P0BhruKyvC8C1N7O0OV5qnW4s1cY7Uxdmh5BXQF74pJCyhEWdPj QUBBN7REmh1CPwn+7kksFJd58GayX9ozAtSvAzwJVqabyvVgSncdw9Etb1sbOrrGt0s9xUA18kmxDw== X-Rspamd-Queue-Id: 4BZ9rg1Qjmz4VcG X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 47.43.26.139 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [2.48 / 15.00]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_SPAM_SHORT(0.28)[0.284]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 10:06:28 -0000 First, I think I may have sent a message about possible bugs with FreeBSD lists, due to sloppiness with my fingers and not being sufficiently watchful. Now for the main message: > Recently, I enlarged the file used to back a FreeBSD 12.1-RELEASE-p7 > virtual machine and thought I did all of the normal steps to grow the > file system. Something must not have gone quite right as the boot > stops with: ... > Trying to mount root from ufs:/dev/gpt/rootfs [rw]... > Setting hostuuid: 5defeee9-d2e2-46e2-b2bb-203dd6e46f1f. > Setting hostid: 0x4a7a75f3. > Starting file system checks: > Warning! Some of the devices might not be available; retrying > Waiting 30s for the root mount holders: usbus3 usbus2 usbus1 > usbus0uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > ..uhub0: 6 ports with 6 removable, self powered > Restarting file system checks: > Unknown error 3; help! > ERROR: ABORTING BOOT (sending SIGTERM to parent)! > 2020-08-22T13:32:36.786266+00:00 init 1 - - /bin/sh on /etc/rc > terminated abnormally, going to single user mode > Enter full pathname of shell or RETURN for /bin/sh: > entering the shell and then immediately exiting allows the boot to > continue successfully. Running fsck from shell indicates there is an > error with the alternate super block: > # fsck_ffs -d /dev/gpt/rootfs > ** /dev/gpt/rootfs > SUPER BLOCK VS ALTERNATE MISMATCH fs_sblkno: 24 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_cblkno: 32 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_iblkno: 40 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_dblkno: 5056 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_ncg: 162 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_bsize: 32768 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_fsize: 4096 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_frag: 8 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_bmask: 0xffffffffffff8000 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_fmask: 0xfffffffffffff000 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_bshift: 15 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_fshift: 12 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_fragshift: 3 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_fsbtodb: 3 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_sbsize: 4096 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_nindir: 4096 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_inopb: 128 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_cssize: 4096 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_ipg: 80256 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_fpg: 160280 vs 0 > SUPER BLOCK VS ALTERNATE MISMATCH fs_magic: 0x19540119 vs 0 VALUES IN SUPER BLOCK LSB=128 DISAGREE WITH THOSE IN LAST ALTERNATE LSB=206440832 > IGNORE ALTERNATE SUPER BLOCK? [yn] > I've tried running fsck a few times, but this issue persists. Is there > any way to fix this? >-chuck I get abnormal endings where FreeBSD crashes and leaves file systems not cleanly dismounted. I have generally not been able to fix with FreeBSD fsck_ffs. If I run "fsck_ffs -y", I may lose data; that has happened at least once. What works for me is booting into NetBSD and running that fsck_ffs. But I realize, or assume, that most FreeBSD users do not also have NetBSD installed. Tom From owner-freebsd-questions@freebsd.org Sun Aug 23 13:49:02 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 090EA3BDF7A for ; Sun, 23 Aug 2020 13:49:02 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZGnS0rqgz3S7r for ; Sun, 23 Aug 2020 13:48:59 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sun, 23 Aug 2020 06:48:48 -0700 Subject: Re: Is there a bug with FreeBSD list servers? To: FreeBSD Mailing List Cc: Thomas Mueller From: David Christensen Message-ID: <2a23a557-f2f9-9889-6118-569d5bfc0ac5@holgerdanske.com> Date: Sun, 23 Aug 2020 06:48:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BZGnS0rqgz3S7r X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.33 / 15.00]; FAKE_REPLY(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_CC(0.00)[twc.com]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[holgerdanske.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.43)[0.433]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-questions]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 13:49:02 -0000 On 2020-08-23 02:45, Thomas Mueller wrote: > I notice in the past three or four days that I have received very few messages from FreeBSD lists, and I am subscribed to many, including freebsd-questions and others. > > I received 0, 5, and 3 messages in the last three days. > > Has volume on the FreeBSD lists been unusually light, or is there a bug with the FreeBSD list server, or maybe the server at my end? > > I logged in to my FreeBSD lists account and into the twc.com (spectrum.net) web interface to check my settings, and I am not under any spam filters. > > I was successful sending messages to freebsd-test@freebsd.org . > > I am not sure on who best to send this inquiry to. > > Sincerely, > > Thomas Mueller There have been tens of messages per day to freebsd-questions@freebsd.org. Clearly, you are missing messages. I would suspect your mail client first. If you cannot fix the problem with settings, perhaps you should backup, uninstall, install, and restore your client. If that doesn't fix it, I would request support from twc.com. David From owner-freebsd-questions@freebsd.org Sun Aug 23 13:53:28 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0570C3BDFF1 for ; Sun, 23 Aug 2020 13:53:28 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-oln040092068057.outbound.protection.outlook.com [40.92.68.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZGtZ64Rsz3SCc for ; Sun, 23 Aug 2020 13:53:26 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GgvTcae85ZFqoYCUWclVQDRhiUTz5sh00xe7UQ9vr8AMlwFHPjGM68prPscWNTuSll+qJatRIgbrJTS8TAlx2aLNHgB7mhGrIbJV3IYIFb2/eJ1N0R8nTa898e3wjM7rPVyEZlwYbjNXvKQ11Q3+RSoGtpgUqbW0bb+d6+MiBUMpO59IvX6iF6fiqDpTzXQZNo28/TrbN/Pbv7rFFbN/J7x+cQ5Tp+50rqy3gR3iWpWM+uWRB4avAkM7UzqAN7dKKUhaa204sxYcURY3o8pNn4oiKTp0CdOk14b/QWYNIlY10itJX7+/0JupOEGi9TimB1Ydmq3LM3EZhAp5iVvV1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l2k10diV0gZEOozY0HbBJLqUvno+iF1PzpHFq6LrnaM=; b=XSkspbVSQiqtkbdvk/X8R1NZN8pH147d4XdXlN5cTGXnpLwi/0yWH9Mx4PO0RGZea7F2pUjt6sqmWGamQIgAqyRTYa0j8O2w9VpmhP5ZIREM+5vykYNxQmvk5tE8q5KBPZq7PmObqNb9NErdkum5hwUMH6W+qNQzp8ApcAJWd1VIwcXnSZpfxmZLnRNhiR4EJemjfjt3nh9eMTfBlZSP5CBgJ49L9QoOx4J+1HFIoT58OHE7+q37UKl5OcZfS/dxZR0ckzNtDItZYWegOk2HxEx3NHUZTQqu7/vJ+8tpqYNe7H1eVqZFZnbv7qjuXbvPXxu6frin/TUBpruEFsNXAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l2k10diV0gZEOozY0HbBJLqUvno+iF1PzpHFq6LrnaM=; b=Sej2mHnjs4HaAsJy5sc7y3j24IznWgR9M5+wU28PHzL29niKEhO/S+G6UMUX7dVzgd+ixbp03QCNjPMYpXUDJQq/MV7QLS4qyPqwcak1X8rJ6lbKfOi5jkmCN9tfkOhF25+utf+wYJjvUtOn907ru4YGd5LCoVVxnt7OKAZeHeG3/N+4Sxf52lKjyt/4G+pr/H5n/+wEZjNROnKXgknym6tAPd/tRLqVr62rBG9lZTXBWNewV0NfkqvqiTtqfWFFdNMGHuXLc13z0os0Bf6Pxr2c/5DkPIzlcOGHGqjL58Woio62fyF5VRrOCx6zBd1Qt7emoSbmg5lXLJYAZGSGEw== Received: from VE1EUR02FT042.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::48) by VE1EUR02HT037.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::273) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24; Sun, 23 Aug 2020 13:38:57 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e1e::44) by VE1EUR02FT042.mail.protection.outlook.com (2a01:111:e400:7e1e::326) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24 via Frontend Transport; Sun, 23 Aug 2020 13:38:57 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:EBC7C699FE66AF211D040620F4DB83F0E394BD1DF83D2510B0442D820D2B71EE; UpperCasedChecksum:D9DF1A13CA96BAA4B3DAC6622989826D8972A42107F3D9EA0FE1339D64A8D418; SizeAsReceived:8922; Count:49 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea%6]) with mapi id 15.20.3305.026; Sun, 23 Aug 2020 13:38:57 +0000 Subject: Re: Reset xorg using lumina desktop To: Polytropon Cc: Antonio Olivares , FreeBSD Questions References: <20200823102746.00ccd768.freebsd@edvax.de> From: Manish Jain Message-ID: Date: Sun, 23 Aug 2020 19:09:05 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 In-Reply-To: <20200823102746.00ccd768.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BM1PR01CA0114.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::30) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <6fa73730-d81a-cd2c-af58-43fd40fb6d87@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (45.127.45.255) by BM1PR01CA0114.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25 via Frontend Transport; Sun, 23 Aug 2020 13:38:55 +0000 X-Microsoft-Original-Message-ID: <6fa73730-d81a-cd2c-af58-43fd40fb6d87@hotmail.com> X-TMN: [oUlW6D8FoVr2q54Wriik1eb+Mh/e9han] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b693dcc3-0553-4370-c2e7-08d84769e22e X-MS-TrafficTypeDiagnostic: VE1EUR02HT037: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TVoKFetMJSXe0N7DrPONUduK6VZA5mYdmyVKXEgnKf7MCXBX6mkPVeZl/j+b92kxg2K9+nPckAaYhX44rXIASYlmSycnMR7R7JYaR/ftOBIe1Zl65e5IopYs9Gc4u3jlpMXKiDwOo16LMp33Pjn5czTRd480WnOIJaHQvGJmePLoJrsNacniJA92uCGspQDX243Hqk9zwXhaFUXem843FA== X-MS-Exchange-AntiSpam-MessageData: V2cHeTnLB3ztiQaA7OSCFosRCv6dI7o6APZSQO+UJU+eHQKFQmAGPA8ZKFc4ymdy4oIPpwknEAXly48TWfSxMIdx30oMvx36GU6RcIuhFDY/rMVQZtcLdZGXS1XLT+t7LAgCFvUEAlM8CXuU8ntOUw== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: b693dcc3-0553-4370-c2e7-08d84769e22e X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2020 13:38:56.9259 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR02FT042.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR02HT037 X-Rspamd-Queue-Id: 4BZGtZ64Rsz3SCc X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=Sej2mHnj; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.68.57 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [7.35 / 15.00]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.15)[-0.151]; RECEIVED_SPAMHAUS_PBL(0.00)[45.127.45.255:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[45.127.45.255:received]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.68.57:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.68.57:from]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 13:53:28 -0000 On 2020-08-23 13:57, Polytropon wrote: > Even though this is technically correct, it usually is no longer > needed. X's auto-magic will do everything on its own, without > a configuration file. Poly, I might be mistaken, but X does not always configure itself. Particularly in case you have an NVidia card, you specifically need to run nvidia-xconfig to get a good xorg configuration. Regards, Manish Jain From owner-freebsd-questions@freebsd.org Sun Aug 23 15:25:53 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A9E93C03C1 for ; Sun, 23 Aug 2020 15:25:53 +0000 (UTC) (envelope-from dvoich@aim.com) Received: from sonic301-2.consmr.mail.bf2.yahoo.com (sonic301-2.consmr.mail.bf2.yahoo.com [74.6.129.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZJxB57DMz3Wd8 for ; Sun, 23 Aug 2020 15:25:49 +0000 (UTC) (envelope-from dvoich@aim.com) X-YMail-OSG: x1uZZKYVM1mkaBiQqU8XXgY0Zoo6zGoG9KzmaNo8LRJRd.MO22ksOXzU.UFek7c qja2ovzra265_WG9bKPlIFX4WtOnYyp9yRTAJOTwxgNwblMqzc5baPbQQjeZkkdt2SCmAReO_282 5mJ_jcQIehBAlO0BauXOHgkjjEPwzE6y94rLTGVTGFku3SxuWd5RgdIeDW9Wcd3t1EaBYN87o16x y0t17MPkHpUByZcDtUbeW9Q47dGkmMp7.xtJj40iG19H4scv1BjnIbYeipTf3brM9hRaQ9L4j5B2 2JK.nUB68MVSaP4h_4BEbsY48ZKJMGK8179KR_Xk8DnuB2jxrmjD2tAa5cPjH15JVBAya1V46BYE onh_7ad8nP_UtT9Dqwl4osU8Xzf8Bn9OKX_RXV1k3QHhr82pQz3dpIjuQHxa1h0S2OWoawEFw1r8 RoqgHvz3Ds.ZAl8DfmH9QDwabM2vcVyu1uJsj0hqo2VMy5z7OSnlRXErdz_XkwGxmgd7g9toP0.y I9YdjIsGaMjQmOQSapOlB9fG9p0mCKVm.0qLnuv8hlUXnIIFJC1vRGIShd6xbfWPEU0M03V6rkY0 EnUV4NVIxi.nUGfyRV8sjXxxAIoyPcx48zHQfJa4EAtM1p7rsdbwMH.Qi_n4A39jpxCztc86tZu_ ZGelePK3wAJ7wdA9cFaAGGpNAbJXl2I9hBIP_AGJEDa7lhMdYdwqXtKZvJ_QcZamJy2gbY_oz_Rs foFznfUeXDLb3GR9VMkYgeBxkXkfooN28XV3oUyls6OGyHHbDeD4OzBfX5G.HCBqXPZi9fPSicbF QumO9HcIqQIi2038bP6adHsUXqdm.2OE_N3ELpdPlDN8qoK1LhZZdJN.i94NXUqsBticR3sL0TPP L2qCbQrRN_iqlKk4BCGuv51c3NqIXJH_2l1hOauL.GmezxpBwSPbVLdTsJ_tdjvvPyofp8TiNPIL haFi4Z06n2lGyDEquHDhCNd960I8mwq19yuChKOjlEGTUXrcs0hvULxweQLHeVO7wlau47SnooRn HQKuesQebLbFrBGcRreHckK57w9TJX3G2v.KFXZnCcQ8fCqin2Yl.uGQbxSuNX3KxVaNueK2h1ao c9tJCM9NO48zWsf4FL_l.AyKONqvO16PuLhbuiZ652RO5uYXBsN.L6qesUGr8awUfYFvM1nD5l4B g8.R88HoS.MRZVd7Snh_Ud.fVaKPxka3gMR9frC1hzP.GGY2744FUe20KdAy3zBufax_kJ33dPGv v4IKh38.O4zO1cJN.XLlhJRGgHShbSVFASGXUPSOdnhbsAx1_cz6RBuvX9fvUuEHmotYJKmXobdI 4LwKafBt.JLCHJEbknWN9pY_EqRb2y3yh5oiUbfeWvJUr8T_l3eNPEpMRkyXuXx0LSuRkR87QlM1 b3NFKNWcXo1CdehGoS405zUP8JiFCislatuNebot8iM_OHrIuSTeSuvqKuoQZyESsee5SH1IqQxs avuwqSxsNEw77JGcyenkXTd33M0jp0WuTnLypcSdIEk10vy8UPGnC0UPX3H7IEYTaZg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sun, 23 Aug 2020 15:25:48 +0000 Received: by smtp412.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4f1f7bd1d7e4bfd7b9b09a9d607282a2; Sun, 23 Aug 2020 15:25:46 +0000 (UTC) Date: Sun, 23 Aug 2020 11:25:45 -0400 From: "Vlad D. Markov" To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: Reset xorg using lumina desktop Message-Id: <20200823112545.f53fe2a7673752ff48fb093c@aim.com> In-Reply-To: <20200823101906.95819c69.freebsd@edvax.de> References: <20200823101906.95819c69.freebsd@edvax.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4BZJxB57DMz3Wd8 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.09 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[aim.com:s=a2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[aim.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:74.6.128.0/21]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[aim.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[74.6.129.41:from]; NEURAL_HAM_SHORT(-0.59)[-0.585]; DMARC_POLICY_ALLOW(-0.50)[aim.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[aim.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RWL_MAILSPIKE_POSSIBLE(0.00)[74.6.129.41:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 15:25:53 -0000 On Sun, 23 Aug 2020 10:19:06 +0200 Polytropon wrote: > On Sat, 22 Aug 2020 16:27:00 -0500, Antonio Olivares wrote: > > Dear kind FreeBSD users, > >=20 > > I am running FreeBSD using lumina. I was using two screens, one with H= DMI > > and one with VGA at school. Since learning is now online, I am using o= nly > > HDMI now, but my screen only remembers new setting. I have tried check= ing > > /etc/X11/xorg.conf but it is not present. >=20 > That file needed to be generated in the past, but it's no > longer needed (and even the location is not correct anymore, > today you can use a /usr/local/etc/X11/xorg.conf file, or > partial files in /usr/local/etc/X11/xorg.conf.d/ with > configuration fragments). >=20 > For example, if you want to force a specific screen size > ("resolution"), you could use the following: >=20 > /usr/local/etc/X11/xorg.conf.d/screen.conf: >=20 > Section "Screen" > Identifier "Screen0" > Device "Card0" > SubSection "Display" > Modes "1024x768" > EndSubSection > EndSection >=20 > I use this to have a laptop with a native LCD size of > 1280x800 to display correctly on a 4:3 CRT attached at > the docking station. >=20 >=20 >=20 > > I try screen configuration, but > > cannot reset it to only Monitor with HDMI output. >=20 > You can use the xrandr program to manually switch to the > screen you want. Then add that to your X startup file, > ~/.xinitrc or ~/.xsession, so it will automatically use > the desired monitor when you start X. >=20 > With xrandr, you can also alter the size ("resolution") > parameters of the screen, if needed. >=20 > However, most of all this stuff should be correctly > autodetected by X. >=20 >=20 >=20 > > How can I reset it so I can just have fresh desktop with all icons on t= he > > screen? >=20 > "Desktop with icons on the screen" is a matter of the deskto > environment, not of X. Most desktop systems will arrange the > icons depending on the screen parameters they find. >=20 >=20 >=20 > > If you need output from xrandr, I can send it in on Monday. When teachi= ng > > online and using Google classroom, the microphone was muted, I started > > using telefono to use and connect with it. >=20 > Always check mixer settings, levels, selected recording device, > and for the program in use, which sound system it uses (for > example, OSS or ALSA). >=20 I am not sure but this sounds like an issue I had where the default was to = display on both my laptop and external screens and I had the laptop closed.= All the icons and menu bar were on the closed laptop and all I saw on the = external monitor was the background I solved this using xrandr in my .xinitrc file. I turn off the laptop displ= ay if the external is available and vice-versa which is probably unecessary. #!/bin/sh #set -x intern=3DLVDS-1 extern=3DVGA-1 if xrandr | grep -q "$extern connected"; then xrandr --output "$intern" --off --output "$extern" --auto # echo "turning on external" else xrandr --output "$extern" --off --output "$intern" --auto # echo "turning on internal" fi --=20 I dream of a better tomorrow, where chickens can cross the road and not be = questioned about their motives.? ? Ralph Waldo Emerson From owner-freebsd-questions@freebsd.org Sun Aug 23 15:47:12 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 03F403C0ACE for ; Sun, 23 Aug 2020 15:47:12 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZKPp5DwHz3Xsr for ; Sun, 23 Aug 2020 15:47:10 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wr1-x42f.google.com with SMTP id z18so6288175wrm.12 for ; Sun, 23 Aug 2020 08:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tvEuo8BgnFKbT0C5bK0lJFbegT3s8NQQVMhjdWmYuQo=; b=N2jYI1RLqKoxJjcYRIeg9320LlBI8NQZwgAYHQPKcVezlzEjiXDxGP073wfv0Dmvjs 5Iz8aQU3lxmFgbcFQVXYHYQ3xRvMnz/1epy1utovE0Eb3yq3071a0Jk3tN5/iHrDHFzJ bYhC1fFdpit4ZwqbiFngxkdHCOda4ESBwr7xI+hnr1tvvnfB3ZDP2SXaJghp2LauuHxC k+1YcpP1Jef3/2CSABavuEANPCzb14HQ7nOjrbi4a2a+enKR/HDScjSTN4VV2jsuG4gA KImQOzyAyGq6Ej7jsdSuj9JGRedGApl//GFw4Zwt+EiOXt25hM/oHVHyr8UJ5u3nh2hj U99w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tvEuo8BgnFKbT0C5bK0lJFbegT3s8NQQVMhjdWmYuQo=; b=BDmcEk+Z8ksI6vguROkh/IeAoo2Kyr7+xGaqn1RY0wWzQLiFB1Jc+kRRAEjcbgASo7 Cs9HDStZkp0s1sYl4GRlJin2g0YNI9QJOhGILnPcpM1zIsOrdNpi7Gk9ukc4y5+rbX1x s0T/4a28UJfl2OOUWn5iPa4nIrVNfUncY/R+OvbWUJcB0D7ArxjyvWJb5ekNOybmgkig ecOz8qWuiC8gNvUQNOo32cJHyof05HtRchswmvPezMb6y1dSZKVtxnF7ulVL7d/1kzTg zjqT4ENkadNQNZrpbJgG1R+tMv64teAAI0t0H7fUr4SkO0UQqVxq/4qgyiumwcPVU3UK SHYw== X-Gm-Message-State: AOAM533NnGElRjLxVY8PlLtCDIeciBI3ruX0FUlxJUG+dihNzsEcm8Bs 4rRHNVIVfLFSP8qfG5SpozS2CE9Vk93YXKszSV2QIg== X-Google-Smtp-Source: ABdhPJypKNSEpwZW3TbuI+KVP8Rxa4xT9ku2ohh1nQWu/upQKyYbFR6zcgiCh919Vsm1WOgEhhUq/EJTgiI9vDFQGxw= X-Received: by 2002:adf:f507:: with SMTP id q7mr2044671wro.343.1598197629139; Sun, 23 Aug 2020 08:47:09 -0700 (PDT) MIME-Version: 1.0 References: <5f423ae8.1c69fb81.9c5ee.4302SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5f423ae8.1c69fb81.9c5ee.4302SMTPIN_ADDED_MISSING@mx.google.com> From: Tomasz CEDRO Date: Sun, 23 Aug 2020 15:51:04 +0200 Message-ID: Subject: Re: Is there a bug with FreeBSD list servers? To: Thomas Mueller Cc: FreeBSD Questions Mailing List X-Rspamd-Queue-Id: 4BZKPp5DwHz3Xsr X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=N2jYI1RL; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::42f) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [1.04 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.34)[0.343]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42f:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[twc.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 15:47:12 -0000 You can always watch the recent list archives and compare? :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Sun Aug 23 16:19:53 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 865C63C1691 for ; Sun, 23 Aug 2020 16:19:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZL7X22F2z3YtQ for ; Sun, 23 Aug 2020 16:19:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1N7xml-1keLnV3hUR-014yZj; Sun, 23 Aug 2020 18:19:47 +0200 Date: Sun, 23 Aug 2020 18:19:46 +0200 From: Polytropon To: Manish Jain Cc: Antonio Olivares , FreeBSD Questions Subject: Re: Reset xorg using lumina desktop Message-Id: <20200823181946.bfebe80c.freebsd@edvax.de> In-Reply-To: References: <20200823102746.00ccd768.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:k62MvNovNq35wzyhofJ/vUN752BSN046HPt7SkBTyLYUr0OjqRg 4XdzNjm7VSJnEkdRCO2VY4pNNDgwpyAF02x/SPB69kEb9h5MXYRm3XywPMZv9pYBYCQLDTQ jmtQ91KdGk7y0p7iTQsjNyqJ9rI+bGgZU2ixDONt9ff7ZINeDV1mg0+pqST/vEuOJQmHtaB XJTMQV4j0ooxPsbw4lRdA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:LKKLEsw4yJI=:jwaNZFDAolpPixZ5jEd1+f D8KAjAQT+yNlYj47CqaYIiOoqk0OKwE4UCpgmMG4S7oA7P1jOY7gOnL6q6AMnERenbaKl1jpk bo7JSXM7nxx2o95XKczWcWHNF5XOWKTTgsq+HQxM97GZLju2yxnMx/9EIOdXeEzhkJC8N/VVO xoTdi5arm7H70kQtNc59q91YAKHvdMi+ERQ1AP/9QLDN31RQkJaaSHkOHHHs1AfbaA1/S3A8g PrJi/Mps7kVJwJJ2+0dLXhavO6E9F9JfQsTH5Sx2EA+lHmATcE1nK6Td3/lRjeIQO60HJHqeC DociEw8Ufd7JAAvDe+jvNYqt81ImdkF8CmcAHfUiUZHVNE9h93BYGcUfu8ftqUtbdMY25DbZt 6rdv1TVUKZVzNhBlOI7nkfvmL1h3svbPlI2MjGaKEfE6xLeHrmeh7eUbCKFnjry9acqSstOFA XThEv+OIfM/1GhEIzQi7nmXJ5cXd+YE2fm6VhJFmOrFQRFMMdqY7rrGXE8n7LbncFL7w9ffp9 icpickJOXbT4Ib63hZR0wkdczRYyqep0Zzdsgetxb/rTpTGdEYN0QZn5n2n7xkoFRUdyYdH2T gP3GQ2dA7lPTMreSRVsS99wN76PdmfEOG1vBG7BkcjzID1CrLLfaW5YllLAZdqY4tMfjjgFMb P2PQcUzRhM7QnzDNW2e5XhT4fA1f7o1nawK6hfbkSRIiAvDMTAr1cEsqj/x1qPPI9GmPItD6k F01HG7d3JYbebl7FxUfTucTny/o/Eh7uaFD62E0MoJGb1Lu4dGMi8NjPJwC8xpYP+FufUfXvZ UyDKpYhHJOE1FirDFuI9gcnFiztla+kdXjC1shMMGPpC1hwJYoyzqXdtNbYlEPhkvQa9sdqHc mK9n1vqeRZyx1QCRrUig== X-Rspamd-Queue-Id: 4BZL7X22F2z3YtQ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.99 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_TO(0.00)[hotmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.59)[0.590]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.131:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.131:from]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 16:19:53 -0000 On Sun, 23 Aug 2020 19:09:05 +0530, Manish Jain wrote: > > > On 2020-08-23 13:57, Polytropon wrote: > > Even though this is technically correct, it usually is no longer > > needed. X's auto-magic will do everything on its own, without > > a configuration file. > > Poly, > > I might be mistaken, but X does not always configure itself. > Particularly in case you have an NVidia card, you specifically need to > run nvidia-xconfig to get a good xorg configuration. I have never done that - per definition, it _should_ always work with autodetection magic (and then load the "nvidia" driver). However, specific settings seem to work better when you have an autogenerated xorg.conf file, and you can apply custom alterations to that file if you need. The idea of partial configuration files is that those will override only given aspects of the autodetected configuration (like forcing a specific screen size that deviates from what the autodetection thinks is right). Again, nvidia might be such a case that's a little different from everything else. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Aug 23 16:25:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 441563C18C0 for ; Sun, 23 Aug 2020 16:25:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZLFf1D5nz3ZFF for ; Sun, 23 Aug 2020 16:25:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1M2gt5-1kCuHG3Oql-004EmZ; Sun, 23 Aug 2020 18:25:06 +0200 Date: Sun, 23 Aug 2020 18:25:05 +0200 From: Polytropon To: "Vlad D. Markov" Cc: freebsd-questions@freebsd.org, Polytropon Subject: Re: Reset xorg using lumina desktop Message-Id: <20200823182505.6436ad3d.freebsd@edvax.de> In-Reply-To: <20200823112545.f53fe2a7673752ff48fb093c@aim.com> References: <20200823101906.95819c69.freebsd@edvax.de> <20200823112545.f53fe2a7673752ff48fb093c@aim.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:LcX7a6WZJx+HuijUVXixuS2af8FReVjPpuYjuY2XG1LCZB9vT+F f9+bp30hmYsj7Nt40jCkcM6jnNSqfiJSfQYuJZn7eyb55qwFy1cfDEAoj0qAt/ODqbJDuRS wMkpn9j4hFqe8HkrsqlJCN5l8YnpVfQaIK7S4owlJjkAP5SkcB5c0zILLj7fOxikMn3T7mz 2ctcIC+DHIEiWCSYxGWZg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MZpXx9H+6Fs=:aOizw+BZPxHdAm7cs+Jjvk 3NX9hmYcca7w7mSS+Wz3WWsbh5ZCPZ5xUN29Vghl1OrfDxGU/DfnxRnNlEGuQ6zyHkPLfwTuX LEiwuLRkJucIh/6vp6gB0NgtaJT0ITT87dPN2ddgssDiFdCsIBdXllhZyGA4TWs4MX7WO8PcD mqZ6B6Q26LX24dret52zviomUyO7rdvdmlVOxq3n/Gt7efMiKtGTWypAMeCNHrpfAj/ezTsBQ 9AX/a9sh3bn+ipMCfI/FHmaprwQCBbXoItozNYm3IGomRO2hGHHAfl6ReUal+8pZJli3ecND2 UWYu7vKMGBfGysIa6d/QQH3RT8ASWLjHp+mryrfWdvNfK6/EgSGZNu2/wKP6cScQyq+llVCSP xmTnr0UK85tJn+1gtxQQ4QyW9eCyD4Veq4CakMFhfW6Lh6rAS68jqTH8ONQvQJcTZhTMHT/Dh bMKW57r/ZRwhlpiJj8MhqlD6lpAGZZjUXbNTueuwJvpmzJMsuJ1WAnxt6ggHT24zuqJVWb3hE AK9hIqm/w08pCPJ38lvA2b0lXjFaOZP0VizNdlroH70+8XhEPWN1TUGx0wkGPjGH0mCPU0D56 WWXexfywOr5nFrFGpWAhdrD1q3Qmvm2iBGsVBOi/G1vCmgRvSHo3EPkjt6wa3/WSBD1n4RSxM edETz0yMLih67y3ykKPeSxPhZ0aoAbAr6jbL/gsRD7tyYqGXE7i2fOTBMfwIpvPof38biCOND FzGRfQ5NvfnKANf6OCdu26tnr/uFAtZ15TB6EsxmR9+rWsMAOpBK4UCVKks1+dQXXuufA6i39 x4qAjLWTrffyQsgQLwkUgufex0xmYpyKi1Ec0rcJmYu90G2kJ8CiXWuxRztZm1vbPwOWDSp X-Rspamd-Queue-Id: 4BZLFf1D5nz3ZFF X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.75 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_TO(0.00)[aim.com]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.35)[0.348]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.134:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.134:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 16:25:11 -0000 On Sun, 23 Aug 2020 11:25:45 -0400, Vlad D. Markov wrote: > On Sun, 23 Aug 2020 10:19:06 +0200 > Polytropon wrote: > > > On Sat, 22 Aug 2020 16:27:00 -0500, Antonio Olivares wrote: > > > Dear kind FreeBSD users, > > > > > > I am running FreeBSD using lumina. I was using two screens, one with HDMI > > > and one with VGA at school. Since learning is now online, I am using only > > > HDMI now, but my screen only remembers new setting. I have tried checking > > > /etc/X11/xorg.conf but it is not present. > > > > That file needed to be generated in the past, but it's no > > longer needed (and even the location is not correct anymore, > > today you can use a /usr/local/etc/X11/xorg.conf file, or > > partial files in /usr/local/etc/X11/xorg.conf.d/ with > > configuration fragments). > > > > For example, if you want to force a specific screen size > > ("resolution"), you could use the following: > > > > /usr/local/etc/X11/xorg.conf.d/screen.conf: > > > > Section "Screen" > > Identifier "Screen0" > > Device "Card0" > > SubSection "Display" > > Modes "1024x768" > > EndSubSection > > EndSection > > > > I use this to have a laptop with a native LCD size of > > 1280x800 to display correctly on a 4:3 CRT attached at > > the docking station. > > > > > > > > > I try screen configuration, but > > > cannot reset it to only Monitor with HDMI output. > > > > You can use the xrandr program to manually switch to the > > screen you want. Then add that to your X startup file, > > ~/.xinitrc or ~/.xsession, so it will automatically use > > the desired monitor when you start X. > > > > With xrandr, you can also alter the size ("resolution") > > parameters of the screen, if needed. > > > > However, most of all this stuff should be correctly > > autodetected by X. > > > > > > > > > How can I reset it so I can just have fresh desktop with all icons on the > > > screen? > > > > "Desktop with icons on the screen" is a matter of the deskto > > environment, not of X. Most desktop systems will arrange the > > icons depending on the screen parameters they find. > > > > > > > > > If you need output from xrandr, I can send it in on Monday. When teaching > > > online and using Google classroom, the microphone was muted, I started > > > using telefono to use and connect with it. > > > > Always check mixer settings, levels, selected recording device, > > and for the program in use, which sound system it uses (for > > example, OSS or ALSA). > > > I am not sure but this sounds like an issue I had where the > default was to display on both my laptop and external screens > and I had the laptop closed. All the icons and menu bar were > on the closed laptop and all I saw on the external monitor> > was the background That looks like the system detected two screens and made a "dual head" setup (two physical desktops) automatically, instead of just mirroring the laptop's screen content to the external display. Things like this often can be configured in the BIOS / UEFI setup of the computer. > I solved this using xrandr in my .xinitrc file. I turn off > the laptop display if the external is available and vice-versa > which is probably unecessary. > > #!/bin/sh > #set -x > > intern=LVDS-1 > extern=VGA-1 > > if xrandr | grep -q "$extern connected"; then > xrandr --output "$intern" --off --output "$extern" --auto > # echo "turning on external" > else > xrandr --output "$extern" --off --output "$intern" --auto > # echo "turning on internal" > fi That is a good approach to handle this kind of situation. :-) As I mentioned, you might currently see a specific attempt of the desktop environment to handle two screens, which adds more complexity than just mirroring the screen content (both displays show same desktop), and just ignore the (closed) laptop display when you can see the screen content on the external display... Note: You can also use xrandr to change screen size if it is needed for the external display (different geometry or different native screen size). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Aug 23 23:46:06 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B8003CF8D5 for ; Sun, 23 Aug 2020 23:46:06 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout001aa.msg.pkvw.co.charter.net [47.43.26.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZX2P5jM4z3Y7S for ; Sun, 23 Aug 2020 23:46:05 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id 9zZXkibZv9Ggi9zZYke2Ol; Sun, 23 Aug 2020 23:38:48 +0000 X-Authority-Analysis: v=2.3 cv=Cb52G4jl c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=gtehjUBVFWmchk1WwFwA:9 Date: Sun, 23 Aug 2020 23:38:22 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: Is there a bug with FreeBSD list servers? X-CMAE-Envelope: MS4wfIuLMZNyxAmqB8kfKQSCLDjJmhAAgI2iLrkK04PnGeXLfSHAov70MNgXeLF9lr4nStqLm6rLz9F0uwiGwykN6jmHu2Kjp9Ji6o77Sh7xeXafM7V17Kyx MbRN/8psvJXKS92/cLIbHTEv+o6EKOnWHVgF8Q7qQ7TJ7/H9OcmxKM249NUzcA5WtmFc5Gq/aMiSJQ== X-Rspamd-Queue-Id: 4BZX2P5jM4z3Y7S X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 47.43.26.132 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [4.41 / 15.00]; FAKE_REPLY(1.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; GREYLIST(0.00)[pass,body]; NEURAL_SPAM_SHORT(0.21)[0.210]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 23:46:06 -0000 > I notice in the past three or four days that I have received very few messages from FreeBSD lists, and I am subscribed to many, including freebsd-questions and others. > I received 0, 5, and 3 messages in the last three days. I accidentally sent this old message last night, the bug this time was between my fingers and eyes. Message was relevant some time back, but now it can be ignored. Sorry! Thomas Mueller From owner-freebsd-questions@freebsd.org Sun Aug 23 23:55:31 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E2943CFEA3 for ; Sun, 23 Aug 2020 23:55:31 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZXFG0Qq3z3YND for ; Sun, 23 Aug 2020 23:55:29 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 07NNtLL5056592; Sun, 23 Aug 2020 17:55:21 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: virtualbox startup error To: Dale Scott Cc: freebsd-questions References: <98c60652-833e-3716-1295-f959d1309fc3@dreamchaser.org> <749606899.265958105.1597970596758.JavaMail.zimbra@shaw.ca> From: Gary Aitken Message-ID: <15b9d8e1-bfbf-e06e-fa15-05a5b07d573e@dreamchaser.org> Date: Sun, 23 Aug 2020 17:53:53 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <749606899.265958105.1597970596758.JavaMail.zimbra@shaw.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 23 Aug 2020 17:55:21 -0600 (MDT) X-Rspamd-Queue-Id: 4BZXFG0Qq3z3YND X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-0.50 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.20)[-0.203]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 23:55:31 -0000 On 8/20/20 6:43 PM, Dale Scott wrote: > I run vbox headless and install binaries using pkg. However, the > kernel module MUST be compiled from source (I used to know why... > ;-)) > > install virtualbox-ose-nox11 use portsnap to install and/or update > the ports tree make install virtualbox-ose-kmod from the ports tree > > Fwiw, I use phpvirtualbox for management, it's practically identical > to the native VirtualBox UI (but does require configuring a web > server). Thanks for the info. Installed a fresh ports tree and have vboxdrv.ko (5.2.44_1) loaded. Installed virtualbox-ose-nox11 from package. Modified aio sysctl fields as indicated. Where does one find phpvirtualbox? I don't see it in the ports tree. Thanks, Gary From owner-freebsd-questions@freebsd.org Mon Aug 24 00:21:54 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 02A7D3A8566 for ; Mon, 24 Aug 2020 00:21:54 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZXqh2npCz3ZKR for ; Mon, 24 Aug 2020 00:21:51 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from [10.94.186.5] ([174.90.223.0]) by shaw.ca with ESMTPA id A0F3kTsbXYYpxA0FAkKlOn; Sun, 23 Aug 2020 18:21:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1598228509; bh=Q8K6EVQfYg94/QBLlmBerTgIlTEUtxatJCfkOTMcH88=; h=Date:Subject:In-Reply-To:From:To:Cc; b=p+VtukxTRbzNbLc/lbqyplowMMSCilDdH2DX1V6sodABJeumobRkynv1ueiJPgJWK kUDIi+HJVirbBTklzE3/jpn9K9Vf0hgmk8b8bVUSwuw/T7G2iLNh+5E/eGFGTnOXf9 gNoYh08we1d3rVpz2DG2cdiLHBO+gu/yFvvnyiO0oM3MhOBUVvBmCgcRhPoOUhBK3W aAeVh2v3Xhal6Er5rU+IuYyspGG+VWmLbDEpwG3fo1/Jk6k5Z7wGSJZRVUhShs6fAl v2oF7hsNA5WeovzujeYqphw3QAHPZOe31nUqphsnl0EQr6ooIrKnA3nUb+sFrTwxur C5Jn2taWaHD4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1598228509; bh=Q8K6EVQfYg94/QBLlmBerTgIlTEUtxatJCfkOTMcH88=; h=Date:Subject:In-Reply-To:From:To:Cc; b=p+VtukxTRbzNbLc/lbqyplowMMSCilDdH2DX1V6sodABJeumobRkynv1ueiJPgJWK kUDIi+HJVirbBTklzE3/jpn9K9Vf0hgmk8b8bVUSwuw/T7G2iLNh+5E/eGFGTnOXf9 gNoYh08we1d3rVpz2DG2cdiLHBO+gu/yFvvnyiO0oM3MhOBUVvBmCgcRhPoOUhBK3W aAeVh2v3Xhal6Er5rU+IuYyspGG+VWmLbDEpwG3fo1/Jk6k5Z7wGSJZRVUhShs6fAl v2oF7hsNA5WeovzujeYqphw3QAHPZOe31nUqphsnl0EQr6ooIrKnA3nUb+sFrTwxur C5Jn2taWaHD4g== X-Authority-Analysis: v=2.3 cv=OubUNx3t c=1 sm=1 tr=0 a=ITu9ueCGOfkY25G35r0SgA==:117 a=ITu9ueCGOfkY25G35r0SgA==:17 a=IkcTkHD0fZMA:10 a=q56oFxeYAAAA:8 a=0wQVMjYSAAAA:8 a=3ora0GgmW_o7krW3NYIA:9 a=FSZ2f7kjxo14hvs6:21 a=QEXdDO2ut3YA:10 a=alfika9A3qoA:10 a=wg_itIHN7xwA:10 a=qBExKzQAi2vkqq_k2JMc:22 a=ibV0ZHtNwtz4ncopG1mI:22 Date: Sun, 23 Aug 2020 18:21:38 -0600 Subject: Re: virtualbox startup error Message-ID: <4a3dd533-ae7a-4043-881c-9e97c303b730@email.android.com> X-Android-Message-ID: <4a3dd533-ae7a-4043-881c-9e97c303b730@email.android.com> In-Reply-To: <15b9d8e1-bfbf-e06e-fa15-05a5b07d573e@dreamchaser.org> From: dalescott@shaw.ca To: freebsd@dreamchaser.org Cc: freebsd-questions Importance: Normal X-Priority: 3 X-MSMail-Priority: Normal X-CMAE-Envelope: MS4wfHjjIoOSAaL4vJCY+HIuVShF6mYcDk6BrhGyKnrlPK30ndXPspPycrHqwqsOfhsh9vNm0IX7gS2v3bo0kmCHWk8YVAoObf57Uz+YEwXw0fWCCoaB6eVb avYHgMW3MmX4HfZlE3HjzKP/PeenFeOA5qwSHR9O2IYMXfKOilDgwtHx9qZeOgXdPaKqOhamUia8eO2MfhbgwLoxRo9JYNAcEEA= X-Rspamd-Queue-Id: 4BZXqh2npCz3ZKR X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=p+VtukxT; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=p+VtukxT; dmarc=pass (policy=none) header.from=shaw.ca; spf=pass (mx1.freebsd.org: domain of dalescott@shaw.ca designates 64.59.136.137 as permitted sender) smtp.mailfrom=dalescott@shaw.ca X-Spamd-Result: default: False [1.71 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[shaw.ca:s=s20180605]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.59.136.128/27]; DMARC_POLICY_ALLOW(-0.50)[shaw.ca,none]; RWL_MAILSPIKE_NEUTRAL(0.00)[64.59.136.137:from]; MIME_BASE64_TEXT_BOGUS(1.00)[]; DWL_DNSWL_NONE(0.00)[shaw.ca:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[shaw.ca:+]; MIME_BASE64_TEXT(0.10)[]; FROM_NO_DN(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; MIME_HTML_ONLY(0.20)[]; NEURAL_HAM_SHORT(-0.59)[-0.595]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:~]; MISSING_MIMEOLE(2.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.59.136.137:from] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 00:21:54 -0000 From owner-freebsd-questions@freebsd.org Mon Aug 24 00:53:49 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8387A3A9815 for ; Mon, 24 Aug 2020 00:53:49 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZYXX1QZTz3c11 for ; Mon, 24 Aug 2020 00:53:47 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from [10.94.186.5] ([174.90.223.0]) by shaw.ca with ESMTPA id A0jykU2UaYYpxA0k6kKqSC; Sun, 23 Aug 2020 18:53:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1598230426; bh=RaY4xTUiUykwOAJdPHGtNlSKzp2NQeTPzvZPHk25l7U=; h=Date:Subject:In-Reply-To:From:To:Cc; b=FqBYIrlyNK7GkjC2yEXQnhnYa7veais3PGYpAtT17gWeTjzaG7Ujp5yqTQmFDjlIq bkFXXB2/dQxswoPv7HyQF5ngVb/z+31Xgu+S26jR44ZfSirO77lIVGm26qYZ5zcKv1 QFBYNiYnefcbvDcRbYjDXoIKk3nvxD5VGeCGQKbBTOz7/sUc5xdXqwsJdKM+xgdOQw 0KHV/3eM02d6+GVFaQ/0tNPNfyaci7k+TNCRSqpZiMo7AXXWLO1W3JRryHXdAGQiaN Rd7bN3jZuJw8CpiwhMCF7+mAvG+ZcYOgidiayIa4a23Edo7RunnLYX1sijGYFcfod+ qFoe3h89YmIxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1598230426; bh=RaY4xTUiUykwOAJdPHGtNlSKzp2NQeTPzvZPHk25l7U=; h=Date:Subject:In-Reply-To:From:To:Cc; b=FqBYIrlyNK7GkjC2yEXQnhnYa7veais3PGYpAtT17gWeTjzaG7Ujp5yqTQmFDjlIq bkFXXB2/dQxswoPv7HyQF5ngVb/z+31Xgu+S26jR44ZfSirO77lIVGm26qYZ5zcKv1 QFBYNiYnefcbvDcRbYjDXoIKk3nvxD5VGeCGQKbBTOz7/sUc5xdXqwsJdKM+xgdOQw 0KHV/3eM02d6+GVFaQ/0tNPNfyaci7k+TNCRSqpZiMo7AXXWLO1W3JRryHXdAGQiaN Rd7bN3jZuJw8CpiwhMCF7+mAvG+ZcYOgidiayIa4a23Edo7RunnLYX1sijGYFcfod+ qFoe3h89YmIxQ== X-Authority-Analysis: v=2.3 cv=OubUNx3t c=1 sm=1 tr=0 a=ITu9ueCGOfkY25G35r0SgA==:117 a=ITu9ueCGOfkY25G35r0SgA==:17 a=IkcTkHD0fZMA:10 a=q56oFxeYAAAA:8 a=0wQVMjYSAAAA:8 a=jVWcOOBM4j9P_xl7ND0A:9 a=qhGCj6CLNgSX5EX-:21 a=QEXdDO2ut3YA:10 a=alfika9A3qoA:10 a=wg_itIHN7xwA:10 a=qBExKzQAi2vkqq_k2JMc:22 a=ibV0ZHtNwtz4ncopG1mI:22 Date: Sun, 23 Aug 2020 18:53:36 -0600 Subject: Re: virtualbox startup error Message-ID: X-Android-Message-ID: In-Reply-To: <15b9d8e1-bfbf-e06e-fa15-05a5b07d573e@dreamchaser.org> From: dalescott@shaw.ca To: freebsd@dreamchaser.org Cc: freebsd-questions Importance: Normal X-Priority: 3 X-MSMail-Priority: Normal X-CMAE-Envelope: MS4wfAc9FEvYipOtFJkO3qILeQ5/W4onxA8b/F3k0tse1VFXZlLVKlf+SXiGxVloxgYWsWpmoExBKZuNtM+bkXn9IS2fITl8v1NPbm4r/0Y/Zi7E/uVQTn8o gE8eHNaJeehgdUFwnonIb9E//bkUWlaH9iAKOVGL0Ad+LFs4WxLqdXj3+x5BiS7+fQsK/47Cy6gERfOKr3bN2QsQkTXprAod9as= X-Rspamd-Queue-Id: 4BZYXX1QZTz3c11 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=FqBYIrly; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=FqBYIrly; dmarc=pass (policy=none) header.from=shaw.ca; spf=pass (mx1.freebsd.org: domain of dalescott@shaw.ca designates 64.59.136.139 as permitted sender) smtp.mailfrom=dalescott@shaw.ca X-Spamd-Result: default: False [1.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[shaw.ca:s=s20180605]; RCVD_IN_DNSWL_LOW(-0.10)[64.59.136.139:from]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.59.136.128/27]; DMARC_POLICY_ALLOW(-0.50)[shaw.ca,none]; ARC_NA(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[shaw.ca:+]; MIME_BASE64_TEXT(0.10)[]; FROM_NO_DN(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; MIME_HTML_ONLY(0.20)[]; NEURAL_HAM_SHORT(-0.60)[-0.604]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:~]; MISSING_MIMEOLE(2.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[shaw.ca:dkim] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 00:53:49 -0000 From owner-freebsd-questions@freebsd.org Mon Aug 24 02:02:41 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 91A083AB0D4 for ; Mon, 24 Aug 2020 02:02:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZb400cbYz3fyq for ; Mon, 24 Aug 2020 02:02:39 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id F04C84FA for ; Sun, 23 Aug 2020 22:02:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 23 Aug 2020 22:02:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=j9nRWD6WNDCdBW3DREhlSfM0TlD ylvts+kI16kkczBA=; b=EPfCoV1QLhgHtc9v4pC1e5v5vqrIYP5hJLe3QIY0Wsl kcL/CVf0FiVV9lhkN2vBp6CjEdKx9T72kI1wiHgqw3uxtALmgtwNZfEUXv/YKd4Z NCKVgffhEopD8P6nlKEKm72aoMPVZJJ8p7A+0IeCIpkeXjL0WBCUs66FXTGpULTc 3E7TyhIz8fxnU1UG9PJHWgx/xM9YNjQw5seAQU9fA6MfdqCAvcZG4zER0kQV4sGj 4pxP339B/VDHrvK0sOakxJC20SlmZDEHiGbfVOJ56bnRqdDiT3OVGFg6FU9q1ZEa jFqgb8R2Gm2zxvs+qr6KkXNFbMEZMcILkKA1fQiIXmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=j9nRWD 6WNDCdBW3DREhlSfM0TlDylvts+kI16kkczBA=; b=ju0OgvDI3S9RKZ5eN45Jfg UUuEvrbQ2XhKTdrs3CK9LQZIeMxiZi2lsYt/DdeuVCUG6DZQr31b4Ohyf3FreOcb WUqTxsleGUYLDiwRCTtQB29MtumUPOKhcR6miHSURVobisw5Qj5bgt0reQXe8Yf9 2CHyPkbs3a8UoE0bsb18NZiniJ072M7bMH6+D59rg13qx8AHaDPuhX2okgMCsJ7R /Z/xRhf2ttK+3kD12ofKVNy4z+WMzk94heXJS+Z8AIyXxjdXRvVsERB1KpVmb0/w BUBaoGSHlMyr595Vurintc6+BGbMBEYHiqnajsrOiuKma/218h80uQk3uR5pl4LA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddujedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkedvrdejtddrledurdelleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthh dqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id D066B306005F for ; Sun, 23 Aug 2020 22:02:36 -0400 (EDT) Date: Mon, 24 Aug 2020 03:02:07 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: adding disk to zfs mirror after removal of disk Message-ID: <20200824020207.GB17289@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20200821230206.GA56267@bastion.zyxst.net> <20200822050431.GA17289@bastion.zyxst.net> <9274f688-2897-8d0b-d799-100316684b06@holgerdanske.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline In-Reply-To: <9274f688-2897-8d0b-d799-100316684b06@holgerdanske.com> X-Rspamd-Queue-Id: 4BZb400cbYz3fyq X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=EPfCoV1Q; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=ju0OgvDI; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-3.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.21:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.68)[-0.677]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 02:02:41 -0000 --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 22, 2020 at 04:05:36AM -0700, David Christensen wrote: > >I should have said this before -- first, back up all of your data. The data was disposable. Theres an arguement for not using zfs at all with these two disks as it contained only a poudriere installation. In the end, I deleted the pool and re-created it, and moved poudriere configs off to anot= her server. Fortunately the disk seems overengineered in the remappable space department, with 759 sectors remapped. At least that number isnt increasing. smartctl -t long passes. Seems what I should have done is zpool replace ada3 ada3 after fixing the failing disk, in order to retain the mirror. >I use a version control system (CVS) and create a project for every >computer. Inside each project, I maintain a plain text "administrative >log file" where I write notes to myself of what I'm doing, where, when, >and why. I copy and paste important console sessions into the log >files. I also check-in any system configuration files I create or >modify. All of this effort provides invaluable information for >historical research and future use. If you're not comfortable with a >version control system, putting stuff on a USB drive (and backing it up >frequently) is better than nothing. Funny you mention this, I'm doing exactly this (with cvs too) for the same purpose, on a dedicated machine. thanks for your help, --=20 J. --jq0ap7NbKX2Kqbes Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9DH6QACgkQs8o7QhFz NAUqaQ/8DkRwRP0dyP2d1hZ3kSG/8yVg9C6BA16o8IsHDA+eZoYFKPWqUZPcf2Bi TIssJVA5Hn4Lgj5CRIPT76oqZHrvVSjwhCBCY2YONRVx9UHGhaHbA0wF6KZUTUA0 jLfuR62m80zQ27choVG6f5tqw+v5r+tqTkt8hk4TGRT4eOY6DKAPty6iXOGcidba ytb9WiRuPy1i0a3s5IKWIKK32ynkCrfRfwS6y7DXLU7HaQznikWzrTMFOeJjUX6p nk8GKg+YBaKu32Ceb2EdYVbge8IKatSoCsPfKCiyZfG68x5XrPMOOmRN08N87RrY /JuRHogg38ZKBzAzcDpW3RkGoxBBeXJHnOw/oxfL1yI24NjuaYWUAP3yHSqxfrgB +4JnZ34v8VCLcdOlVJovV14V8t/5sZn/ploQm4F65Ye/5BiquHyQ6meYGqq4l34h ayRg4USksADfTFhCtGUzkPhQa1OseMsH/8zZHTIDq/lfXHoPs1T6Ufa0bwUkBmo0 P08t4j3sbeFQrT0FjzW5YnDnEDCyKStkK0NQhyAqN3VIcNRt4QQ5HtVmDd8d+jL+ UAp3qgOqrdunhKNuVzdcLFdGUSZbzAmQcWNsyylNZCOe45b5BT6mEHIH80Jtf6mD UHDk8bdLvvdQIpQTkje9ZKEIPcOtxN9Y1BpbptoEdD5sRj9B9kY= =5z7S -----END PGP SIGNATURE----- --jq0ap7NbKX2Kqbes-- From owner-freebsd-questions@freebsd.org Mon Aug 24 02:10:43 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D84063AB06B for ; Mon, 24 Aug 2020 02:10:43 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZbFG5Wkxz3fv4 for ; Mon, 24 Aug 2020 02:10:42 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 51373547 for ; Sun, 23 Aug 2020 22:10:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 23 Aug 2020 22:10:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=cR5p/FxeyQD4NQ0H9zOd5FfmoCsbZJn/IK2ccCAIp0A=; b=aNhLOzD6 62h4XzUAhHayJGf9uTtrnmGM1t4+Gtb4N55AoHV+ToU6inKr0HIFWuC24xx+bJDB Ce5yOxEL/K70PFMM2WPrJQMnTHB4tr2jQqNSMd9S1DflGOaiNHivI1hkJ4mh8xud L52B4QeHNLMyfoxHsEIEExZifppH1I0vbEg6MT56zWRvwGKTBmZRrz5fjDCnRkhh 02VyM+/hS1LsQZBuLLOKGsbHEBOSTai6tV9G4UHoNfUsgogGem3eceXsGPymwfH8 g1OK5ng7BO9itIoQKmqIEnDx6Rs0lc16iVMgM83ncTk5LrFhAkOIgZZlVW5uiUTA B4FTAeenidheFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=cR5p/FxeyQD4NQ0H9zOd5FfmoCsbZ Jn/IK2ccCAIp0A=; b=rNR125lo+dCtGNzEI4TyvuGQ/dFJdqvt2z5XhP14XJyv4 GOZ5jciYY3GqaSxUo5s3hfWJ4JjJJLX0NcUNk3hQvgJbH1Oqg30HfyTVr0a6L8Rz /3eOWM44pWfC/KATwmTmz5mfPtwgEm5YLqMEawyLczxle2BS+ByylfvowCno5kKS 6KzrssCH8Nw0/UX1rbHFX9lzw/axAUzL5huyVVH/0IHmfvN0sI7VumTZNPWXH0w9 2VKiuv2GtihdLwqZYmbx77N1jXXusLA61EqSJvSrtLxFHx7xvgF8jUnD/qVSbUdI C1B2j1mP3WcSyLG4MMHmALzHD7C6egBCGkHTIEqTA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddujedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesghdtreertd dtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseiihiig shhtrdhnvghtqeenucggtffrrghtthgvrhhnpeevgffhffdtfeekleelhedtjeelvdfhvd egieejveffgfduvdfhteegjeeujeeuieenucfkphepkedvrdejtddrledurdelleenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlh hishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 216B93280064 for ; Sun, 23 Aug 2020 22:10:39 -0400 (EDT) Date: Mon, 24 Aug 2020 03:10:10 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: which gcc works on mips64? Message-ID: <20200824021010.GC17289@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7qSK/uQB79J36Y4o" Content-Disposition: inline X-Rspamd-Queue-Id: 4BZbFG5Wkxz3fv4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=aNhLOzD6; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=rNR125lo; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-2.36 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.21:from]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.66)[-0.664]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 02:10:43 -0000 --7qSK/uQB79J36Y4o Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, which gcc builds/is meant to build on mips64? thanks, --=20 J. --7qSK/uQB79J36Y4o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9DIZ0ACgkQs8o7QhFz NAVUcA/+JLzubwWeNrIzGbQuHz85hPR8mBcau1gl2wWGU11KRxQGN4QXKs+Z+5OW 4qM0L3DjWvZDMxUW6lWVdh0s2Wwpo+X87fAy5AV1NoyoE8GuYzxmkfW1cblQFNHz fyzzA9buds2zTCIHeK3j1VxkU2suIbDDWiHR8jrWTBnI9XcfK+ckFmRG68OnGmys SIU2ECUEok5gyqr7yBQgk1fYemRFNoHZAhElq8xIrkQsR1dUEej2sYvYn/Zwgypy XIuHvbBuTFRwpqb4o0d2eVTGGWvziSH9d6tsjznY8SkgKQgihV8s+MbodydA3xO3 AZHzY2HjvuSNrrsMrAWwUGV1i6WDShr4PfqdG0VtqcFnL9n7/LQXejRdJ4xo7pFo Kd51Nc0MBp3sXmXCHwtX9DdHHiHJTdcyHXfZ8OVIH3qVrl75rsFfQ+KMlNI1/O/d wI332vrcD6NI3WShegCup6pG1dZpvlSM15/rTxitUqMZd3FmvEkfqRKkQwZlauza KD9rGZsr020GV5PrqxX3i7D5z0JO/zbkl1ADkPaRdww2be50Q2tuD9OQa4+OUS1C x7WTkQxKhqo2TZ7MPIdkd9gkG8YPnErlDjwe27rhiONTf3zlc2jUHUQl+WlW8OBQ qzBCP7vqGwcWh5yNsEX/r2kealoy6VkS6HDOC7zC0choQs0O2AM= =x8ad -----END PGP SIGNATURE----- --7qSK/uQB79J36Y4o-- From owner-freebsd-questions@freebsd.org Mon Aug 24 03:33:08 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A74873AD42F for ; Mon, 24 Aug 2020 03:33:08 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZd4M2pcJz42m7 for ; Mon, 24 Aug 2020 03:33:07 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 07O3X43m057134; Sun, 23 Aug 2020 21:33:04 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: virtualbox startup error To: dalescott@shaw.ca Cc: freebsd-questions References: <4a3dd533-ae7a-4043-881c-9e97c303b730@email.android.com> From: Gary Aitken Message-ID: Date: Sun, 23 Aug 2020 21:31:37 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <4a3dd533-ae7a-4043-881c-9e97c303b730@email.android.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 23 Aug 2020 21:33:04 -0600 (MDT) X-Rspamd-Queue-Id: 4BZd4M2pcJz42m7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-0.55 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.25)[-0.251]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 03:33:08 -0000 On 8/23/20 6:21 PM, dalescott@shaw.ca wrote: > It should be there.... https://www.freshports.org/search.php?query=Phpvirtualbox&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive > Where does one find phpvirtualbox?  I don't see it in the ports tree. Thanks; now I'm really confused. Why doesn't the "make search" below find it? This is on a newly portsnap fetch and extracted tree; it has not had an update done yet. /usr/ports$ make search name=phpvirtual /usr/ports$ /usr/ports$ make search name=virtual | egrep "Port|Moved" Port: x11-servers/XFree86-4-VirtualFramebufferServer Moved: Port: print/virtualpaper Moved: Port: emulators/virtualbox Moved: emulators/virtualbox-ose Port: emulators/virtualbox-ose-legacy Moved: Port: emulators/virtualbox-ose-kmod-legacy Moved: Port: emulators/virtualbox-ose-lite Moved: emulators/virtualbox-ose-nox11 Port: devel/py3-virtualenv Moved: devel/py-virtualenv@py36 Reason: Moved to a flavored, generic, version /usr/ports$ find . | grep -i phpvirtual ./www/phpvirtualbox ... /usr/ports$ ls -dl www/*virtual* drwxr-xr-x 3 root wheel 512 Aug 22 16:40 www/phpvirtualbox Gary From owner-freebsd-questions@freebsd.org Mon Aug 24 05:43:12 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23F9F3B0547 for ; Mon, 24 Aug 2020 05:43:12 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZgyQ6pt8z47H4 for ; Mon, 24 Aug 2020 05:43:10 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from [192.168.0.18] ([174.0.43.39]) by shaw.ca with ESMTPA id A5G5kS9tj62brA5G8k8XnI; Sun, 23 Aug 2020 23:43:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1598247789; bh=9d6FyxxSYclv1r+CV9g2erbbqGuPsaA4fz5qJ40+LwU=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=pdcq/jbgOOs6C6dSSu+IKNw54ZsUzP46pIloXJXzxJiozIaLDnEgzcsMNfb9uF6Yb PycsRdS4Ps+Iy9zCJ2nD7bBmGcW6Jb6OdFT0gtAxx610NsANhlSSYZsvZZQObaXjuD AAmV02NvP9CtV5yc5yP3Hm9tXORwc2QNAcgVmP3Pog/90hAIqSoJJFYO7laXyghTYF q66EW4ybA2Qji8wSrXQFJ3HpNyvNKbKa8F0z5Yo3cEOY+vv75q0OEDoQOck9pwjJvO Pfwzn6h4OIcNuQ/MRbd3Wy/dSk/r6d5X6c/bzTKxZthPopU45GWOoykMNKU6pRy0WF pj9a6nWPx22pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1598247789; bh=9d6FyxxSYclv1r+CV9g2erbbqGuPsaA4fz5qJ40+LwU=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=pdcq/jbgOOs6C6dSSu+IKNw54ZsUzP46pIloXJXzxJiozIaLDnEgzcsMNfb9uF6Yb PycsRdS4Ps+Iy9zCJ2nD7bBmGcW6Jb6OdFT0gtAxx610NsANhlSSYZsvZZQObaXjuD AAmV02NvP9CtV5yc5yP3Hm9tXORwc2QNAcgVmP3Pog/90hAIqSoJJFYO7laXyghTYF q66EW4ybA2Qji8wSrXQFJ3HpNyvNKbKa8F0z5Yo3cEOY+vv75q0OEDoQOck9pwjJvO Pfwzn6h4OIcNuQ/MRbd3Wy/dSk/r6d5X6c/bzTKxZthPopU45GWOoykMNKU6pRy0WF pj9a6nWPx22pg== X-Authority-Analysis: v=2.3 cv=LKf9vKe9 c=1 sm=1 tr=0 a=TiBur8m8wieNAdBnNdHE5Q==:117 a=TiBur8m8wieNAdBnNdHE5Q==:17 a=IkcTkHD0fZMA:10 a=0wQVMjYSAAAA:8 a=_Dj-zB-qAAAA:8 a=q56oFxeYAAAA:8 a=wd_u6cwRaTz0JWwa1mQA:9 a=QEXdDO2ut3YA:10 a=alfika9A3qoA:10 a=wg_itIHN7xwA:10 a=ibV0ZHtNwtz4ncopG1mI:22 a=c-cOe7UV8MviEfHuAVEQ:22 a=qBExKzQAi2vkqq_k2JMc:22 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: virtualbox startup error From: Dale Scott X-Mailer: iPad Mail (16G201) In-Reply-To: Date: Sun, 23 Aug 2020 23:43:05 -0600 Cc: freebsd-questions Content-Transfer-Encoding: quoted-printable Message-Id: <265ED247-AAE8-41CD-9987-B1A2DD0A3D0F@shaw.ca> References: <4a3dd533-ae7a-4043-881c-9e97c303b730@email.android.com> To: freebsd@dreamchaser.org X-CMAE-Envelope: MS4wfHBwXt9UuY8K845PlzJAu9TwbQry1kPzP/Wg3mbPAFgYMos+CO/bvd/cuNXJ8aqxAXC1hZU/swngo9lu2nyuDHIiDS948FDVbiKuUgCCuWKNNs19HkVJ ruTGYUKnrwhaB5ArpR5ocQIMdjRxgPGIVrnH3zEp3DXpW0m7ne1kIkdcEq6Y0U+V+KiLoj2fzyBD66Wkuj+OGHi/Zky6133Y8uN71WamxVnH0/KhkazQ3WCg 1ECdIqcIbQOAfrRLky7FVQ== X-Rspamd-Queue-Id: 4BZgyQ6pt8z47H4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=pdcq/jbg; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=pdcq/jbg; dmarc=pass (policy=none) header.from=shaw.ca; spf=pass (mx1.freebsd.org: domain of dalescott@shaw.ca designates 64.59.134.13 as permitted sender) smtp.mailfrom=dalescott@shaw.ca X-Spamd-Result: default: False [-0.96 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[shaw.ca:s=s20180605]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:64.59.134.0/25]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[shaw.ca:dkim]; RECEIVED_SPAMHAUS_PBL(0.00)[174.0.43.39:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[shaw.ca:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[shaw.ca,none]; NEURAL_HAM_SHORT(-0.36)[-0.359]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.59.134.13:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 05:43:12 -0000 Thinking about it now, I have always cd=E2=80=99d to the port directly after= first finding the category with freshports. > On Aug 23, 2020, at 9:31 PM, Gary Aitken wrote: >=20 >> On 8/23/20 6:21 PM, dalescott@shaw.ca wrote: >> It should be there.... https://www.freshports.org/search.php?query=3DPhpv= irtualbox&search=3Dgo&num=3D10&stype=3Dname&method=3Dmatch&deleted=3Dexclude= deleted&start=3D1&casesensitivity=3Dcaseinsensitive >=20 >> Where does one find phpvirtualbox? I don't see it in the ports tree. >=20 > Thanks; now I'm really confused. > Why doesn't the "make search" below find it? > This is on a newly portsnap fetch and extracted tree; it has not had an up= date > done yet. >=20 > /usr/ports$ make search name=3Dphpvirtual > /usr/ports$ >=20 > /usr/ports$ make search name=3Dvirtual | egrep "Port|Moved" > Port: x11-servers/XFree86-4-VirtualFramebufferServer > Moved: > Port: print/virtualpaper > Moved: > Port: emulators/virtualbox > Moved: emulators/virtualbox-ose > Port: emulators/virtualbox-ose-legacy > Moved: > Port: emulators/virtualbox-ose-kmod-legacy > Moved: > Port: emulators/virtualbox-ose-lite > Moved: emulators/virtualbox-ose-nox11 > Port: devel/py3-virtualenv > Moved: devel/py-virtualenv@py36 > Reason: Moved to a flavored, generic, version >=20 > /usr/ports$ find . | grep -i phpvirtual > ./www/phpvirtualbox > ... > /usr/ports$ ls -dl www/*virtual* > drwxr-xr-x 3 root wheel 512 Aug 22 16:40 www/phpvirtualbox >=20 > Gary From owner-freebsd-questions@freebsd.org Mon Aug 24 08:40:24 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 439FD3B5A09 for ; Mon, 24 Aug 2020 08:40:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZlts3q92z4N34 for ; Mon, 24 Aug 2020 08:40:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MTRhS-1k4Vpe11h6-00ThP2 for ; Mon, 24 Aug 2020 10:40:18 +0200 Date: Mon, 24 Aug 2020 10:40:17 +0200 From: Polytropon To: FreeBSD Questions Subject: Suggestion regarding fsck output enhancement Message-Id: <20200824104017.4c241ec0.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:c5O3UR/dU8eeSPyhpmHL16xg2G/8DbbHiPu4GF+3IayCjcg4snG +iQ0RD6VITH13ldXmtET7XLY+GCKykKmUAu9TU0YMaXUoNm/cV8GKie9iH3VEfMpafQc3w6 PjCehxgMPIxQRiRPLyqvvyJVdCtq2i77PxRRAC27sZHeYBJiKEa+/klNJhLsVYto0tKJ0tW J6hERosbJYxqVD0ZCl/7Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+cTKbPpsrX4=:ffFHEtdCoRcIOp60yT8Ndl No7YQnGB2L6c8JLDKQFh3OFgj65zyyo0FeNN2HUd59mJPf+Mc7+Gkc4LP0Z9IH+gVzfg0K+SL WiA3DOjwc7DMdRL4tyaqq5WEuikQ8pBhJHx0jcmWly7eMxS8lYP2ZrizHJWKz1CqI/JV2lGG3 b7+tLqpXE7ILWFH/HwMxedizVMgdn53aAG4EoPFK90MsXlGghS3CLTkHjqTZ8zSL8iCrcwxE5 a3ZSqKaSAb+OB1UrCmdtc3BiAUyHlcI4e9jVWm0aOL4elEYOtBtcd77d8TtODyD/4Q1KMvsqY TGkxl9slixlRygaaYa3VErYgfBe8Zi3pZVBOueXAJHO7SRIfOIbpa/4Bl6mUKfK3DLbdrC2U1 o6fAx1s/32ytE2WBBQazeyv5Y1VWIcJRi6NTGd+rp4wqkJmQt9fAUgR3dMbyKEeG3DKSzg8yH AI72NCJ+l0XD1KD910uxZHKpOhmfhQ5I3CxY8EFD6CQCY9G00DK6sQkGP2WIPEzgLHdfH9TDE VZyto/5mU4T5Mq7QOtHMXrTv06FgkVYo12DPrqUFygPhFLSq0+HYvpZgi3LZeG+NhbV5sEVMe 64R1XEr/7nYck1l+FoASRXv94f9B/2cxr/tPEhIfrxFXX7VT/GyIxX/Xlm+1dJXzgR5EaKt56 iTLsbQpR4dMoGvpH9ZIOuh/ZiiAAb7m1eAM9duBhSuiAKtPzJqZfSdVrtlVAUHmxIx5EmVHVu Ll+tcve1T4KiRCxhuJxDtCv0acAfWcJIlHg/oVxHK1OrBC7qNrywzmit0NtQzwC7QgWGBM7iQ z0cSHYcbqfv85D5e8zJx9ljdhUUvmTlcswvwI59LcrHVkZ/2ivUqprG2LGhp5OoxXsp9OUh X-Rspamd-Queue-Id: 4BZlts3q92z4N34 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.71 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.31)[0.310]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.13:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.13:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 08:40:25 -0000 Today I came across a situation where I would think fsck should output a little more information, which would be helpful especially in diagnostics and dry-run sessions prior to recovery. Example: INCORRECT BLOCK COUNT I=24236 (288 should be 268) CORRECT? yes Or: UNREF FILE I=63518082 OWNER=test1 MODE=100644 SIZE=0 MTIME=Aug 24 09:45 2020 RECONNECT? yes In both entries, the inode number is mentioned. Wouldn't it be nice to display a file or directory name, if possible, to show what file could be affected? Basically, it's what you can already manually do: 1. run fsck in dry mode (only list actions, do not take them) 2. note inode numbers 3. use fsdb to find out what the inodes point to 4. take specific action prior to fsck if needed My suggestion would be: If this kind of information is available, fsck should display it, for example: INCORRECT BLOCK COUNT I=24236 (288 should be 268) FILENAME ada0p4:/tmp/test.dat CORRECT? yes Or: UNREF FILE I=63518082 OWNER=test1 MODE=100644 FILENAME ada0p5:/home/test1/project/data/listing.ps SIZE=0 MTIME=Aug 24 09:45 2020 RECONNECT? yes Let's assume those messages would have been ansered "NO" during a fsck dry run. The advantage: While fsck could zero out or truncate a file during repair, it might be important for the operator to first try to mount the partition r/o, copy the file out, unmount the partition, have fsck repair the filesystem, and then replace the damaged file from the previously obtained copy. This of course assumes that the file in question can still be read, but would be subject to "deleting" upon filesystem consistency restoration, so it will not always be possible. Whom should I direct such a suggestion to? Or am I missing something that already exists? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 24 10:07:31 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C95413B8B69 for ; Mon, 24 Aug 2020 10:07:31 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZnqQ4VHvz4Wtj for ; Mon, 24 Aug 2020 10:07:30 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from dpchrist-mbp.tracy.holgerdanske.com (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 24 Aug 2020 03:07:19 -0700 Subject: Re: adding disk to zfs mirror after removal of disk To: freebsd-questions@freebsd.org References: <20200821230206.GA56267@bastion.zyxst.net> <20200822050431.GA17289@bastion.zyxst.net> <9274f688-2897-8d0b-d799-100316684b06@holgerdanske.com> <20200824020207.GB17289@bastion.zyxst.net> From: David Christensen Message-ID: <338afe71-1e76-16fc-8315-d38785438248@holgerdanske.com> Date: Mon, 24 Aug 2020 03:07:18 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20200824020207.GB17289@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BZnqQ4VHvz4Wtj X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [1.28 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.38)[0.378]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 10:07:31 -0000 On 8/23/20 7:02 PM, tech-lists wrote: > In the end, I deleted the pool and re-created it ... Deleting and recreating definitely has its advantages. > Seems what I should have done is zpool replace ada3 ada3 after fixing the > failing disk, in order to retain the mirror. The "diskid..." nodes incorporate drive make, model, and serial number, which is appealing because the node name is machine-generated (precluding typographic errors), unique, and matches the physical label on the drive. This is probably the best answer if you have a lot of disks. So (see [1]): # zpool replace wd ada3 diskid/DISK-WD-WCC... But deleting the pool and starting over gives you the opportunity to create and use human-friendly labels. I have a dozen or so data and backup disks, and I use GPT with labels. It is nice to have multiple good options. :-) > Funny you mention this, I'm doing ... cvs too ... on a dedicated machine. A networked version control system is very useful for system administration, among other things. I don't know how people get by without one. My CVS repository is in a jail on my SOHO server, along side a jail for Samba. Every time I work on that machine, I lose CVS support. I have contemplated moving CVS to my old laptop for just this reason. But what I really want is to configure another server identically and set up HA for both services. > thanks for your help, YW. I'm glad it worked out. :-) David [1] https://docs.oracle.com/cd/E19253-01/819-5461/gbcet/index.html From owner-freebsd-questions@freebsd.org Mon Aug 24 13:37:58 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C1343C0313 for ; Mon, 24 Aug 2020 13:37:58 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZtVF3qfnz4pFp for ; Mon, 24 Aug 2020 13:37:57 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wm1-x329.google.com with SMTP id b66so5909375wmb.1 for ; Mon, 24 Aug 2020 06:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=GR8yvzsBua1uD4kU99qwA8Y2RPRUxY88Ll7lkGLzC7E=; b=GzkQBFQIf52ocwKizjKTzHVHr4Uhv4ULOap4x3CCQybepLlh9taK2fxYsbZSvr+Ubc +SphX/1MOEvmiO0KQRjxNwfP8Nnu3kPaYegUEFtNcQaAo7YFpHpxdZFX31btzWD19H38 2GspvIeGfpjfl/pspebGJU63lpIGZM601bLTUD+jog76IvDZn0AjpL+zYBr+wK5tPnCZ qjvhyAkeYzNBLI+od+648sQQML9Wb6o9p2caxmuztExYVOh0zTQtd3jXywgC5ihfhqp1 9imImGpu7rziB1ROemw8jFyVMH/bJVZwdjnqKDbQE/ddwSY9j+2rQavbOSUIbq+GmgTG KPZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=GR8yvzsBua1uD4kU99qwA8Y2RPRUxY88Ll7lkGLzC7E=; b=E4S17tPotLX0rW+Qr18ySZcBM0Bhtyh1Rzw/LfIYbEMSghnIUYWtJDv4SXgNBiEPsU MlbdWB7+jbIl4MjEqEKf1EFYk+0NYLKuG5YW1ptCZ63+DYJD4SvNJvJ7q8gh87l7W84n c3td1gPH7G69Z21xbuH+kGVDYWKB0T056PE9VHhfDPwXET+MuiMGUWvo/Fpjr00qXgEg c6aK98Z+m8fug5L1MSXIatRl5JCflQtblzuOwxbUQgmsdS0Ca5vjqloNDfDs4QPLocLF pRhpROkHQur8/tCRDaplr9D5bSM0O51gTfSej3xPpfMjv/I80STIT/XtQhv2I5Fn3yBK gJ1A== X-Gm-Message-State: AOAM533pTjzl0qoxn9MRwJrjQUP/ROVy2TpsIiSovGxIACVYNJS2QUsa uJ2FsQg2zQQ25m3SUidPk7uRzlAW0bltN53+hYVjBu7/Vp6U9w== X-Google-Smtp-Source: ABdhPJxkha8ZwPnL5Ey26zYfqS40JOT6Juqwp1oiCctA3wTdFtK/6ojPKngaQoy9bw0HeBr6zoiqA1p1Ane3pqgoyYU= X-Received: by 2002:a7b:c14e:: with SMTP id z14mr5880365wmi.34.1598276275341; Mon, 24 Aug 2020 06:37:55 -0700 (PDT) MIME-Version: 1.0 References: <20200823102746.00ccd768.freebsd@edvax.de> In-Reply-To: <20200823102746.00ccd768.freebsd@edvax.de> From: Antonio Olivares Date: Mon, 24 Aug 2020 08:37:44 -0500 Message-ID: Subject: Re: Reset xorg using lumina desktop To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BZtVF3qfnz4pFp X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GzkQBFQI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-0.49 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_SHORT(0.51)[0.506]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::329:from]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 13:37:58 -0000 Dear Polytropon, Manish et all who have provided suggestions. I tried the Xorg -configure approach, when testing the screen is just blank. The xorg.conf.new file, the output from xrandr will be attached. olivares@e154-1$ xrandr Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192 VGA-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) DP-1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 434mm x 236mm 1600x900 59.98*+ 1280x1024 75.02 60.02 1152x864 75.00 1024x768 75.03 60.00 800x600 75.00 60.32 640x480 75.00 59.94 720x400 70.08 olivares@e154-1$ olivares@e154-1$ su - Password: root@e154-1:~ # cat xorg.conf.new Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/share/fonts/misc/" FontPath "/usr/local/share/fonts/TTF/" FontPath "/usr/local/share/fonts/OTF/" FontPath "/usr/local/share/fonts/Type1/" FontPath "/usr/local/share/fonts/100dpi/" FontPath "/usr/local/share/fonts/75dpi/" FontPath "catalogue:/usr/local/etc/X11/fontpath.d" EndSection Section "Module" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "SWcursor" # [] #Option "kmsdev" # #Option "ShadowFB" # [] #Option "AccelMethod" # #Option "PageFlip" # [] #Option "ZaphodHeads" # #Option "DoubleShadow" # [] #Option "Atomic" # [] Identifier "Card0" Driver "modesetting" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection root@e154-1:~ # kld_list="/boot/modules/i915kms.ko" root@e154-1:~ # pciconf -lvbce hostb0@pci0:0:0:0: class=0x060000 card=0x04ad1028 chip=0x01008086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '2nd Generation Core Processor Family DRAM Controller' class = bridge subclass = HOST-PCI cap 09[e0] = vendor (length 12) Intel cap 0 version 1 PCI errors = Received Master-Abort vgapci0@pci0:0:2:0: class=0x030000 card=0x04ad1028 chip=0x01028086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '2nd Generation Core Processor Family Integrated Graphics Controller' class = display subclass = VGA bar [10] = type Memory, range 64, base 0xe0c00000, size 4194304, enabled bar [18] = type Prefetchable Memory, range 64, base 0xd0000000, size 268435456, enabled bar [20] = type I/O Port, range 32, base 0x3000, size 64, enabled cap 05[90] = MSI supports 1 message cap 01[d0] = powerspec 2 supports D0 D3 current D0 cap 13[a4] = PCI Advanced Features: FLR TP none0@pci0:0:22:0: class=0x078000 card=0x04ad1028 chip=0x1c3a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family MEI Controller' class = simple comms bar [10] = type Memory, range 64, base 0xe1ab0000, size 16, enabled cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[8c] = MSI supports 1 message, 64 bit uart2@pci0:0:22:3: class=0x070002 card=0x04ad1028 chip=0x1c3d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family KT Controller' class = simple comms subclass = UART bar [10] = type I/O Port, range 32, base 0x30e0, size 8, enabled bar [14] = type Memory, range 32, base 0xe1a90000, size 4096, enabled cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message em0@pci0:0:25:0: class=0x020000 card=0x047e1028 chip=0x15028086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82579LM Gigabit Network Connection (Lewisville)' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0xe1a00000, size 131072, enabled bar [14] = type Memory, range 32, base 0xe1a80000, size 4096, enabled bar [18] = type I/O Port, range 32, base 0x3080, size 32, enabled cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 13[e0] = PCI Advanced Features: FLR TP ehci0@pci0:0:26:0: class=0x0c0320 card=0x04ad1028 chip=0x1c2d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB bar [10] = type Memory, range 32, base 0xe1a70000, size 1024, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP hdac0@pci0:0:27:0: class=0x040300 card=0x04ad1028 chip=0x1c208086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family High Definition Audio Controller' class = multimedia subclass = HDA bar [10] = type Memory, range 64, base 0xe1a60000, size 16384, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[70] = PCI-Express 1 root endpoint max data 128(128) FLR NS ecap 0002[100] = VC 1 max VC1 ecap 0005[130] = Root Complex Link Declaration 1 pcib1@pci0:0:28:0: class=0x060400 card=0x04ad1028 chip=0x1c108086 rev=0xb4 hdr=0x01 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family PCI Express Root Port 1' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 2 root port max data 128(128) link x0(x1) speed 0.0(5.0) ASPM L0s/L1(L0s/L1) slot 0 power limit 100 mW cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x04ad1028 cap 01[a0] = powerspec 2 supports D0 D3 current D0 pcib2@pci0:0:28:2: class=0x060400 card=0x04ad1028 chip=0x1c148086 rev=0xb4 hdr=0x01 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family PCI Express Root Port 3' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 2 root port max data 128(128) link x0(x1) speed 0.0(5.0) ASPM L0s/L1(L0s/L1) slot 2 power limit 100 mW HotPlug(empty) surprise cap 05[80] = MSI supports 1 message enabled with 1 message cap 0d[90] = PCI Bridge card=0x04ad1028 cap 01[a0] = powerspec 2 supports D0 D3 current D0 ehci1@pci0:0:29:0: class=0x0c0320 card=0x04ad1028 chip=0x1c268086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB bar [10] = type Memory, range 32, base 0xe1a50000, size 1024, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP pcib3@pci0:0:30:0: class=0x060401 card=0x04ad1028 chip=0x244e8086 rev=0xa4 hdr=0x01 vendor = 'Intel Corporation' device = '82801 PCI Bridge' class = bridge subclass = PCI-PCI cap 0d[50] = PCI Bridge card=0x04ad1028 isab0@pci0:0:31:0: class=0x060100 card=0x04ad1028 chip=0x1c4c8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Q65 Express Chipset LPC Controller' class = bridge subclass = PCI-ISA cap 09[e0] = vendor (length 12) Intel cap 1 version 0 features: AMT, 4 PCI-e x1 slots ahci0@pci0:0:31:2: class=0x010601 card=0x04ad1028 chip=0x1c028086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller' class = mass storage subclass = SATA bar [10] = type I/O Port, range 32, base 0x30d0, size 8, enabled bar [14] = type I/O Port, range 32, base 0x30c0, size 4, enabled bar [18] = type I/O Port, range 32, base 0x30b0, size 8, enabled bar [1c] = type I/O Port, range 32, base 0x30a0, size 4, enabled bar [20] = type I/O Port, range 32, base 0x3060, size 32, enabled bar [24] = type Memory, range 32, base 0xe1a40000, size 2048, enabled cap 05[80] = MSI supports 1 message enabled with 1 message cap 01[70] = powerspec 3 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair cap 13[b0] = PCI Advanced Features: FLR TP none1@pci0:0:31:3: class=0x0c0500 card=0x04ad1028 chip=0x1c228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '6 Series/C200 Series Chipset Family SMBus Controller' class = serial bus subclass = SMBus bar [10] = type Memory, range 64, base 0xe1a30000, size 256, enabled bar [20] = type I/O Port, range 32, base 0x3040, size 32, enabled root@e154-1:~ # Maybe what I should do is refresh the question, How do I reset the screen on Lumina desktop and not xorg. Xorg is working. I just want the screen back to normal because I am not using the epson projector anymore. That is what I should have said. Thanks for all helping me and advising me. Best Regards, Antonio On Sun, Aug 23, 2020 at 3:27 AM Polytropon wrote: > > On Sun, 23 Aug 2020 04:14:17 +0530, Manish Jain wrote: > > > > > > On 2020-08-23 02:57, Antonio Olivares wrote: > > > Dear kind FreeBSD users, > > > > > > I am running FreeBSD using lumina. I was using two screens, one with HDMI > > > and one with VGA at school. Since learning is now online, I am using only > > > HDMI now, but my screen only remembers new setting. I have tried checking > > > /etc/X11/xorg.conf but it is not present. I try screen configuration, but > > > cannot reset it to only Monitor with HDMI output. > > > > > > How can I reset it so I can just have fresh desktop with all icons on the > > > screen? > > > > > > If you need output from xrandr, I can send it in on Monday. When teaching > > > online and using Google classroom, the microphone was muted, I started > > > using telefono to use and connect with it. My sister got for me a > > > Bluetooth device, but that will be a challenge to get working. > > > > > > I appreciate help/advice and suggestions to fix the screen. > > > > You have not mentioned what graphics chip you are using. > > > > Perhaps creating a new xorg.conf might take care of your problem. > > Can you try booting FreeBSD in text mode and run the following: > > > > 1) Xorg -configure > > 2) mv xorg.conf.new /etc/X11/xorg.conf > > 3) reboot > > Even though this is technically correct, it usually is no longer > needed. X's auto-magic will do everything on its own, without > a configuration file. > > Also, step 2 should be: > > mv xorg.conf.new /usr/local/etc/X11/xorg.conf > > This is the "new" location of the xorg.conf file according to > the hierarchy layout concept that all 3rd party configuration > files should reside in /usr/local/etc, and X is not part of > the OS, therefore not deserving a file in /etc - even though > this location is still supported. > > A configuration file, or a partial configuration file, as > mentioned elsewhere, still can be fully justified, especially > when you need to tell X to do something the auto-magic didn't > get right (or which it did "know better than you"), for example > if you want to force a specific display or screen size > ("resolution"). > > Such files go to the /usr/local/etc/X11/xorg.conf.d/ directory. > > By the way, certain aspects of the display configuration for > "internal / external" can often be configured in the BIOS / UEFI > setup (for laptops, that is). > > > > > Oh, and FreeBSD's "text mode", with vt, isn't any longer a > text mode, it's just a non-X graphics mode. ;-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 24 13:44:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26C223C0175 for ; Mon, 24 Aug 2020 13:44:15 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZtdV1jbmz4pgG for ; Mon, 24 Aug 2020 13:44:13 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 07ODi7lh059110; Mon, 24 Aug 2020 07:44:08 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Subject: Re: Suggestion regarding fsck output enhancement To: Polytropon , FreeBSD Questions References: <20200824104017.4c241ec0.freebsd@edvax.de> Reply-To: freebsd@dreamchaser.org From: Gary Aitken Message-ID: <8e27f7a6-f7db-dec3-0705-e64c4e2cfdb3@dreamchaser.org> Date: Mon, 24 Aug 2020 07:42:41 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200824104017.4c241ec0.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 24 Aug 2020 07:44:08 -0600 (MDT) X-Rspamd-Queue-Id: 4BZtdV1jbmz4pgG X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-0.03 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_SPAM_SHORT(0.27)[0.267]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 13:44:15 -0000 On 8/24/20 2:40 AM, Polytropon wrote: > Today I came across a situation where I would think fsck should > output a little more information, which would be helpful especially > in diagnostics and dry-run sessions prior to recovery. > > Example: > > INCORRECT BLOCK COUNT I=24236 (288 should be 268) > CORRECT? yes > > Or: > > UNREF FILE I=63518082 OWNER=test1 MODE=100644 > SIZE=0 MTIME=Aug 24 09:45 2020 > RECONNECT? yes > > In both entries, the inode number is mentioned. Wouldn't it be > nice to display a file or directory name, if possible, to show > what file could be affected? +10! From owner-freebsd-questions@freebsd.org Mon Aug 24 15:28:48 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A5BF3C4560 for ; Mon, 24 Aug 2020 15:28:48 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZwy74vxDz3VRw for ; Mon, 24 Aug 2020 15:28:47 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id 3A68A10678; Mon, 24 Aug 2020 16:28:40 +0100 (BST) Subject: Re: Suggestion regarding fsck output enhancement To: Polytropon , FreeBSD Questions References: <20200824104017.4c241ec0.freebsd@edvax.de> From: Arthur Chance Message-ID: <77485d5e-7ca0-219d-234c-0aab7e58af96@qeng-ho.org> Date: Mon, 24 Aug 2020 16:28:40 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200824104017.4c241ec0.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BZwy74vxDz3VRw X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.241 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-1.12 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[qeng-ho.org]; NEURAL_HAM_MEDIUM(-0.75)[-0.747]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.07)[-0.070]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 15:28:48 -0000 On 24/08/2020 09:40, Polytropon wrote: > Today I came across a situation where I would think fsck should > output a little more information, which would be helpful especially > in diagnostics and dry-run sessions prior to recovery. > > Example: > > INCORRECT BLOCK COUNT I=24236 (288 should be 268) > CORRECT? yes > > Or: > > UNREF FILE I=63518082 OWNER=test1 MODE=100644 > SIZE=0 MTIME=Aug 24 09:45 2020 > RECONNECT? yes > > In both entries, the inode number is mentioned. Wouldn't it be > nice to display a file or directory name, if possible, to show > what file could be affected? Basically, it's what you can already > manually do: > > 1. run fsck in dry mode > (only list actions, do not take them) > > 2. note inode numbers > > 3. use fsdb to find out what the inodes point to > > 4. take specific action prior to fsck if needed > > My suggestion would be: If this kind of information is available, > fsck should display it, for example: > > INCORRECT BLOCK COUNT I=24236 (288 should be 268) > FILENAME ada0p4:/tmp/test.dat > CORRECT? yes > > Or: > > UNREF FILE I=63518082 OWNER=test1 MODE=100644 > FILENAME ada0p5:/home/test1/project/data/listing.ps > SIZE=0 MTIME=Aug 24 09:45 2020 > RECONNECT? yes > > Let's assume those messages would have been ansered "NO" > during a fsck dry run. > > The advantage: > > While fsck could zero out or truncate a file during repair, > it might be important for the operator to first try to mount > the partition r/o, copy the file out, unmount the partition, > have fsck repair the filesystem, and then replace the damaged > file from the previously obtained copy. This of course assumes > that the file in question can still be read, but would be > subject to "deleting" upon filesystem consistency restoration, > so it will not always be possible. > > Whom should I direct such a suggestion to? > > Or am I missing something that already exists? :-) Surely if an inode is unreferenced, by definition it does not have an entry in any directory, so has no name. Remember that files don't have names per se, directories are name to inode maps. Conversely a file which is hard linked multiple times will have many path names. Think /rescue which has 145 entries pointing at the same inode. However, for the usual case of singly linked files this could be very useful. I suspect it would slow down proceedings though, so should only be done for interactive uses of fsck -- The number of people predicting the demise of Moore's Law doubles every 18 months. From owner-freebsd-questions@freebsd.org Mon Aug 24 15:48:20 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 82EE53C4CC6 for ; Mon, 24 Aug 2020 15:48:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZxNf1zjDz3Wcd for ; Mon, 24 Aug 2020 15:48:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MUp8r-1k13de1pNB-00Qggg; Mon, 24 Aug 2020 17:48:15 +0200 Date: Mon, 24 Aug 2020 17:48:15 +0200 From: Polytropon To: Arthur Chance Cc: FreeBSD Questions Subject: Re: Suggestion regarding fsck output enhancement Message-Id: <20200824174815.7447f0d3.freebsd@edvax.de> In-Reply-To: <77485d5e-7ca0-219d-234c-0aab7e58af96@qeng-ho.org> References: <20200824104017.4c241ec0.freebsd@edvax.de> <77485d5e-7ca0-219d-234c-0aab7e58af96@qeng-ho.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:JUp1iM4bGDv0cxCUlEefVT4Q6OlM1s4G2gnjmPsdd7vtSxnvLsF XBstfwZUN9Y8bPMZ7GDK9M7nTYFx+dR4Q58t1zeVpiukj7oogUi75fqjqeVbuegK/PNaM+J QKSGGokvr9sRYSvpJWPHY12Q+EmpeH7wH+lRwlASvEQDMXXxIyen6KxYxckho+bCDn4bt5F agxlk4TNXS96AX47QXuHg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:cGaXvL71PZM=:jRfiqIahzfBrEycdWQVNmU iJgnnfszTA3cBI3cYeAoHGCE2G9armp7eQBbtKbOI62rG9M7oK5jgUreldP/+uci3oOnPl4EZ iE8jxwIDGgE/oomuukNtDrdM7eZPdpeKSKx+aaAdpCsfXsvKTRFsyxdmZtFaTvNn7bpZM3xqt xqkdk3YW8KSAc7D6N7rIa0O+EK9u+tmE/Evr8nPWjvJzyp6SEV8zf7TwHzANaR9nysEQIR34P qR8hWVBpJCXBb6dYhvVHasr6Xiph1ZwfK+g+1QXaHWSI+LM/6gTz0/HOOuToAEf+1gRqW5i+p N8A0o5eRx6ul6pr7tGXVF8b4XSGXfA9AYig+Af/cNgV7XRFlhvfSh9sgh4EzamAjALJ4ByKJ4 RiDZ5Ck0hwUaP8CAr93fAnHlnfOqEVo8B4Lg3lXavrQk5TpuD8l/3vGPUGlc8w8/Vhf1WqC7N 2rQ0AuURCl2AVoj1g0/nwnM5QRQJCalW4GJxAO/AWfiwhaINDA5mep6pm+eh8cJJIBOSQC5Yr zq17KujCLQsCLydpZxVoEFgLju4N+MQdtZhGz1c/pUVITr097afUc1tlRiB0C7eKoUKJF3dX4 9krCIwJ7gw4Pf/Slj31R7K1/Rmtrk9uZTV5KbtmdZvVLxKiqIEgA29iplX291WQ4qkB1rripn oDUE1m4l3UAwhKRacw02uXF8xItG5Y8iYEDfdTQ8J2nWMXUup27mnjScKCgncgQIZA0YLMkbD TZhwapmswY7fg1yjWqwG5jxuKdonl44pPmJTZ45VyL3l4P4PcKNzdeIuI04fdTH2R+nszH8j5 1kNrLsZd86E9Jq0KPT99XKOzfeClKgAMyFKcGoUcKQP1ZDuglm1rsjDHNb7WPZxfEPEXiq6 X-Rspamd-Queue-Id: 4BZxNf1zjDz3Wcd X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.51 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.44)[0.440]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.67)[0.666]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.134:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.134:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 15:48:20 -0000 On Mon, 24 Aug 2020 16:28:40 +0100, Arthur Chance wrote: > On 24/08/2020 09:40, Polytropon wrote: > > Today I came across a situation where I would think fsck should > > output a little more information, which would be helpful especially > > in diagnostics and dry-run sessions prior to recovery. > > > > Example: > > > > INCORRECT BLOCK COUNT I=24236 (288 should be 268) > > CORRECT? yes > > > > Or: > > > > UNREF FILE I=63518082 OWNER=test1 MODE=100644 > > SIZE=0 MTIME=Aug 24 09:45 2020 > > RECONNECT? yes > > > > In both entries, the inode number is mentioned. Wouldn't it be > > nice to display a file or directory name, if possible, to show > > what file could be affected? Basically, it's what you can already > > manually do: > > > > 1. run fsck in dry mode > > (only list actions, do not take them) > > > > 2. note inode numbers > > > > 3. use fsdb to find out what the inodes point to > > > > 4. take specific action prior to fsck if needed > > > > My suggestion would be: If this kind of information is available, > > fsck should display it, for example: > > > > INCORRECT BLOCK COUNT I=24236 (288 should be 268) > > FILENAME ada0p4:/tmp/test.dat > > CORRECT? yes > > > > Or: > > > > UNREF FILE I=63518082 OWNER=test1 MODE=100644 > > FILENAME ada0p5:/home/test1/project/data/listing.ps > > SIZE=0 MTIME=Aug 24 09:45 2020 > > RECONNECT? yes > > > > Let's assume those messages would have been ansered "NO" > > during a fsck dry run. > > > > The advantage: > > > > While fsck could zero out or truncate a file during repair, > > it might be important for the operator to first try to mount > > the partition r/o, copy the file out, unmount the partition, > > have fsck repair the filesystem, and then replace the damaged > > file from the previously obtained copy. This of course assumes > > that the file in question can still be read, but would be > > subject to "deleting" upon filesystem consistency restoration, > > so it will not always be possible. > > > > Whom should I direct such a suggestion to? > > > > Or am I missing something that already exists? :-) > > Surely if an inode is unreferenced, by definition it does not have an > entry in any directory, so has no name. Remember that files don't have > names per se, directories are name to inode maps. Yes, that is corrent, and the reason I wrote "if possible", for example in messages things like incorrect block count. While unreferenced inodes will show up in the partition's /lost+found directory, with the inode number being their name (and usually having their original content), truncated inodes (or those _intended_ to be truncated or zeroed out) in certain cases have a name. This can be found out by using fsck in "dry run mode", and then checking the inodes mentioned using the fsdb program. > Conversely a file which is hard linked multiple times will have many > path names. Think /rescue which has 145 entries pointing at the same inode. True, and this generally applies to all hardlinked entries (multiple names assigned to the same file). > However, for the usual case of singly linked files this could be very > useful. I suspect it would slow down proceedings though, so should only > be done for interactive uses of fsck Of course. There is no benefit in knowing that there once was a file /tmp/important.txt which has been truncated to size 0, so it's still there, while the important business data associated with that name isn't - it's still on the disk, but not referenced by an inode. In such a scenario, the interactive method would surely improve when you _know_ that a file would be truncated, so you could stop fsck at that time and at least try to use the "mount unclean partition r/o to get the file's content" approach. You could then have fsck restart and complete the repair, and from the previously saved copy, reconstruct the file if needed. As I mentioned, this is interesting in very rare cases where a sudden system crash corrupts the filesystem integrity in a way that a regular fsck run would make important data unaccessible (for example, an important business memo you're been writing). My suggestion is simply due to the fact that I had to deal with this very unpleasant kind of situation a few times, and being able to know what will be "gone" before it happens would really be an advantage. Oh, and the message should be in the "=" format like all the other entries, for example: INCORRECT BLOCK COUNT I=1234567 (288 should be 0) FILE=ada0p7:/home/bob/important/business/memo.txt CORRECT? _ If the messages are tee'd somewhere, they can be easily postprocessed if that should be needed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 24 22:27:40 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 993223CF78D for ; Mon, 24 Aug 2020 22:27:40 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bb6FS0GkQz4MQ9 for ; Mon, 24 Aug 2020 22:27:39 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-173-48-64-3.bstnma.fios.verizon.net [173.48.64.3]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4Bb6FR0b7fztHC for ; Mon, 24 Aug 2020 18:27:39 -0400 (EDT) Subject: Re: Suggestion regarding fsck output enhancement To: freebsd-questions@freebsd.org References: <20200824104017.4c241ec0.freebsd@edvax.de> From: Kurt Hackenberg Message-ID: <12f154c3-078f-401d-6a48-dc2f700a4d1d@panix.com> Date: Mon, 24 Aug 2020 18:27:36 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200824104017.4c241ec0.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bb6FS0GkQz4MQ9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-0.95 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.84.1.89:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.19)[0.194]; RCVD_IN_DNSWL_MED(-0.20)[166.84.1.89:from]; DMARC_NA(0.00)[panix.com]; NEURAL_HAM_MEDIUM(-0.65)[-0.647]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[173.48.64.3:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 22:27:40 -0000 On 2020-08-24 04:40, Polytropon wrote: > In both entries, the inode number is mentioned. Wouldn't it be > nice to display a file or directory name, if possible, to show > what file could be affected? Basically, it's what you can already > manually do: > > 1. run fsck in dry mode > (only list actions, do not take them) > > 2. note inode numbers > > 3. use fsdb to find out what the inodes point to > > 4. take specific action prior to fsck if needed > > My suggestion would be: If this kind of information is available, > fsck should display it, for example: > > INCORRECT BLOCK COUNT I=24236 (288 should be 268) > FILENAME ada0p4:/tmp/test.dat > CORRECT? yes That would be great. However, from my limited knowledge, I think it's not easy. I know how this works only in old, traditional Unix. As far as I know it's the same for FreeBSD and its filesystem -- I think it has to stay the same to preserve semantics -- but I don't know specifically. I think a directory entry contains only a filename and an inode number. All other information about the file is in the inode. (Well, apparently the file type has been copied or moved from the inode to the directory entry, probably for speed, but that doesn't matter here.) The trouble is, an inode does not point back to any of the directory entries that point to it. Far as I know, the only way to find names associated with an inode is to search the whole filesystem, looking for directory entries that contain that inode number. That could take a while. I had never heard of fsdb; I just read the man page. I don't see any command to trace back from an inode to filenames. Did I miss something? From owner-freebsd-questions@freebsd.org Tue Aug 25 12:53:47 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C6CF3C9FF6 for ; Tue, 25 Aug 2020 12:53:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbTSp1zJvz4Lck for ; Tue, 25 Aug 2020 12:53:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1N4eOd-1kaNDG1Ppn-011f8z; Tue, 25 Aug 2020 14:53:41 +0200 Date: Tue, 25 Aug 2020 14:53:39 +0200 From: Polytropon To: Kurt Hackenberg Cc: freebsd-questions@freebsd.org Subject: Re: Suggestion regarding fsck output enhancement Message-Id: <20200825145339.df531ec6.freebsd@edvax.de> In-Reply-To: <12f154c3-078f-401d-6a48-dc2f700a4d1d@panix.com> References: <20200824104017.4c241ec0.freebsd@edvax.de> <12f154c3-078f-401d-6a48-dc2f700a4d1d@panix.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:2yRMBMIP0+IzINADXQphBTA07FPx0B7Ql0Wzfhgtf1dyuhha36i IuLGgKyzHI7ATB8PVZlWaAQ3HLLgQDiHtR3e+a4r5Vk1elhKSuOmBPleR/XbG6WHpP7KsBP VjC1KsSsXTpGe+Bhj4NMSPzsE87Cc+HVNzhzt64HGPbfkVLqURuRw/XOfI3/I9GElrg8DK3 ilGSaM5u31Ed8V5FwQJgg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:fQzSww0xXTA=:u6qMdUc90xM+777oMzOg90 uRTdtp00T8x+fbq3GDDCsWJZ57b8m/lx3L+19Rba7UEnVJ3hVKAmG3NCD/buEIwaRDY7Q15Jd z3DKqikbKVdANwabOuDDYbkoFDqjTUwBW9Rmy9IcZc5SZTxZWNfcLLo5mwXmAcbPEJDs9zHmP bAkwidrlQNsczzfHu1lrsBPD3KohBTaj61XJ7MDPAdXBQFE+GdzcPLRzzQBP1cJF9ZLRq8oNX qC0aB0VnP+wLysME1qjjcv0TEXGA1+CQ/z9JpSIR7Gj3sHLBBmD9+05chl+crYyNWXm+6rHO9 Ch/iu63bvOd+Qg6vuv7eikYxNAobGbtRXGrobKc1EY7nBpC10AurV2g96apYKYoMc/wVePtTZ QRBEEHeRg0AQ22ZnFk4oHmh9bwugv16gLkWqDyFN1kh0nE7DKmsL/8x3CRCLNUiE5NItm7PvQ sIkHXruFPD+sEIlJZI7SxirY4VS9RALvcUY0mtjxznrp6MoDfbi0baxvhCS+exONuDSomHD1j 2ODny2/qfjqIUg+YIFd6Sdor2lVR6Yly+k7OBCyR1DIj90UXd8ImNZwGxzipfsN3Quo0OSF1j vFD7O7ss+KISLA/S78bTE50ztMz/eKMh0r7NLdN+SLGV4GrG9FJutiEVFe3i59HwCLhY5tdPG bRe0gloNm/MkDhHo2hc3qxEn3ZImZ3A4ZLsl5PvLyneT7pxin6wS1kcAmuWfudIeEz33UzaBZ 4IASe7lXzDe81UGjaTe3NZz0KTXjpqSwtomNVmGqm2o1rWSaEBVCPmNDPvjKFoW7Jr3luE61F /PR1iQJxFSP+2ubLaKTf71SCzoxLQgeNVzArtX+lYTVfVO2eu3ZW8NJB+1A2sco15+iqf+H X-Rspamd-Queue-Id: 4BbTSp1zJvz4Lck X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.09 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.01)[0.009]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.68)[0.678]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.187:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.187:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 12:53:47 -0000 On Mon, 24 Aug 2020 18:27:36 -0400, Kurt Hackenberg wrote: > On 2020-08-24 04:40, Polytropon wrote: > > > In both entries, the inode number is mentioned. Wouldn't it be > > nice to display a file or directory name, if possible, to show > > what file could be affected? Basically, it's what you can already > > manually do: > > > > 1. run fsck in dry mode > > (only list actions, do not take them) > > > > 2. note inode numbers > > > > 3. use fsdb to find out what the inodes point to > > > > 4. take specific action prior to fsck if needed > > > > My suggestion would be: If this kind of information is available, > > fsck should display it, for example: > > > > INCORRECT BLOCK COUNT I=24236 (288 should be 268) > > FILENAME ada0p4:/tmp/test.dat > > CORRECT? yes > > > That would be great. However, from my limited knowledge, I think it's > not easy. I definitely agree. This is a non-trivial idea, especially because the information needed would have to be obtained in a "backwards search", and this surely adds complexity. And I did not say it was easy, I just said it would surely be a valuable information to have at that time. :-) > I know how this works only in old, traditional Unix. As far as I know > it's the same for FreeBSD and its filesystem -- I think it has to stay > the same to preserve semantics -- but I don't know specifically. > > I think a directory entry contains only a filename and an inode number. > All other information about the file is in the inode. (Well, apparently > the file type has been copied or moved from the inode to the directory > entry, probably for speed, but that doesn't matter here.) Yes, that is a correct description. The core problem is that the name (which the sysadmin might be interested in) is not stored in the inode affected - it would have to be found out in the corresponding "higher level structure" (directory) that assigns names to inodes. More information can be found in "man 5 fs" as well as in the header files in /usr/include/ufs/ufs/, as well as of course in McKusick's et al. article "A Fast File System for UNIX" (or for that matter, probably any good UNIX technical introduction book). > The trouble is, an inode does not point back to any of the directory > entries that point to it. That is _truly_ the point where things get complicated. :-) > Far as I know, the only way to find names > associated with an inode is to search the whole filesystem, looking for > directory entries that contain that inode number. That could take a while. There are tools that can do this quite conveniently, for example the "inode list" program ils from "The Sleuth Kit". There are other related tools such as ifind and istat which can obtain liwer-level information regarding inodes, or to be precise, help discover things within the "block <-> inode <-> directory" composition of a file system, especially for cases like inodes still "defined" (holding informations about file status and used blocks), but being unallocated (not part of any directory, therefore no name anymore) - tools like icat allow to "unwind" this information and get the file content back. In this specific case, this is what fsck does using the lost+found/ directory. But as I mentioned, there are cases where fsck would do something "technically understandable" that would, at a certain stage of disaster or recovery, be the wrong thing, as the result would cause new problems and much more work to actually recover data (typical example: file truncated to size zero, or file filled with zero bytes, while intended content is still "somewhere" on the disk). > I had never heard of fsdb; I just read the man page. I don't see any > command to trace back from an inode to filenames. Did I miss something? I learned about this specific tool when I had my personal "big disaster moment" that brought me to this list more than 10 years ago - "fdsb" was mentioned in the manual for WEGA, a System III derived UNIX version for the EAW P8000 and P8000compact UNIX workstations manufactured in the GDR during the 1980s. It was a surprise to actually find this tool on a modern FreeBSD system _and_ seeing it did what that old manual said. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Aug 25 15:48:33 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 060C83CF6AD for ; Tue, 25 Aug 2020 15:48:33 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [IPv6:2605:2600:1001::44]) by mx1.freebsd.org (Postfix) with ESMTP id 4BbYLN06VLz4bcQ for ; Tue, 25 Aug 2020 15:48:27 +0000 (UTC) (envelope-from darcy@druid.net) Received: from dilbert.druid.net (unknown [98.158.128.36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id C00CB3EDC8 for ; Tue, 25 Aug 2020 11:48:19 -0400 (EDT) To: freebsd-questions@freebsd.org From: D'Arcy Cain Subject: Getting Radeon graphics card to work Autocrypt: addr=darcy@druid.net; prefer-encrypt=mutual; keydata= mDMEXu32OxYJKwYBBAHaRw8BAQdAD839OEQVMqCs45KVwLKg4srvl51WsVhMpTGOd9z3Ym20 HUQnQXJjeSBDYWluIDxkYXJjeUBkcnVpZC5uZXQ+iJYEExYIAD4WIQSQJTNYM0vv3aTmBCs/ 5DDweYZnXQUCXu32OwIbAwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRA/5DDw eYZnXWAxAP9cDL1j4koUFRBNQyC4iMp/cx5KnozmtsFtiTrWdZBrIwD6A2rLFx60tJryd/qp SZpXk7UPDLH/PY1hstjx9WUbXQi4OARe7fY7EgorBgEEAZdVAQUBAQdAbK0SOaTRrkI2QAWz rCz29D2RDOgGTvEbDpyWiyA5RhQDAQgHiH4EGBYIACYWIQSQJTNYM0vv3aTmBCs/5DDweYZn XQUCXu32OwIbDAUJCWYBgAAKCRA/5DDweYZnXaNOAQDC77ymNjoMZQVgDCcmgZEk6IZxn45k nyW17OYCpRctvgD9Fg3aocAbHK7V9AhmSbDPxLNQygQUPjjU7Cyn97b1cQs= Message-ID: Date: Tue, 25 Aug 2020 11:48:13 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="21vLZovgP4Qg39NCBoiea9NGXfC0q6Roq" X-Rspamd-Queue-Id: 4BbYLN06VLz4bcQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of darcy@druid.net has no SPF policy when checking 2605:2600:1001::44) smtp.mailfrom=darcy@druid.net X-Spamd-Result: default: False [-1.85 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.04)[0.036]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_ATTACHMENT(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[druid.net]; NEURAL_HAM_MEDIUM(-0.79)[-0.789]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; ASN(0.00)[asn:19842, ipnet:2605:2600::/32, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 15:48:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --21vLZovgP4Qg39NCBoiea9NGXfC0q6Roq Content-Type: multipart/mixed; boundary="l1V3m1BFZysLZIAAKsxYtt9GlF6FaRwy0" --l1V3m1BFZysLZIAAKsxYtt9GlF6FaRwy0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable I am getting "Cannot run in framebuffer mode. Please specify busIDs for a= ll framebuffer devices" on my new laptop. I search the net but none of the suggestions seem to help. I am running 12.1-RELEASE-p8. Here is what "pciconf -lv" says: vgapci0@pci0:3:0:0: class=3D0x030000 card=3D0x18211043 chip=3D0x15d81= 002 rev=3D0xc4 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD/ATI]' device =3D 'Picasso' class =3D display subclass =3D VGA Here is what I see in dmesg: [drm] radeon kernel modesetting enabled. CPU: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx (2595.20-MHz K8-clas= s CPU) I tried adding this to /usr/local/share/pciids/pci.ids but I don't know w= hat to put for the subdevice. I tried just putting zeroes but that didn't change anything: 15d8 Picasso 1002 0000 Asus VivoBook 103c 8615 Pavilion Laptop 15-cw1xxx 17aa 5124 ThinkPad E595 I have tried kldloading radeonkms, i915kms and amdgpu. I believe it is t= hat last one that I need but none of them helped. Can anyone tell me if this arrangement should be able to work? --=20 D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net Disclaimer: By sending an email to ANY of my addresses you are agreeing that: 1. I am by definition, "the intended recipient". 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it where I please. 3. I may take the contents as representing the views of your company if I so wish. 4. This overrides any disclaimer or statement of confidentiality that may be included or implied in your message. --l1V3m1BFZysLZIAAKsxYtt9GlF6FaRwy0-- --21vLZovgP4Qg39NCBoiea9NGXfC0q6Roq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSQJTNYM0vv3aTmBCs/5DDweYZnXQUCX0UyvQAKCRA/5DDweYZn XUtfAP9bHzehPZbv0ivPDBxjXa5AUbEjgXhx9oQrlD4Tk30VjQD+J7VVuUclRMFa 7eRES3+850kRAvZfLQVkHzEHIaYJJws= =M9LW -----END PGP SIGNATURE----- --21vLZovgP4Qg39NCBoiea9NGXfC0q6Roq-- From owner-freebsd-questions@freebsd.org Tue Aug 25 16:51:46 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 296923B1703 for ; Tue, 25 Aug 2020 16:51:46 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BbZlP2W6Pz3SC0 for ; Tue, 25 Aug 2020 16:51:45 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 37DD94E669 for ; Tue, 25 Aug 2020 11:51:39 -0500 (CDT) To: FreeBSD Mailing List From: Valeri Galtsev Subject: Jail question: packages with relative symlinks Message-ID: Date: Tue, 25 Aug 2020 11:51:39 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BbZlP2W6Pz3SC0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [0.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.10)[0.099]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_MEDIUM(-0.12)[-0.116]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 16:51:46 -0000 Dear Experts, I've got question about jails, namely, what do you do if some package you install in jail brings relative symlink(s)? I install jails "by the book" and if relative symlinks are in /usr/local, there is no problem with those, as in jail an equivalent of /usr/local is /s/usr-local and the depth is the same as on real system. However, /etc in jail is /s/etc and if package brings relative symlink to /etc, in jail it will point nowhere. I just resolved this failure for package ca_root_nss in jail. This package places in /etc/ssl relative symlink: cert.pem --> ../../usr/local/share/certs/ca-root-nss.crt In jail, however it is situated in /s/etc/ssl so the above relative symlink points nowhere. I did a "trivial" thing, just replaced relative symlink with absolute one: cert.pem --> /usr/local/share/certs/ca-root-nss.crt ,and as this symlink is owned by the package ca_root_nss, I locked that package, to prevent it from "automagically" replacing symlink with relative if updated package is installed. This is kind of crude solution, standing next to the "hack", so I do not like what I did. I wonder, how jail experts deal with relative symlinks when some package brings it into place where filesystem depth in jail is different from real system. Thanks. Valeri -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Aug 25 20:01:04 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 616A53B919C for ; Tue, 25 Aug 2020 20:01:04 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bbfxq0wLJz42dF for ; Tue, 25 Aug 2020 20:01:02 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 2789F10276A for ; Tue, 25 Aug 2020 22:00:56 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1WUZOuuThvWl for ; Tue, 25 Aug 2020 22:00:55 +0200 (CEST) Received: from christophs-macbook-pro.fritz.box (p57a1fff5.dip0.t-ipconnect.de [87.161.255.245]) by mail.kukulies.org (Postfix) with ESMTPSA id A2510102769 for ; Tue, 25 Aug 2020 22:00:55 +0200 (CEST) From: Christoph Kukulies Content-Type: multipart/signed; boundary="Apple-Mail=_64554AFB-C6AD-46E0-9A2E-7BFBB1BBA18B"; protocol="application/pkcs7-signature"; micalg=sha-256 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Sed pattern help - not FreeBSD related Message-Id: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> Date: Tue, 25 Aug 2020 22:00:54 +0200 To: Ruben via freebsd-questions X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4Bbfxq0wLJz42dF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [-0.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[87.161.255.245:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.22)[-0.223]; FREEFALL_USER(0.00)[kuku]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.25)[0.251]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kukulies.org]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-questions] X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 20:01:04 -0000 --Apple-Mail=_64554AFB-C6AD-46E0-9A2E-7BFBB1BBA18B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Excuses for asking a sed problem only without relation to FreeBSD: I have a file el2 with the following content: LOOP: DC *+2 DO: DC *+2 J: DC *+2 ENCL: DC *+2 PDP-11 VERSION OF ENCLOSE KEY DC *+2 EMIT DC *+2 QTERM DC *+2 With a sed command I will make it become: LOOP: DC LOOP+2 DO: DO+2 J: J+2 ENCL: ENCL+2 PDP-11 VERSION OF ENCLOSE KEY KEY+2 EMIT EMIT+2 QTERM QTERM+2 In other words, the "*" should be replaced by the label in front of the = line. In case the line contains something after "+2=E2=80=9C (a comment), it = should be appended. The following sed command doesn=E2=80=99t work. Please no = awk,perl,python or other script :) $ sed 's/\(^[A-Z0-9]*\)\(:?\)\([ \t]*\)\(DC \*\+2\)\(.*$\)/\1\2\3DC = \1+2/\5=E2=80=99 Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 968103BA554 for ; Tue, 25 Aug 2020 20:30:37 +0000 (UTC) (envelope-from freebsd-questions@lists.invis.net) Received: from mail.invis.net (mail.invis.net [5.152.219.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbgbw579Dz4503 for ; Tue, 25 Aug 2020 20:30:36 +0000 (UTC) (envelope-from freebsd-questions@lists.invis.net) Received: (qmail 57103 invoked by uid 89); 25 Aug 2020 20:30:29 -0000 Received: from unknown (HELO xenon.internal.invis.net) (no-reply@invis.net@84.9.150.199) by smtp.mail.cassiterite.invis.net with SMTP; 25 Aug 2020 20:30:29 -0000 To: FreeBSD Mailing List From: Charles Lecklider Autocrypt: addr=lists@invis.net; prefer-encrypt=mutual; keydata= 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 Subject: Running 11.3 i386, cannot boot 11.4 or 12.1 Message-ID: Date: Tue, 25 Aug 2020 21:30:29 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bbgbw579Dz4503 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.28 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.69)[0.687]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.31)[-0.307]; R_SPF_NA(0.00)[no SPF record]; DMARC_POLICY_REJECT(2.00)[lists.invis.net : No valid SPF, No valid DKIM,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:20860, ipnet:5.152.192.0/19, country:GB]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 20:30:37 -0000 I saw 11.3 will be EOL soon, so I thought I'd try 11.4 and 12.1. Unfortunately, neither work. Trying to boot 11.4-RELEASE fails very early: Booting... int=00000006 err=00000000 efl=00010002 eip=c0ba6fa2 eax=00000001 ebx=0201ec00 ecx=00000000 edx=c19ef00c esi=c19eebb4 edi=c19ee920 ebp=c201fd08 esp=c19ee584 cs=0008 ds=0010 es=0010 fs=0010 gs=0010 ss=0010 cs:eip=0f 45 d1 c1 e0 04 89 56-20 66 89 46 26 a1 50 2b 95 c1 89 46 28 5e 5d c3-90 90 90 90 90 90 55 89 ss:eip=00 00 00 00 00 00 00 00-00 00 00 00 8c e5 9e c1 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 BTX halted Tying to boot 12.1-RELEASE it gets further but still dies (I think just after looking at one of the SATA cards - if this info isn't enough I'll video it to find out): Fatal trap 30: UNKNOWN while in kernel mode cpuid = 1: apic id = 01 error code = 0 instruction pointer = 0x20:0x1025860 stack pointer = 0x20:0x6758c70 frame pointer = 0x20:0x6758cb4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 11 (idle: cpu1) trap number = 30 panic: UNKNOWN cpuid = 1 time = 1 KDB: stack backtrace: #0 0x103c50e at kdb_backtrace+0x4e #1 0xff6001 at vpanic+0x121 #2 0xff5ed4 at panic+0x14 #3 0x155cf0e at trap_fatal+0x34e #4 0x155c392 at trap+0xd2 #5 0xffc0316d at PTDpde+0x4175 #6 0xfbc8da at fork_exit+0x6a #7 0xffc033ca at PTDpde+0x43d2 Uptime: 1s The latest 12.1 snapshot behaves similarly to 11.4-RELEASE: Booting... int=00000006 err=00000000 efl=00010002 eip=0153d9c5 eax=02180564 ebx=00059354 ecx=00000000 edx=008003bf esi=01f0e474 edi=01b420c8 ebp=01b42038 esp=00000000 cs=0008 ds=0010 es=0010 fs=0010 gs=0010 ss=0010 cs:eip=0f 45 f0 a1 88 20 b4 01-85 c0 0f 45 f0 81 c6 ff ff 3f 00 81 e6 00 00 c0-ff 89 35 48 60 f0 01 8d ss:esp=6f ef 00 f0 6f ef 00 f0-c3 e2 00 f0 6f ef 00 f0 6f ef 00 f0 54 ff 00 f0-68 84 00 f0 6f ef 00 f0 BTX halted Clearly something got changed in 12.1 between release and the latest snapshot which has also been backported to 11.4. So, for now I'm stuck on 11.3. Hardware is a little old, but has run every version of FreeBSD from 4.something [1] (don't remember exactly), so I'd quite like to keep it going. I can grab the full dmesg from 11.3 if necessary, but the highlights are: CPU: Pentium/P55C (232.68-MHz 586-class CPU) Origin="GenuineIntel" Id=0x543 Family=0x5 Model=0x4 Stepping=3 Features=0x8003bf real memory = 536870912 (512 MB) avail memory = 494088192 (471 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs hifn0 mem 0xe001a000-0xe001afff,0xe0018000-0xe0019fff,0xe0000000-0xe0007fff irq 15 at device 17.0 on pci0 hifn0: Hifn 7955, rev 0, 32KB dram, pll=0x801 siis0: port 0x6400-0x640f mem 0xe001c000-0xe001c07f,0xe0008000-0xe000ffff irq 12 at device 18.0 on pci0 siis1: port 0x6800-0x680f mem 0xe001b000-0xe001b07f,0xe0010000-0xe0017fff irq 10 at device 19.0 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6c00-0x6c7f mem 0xe001d000-0xe001d07f irq 11 at device 20.0 on pci0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff,0xcc000-0xd0fff,0xd1000-0xd5fff pnpid ORM0000 on isa0 Any assistance would be gratefully received! -C [1] It was running Windows before then, but I think it's feeling better now. From owner-freebsd-questions@freebsd.org Tue Aug 25 20:32:31 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AF6713BA9F0 for ; Tue, 25 Aug 2020 20:32:31 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-oln040092066084.outbound.protection.outlook.com [40.92.66.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbgf64WZsz45Y7 for ; Tue, 25 Aug 2020 20:32:30 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kwsmxxfDxgCjyPVkkKrNxdhOQUNVxeQfHYtjwIHiNy+u0XgoX6iCIm4vO2jBUww5nB0gdNztsiACdtKzqTVzDr3D4vRFLsimAoYNnFF9PT+KNn6QeeWdhh0V4z+Qpxqr5Ag9e1rxHo0aGU6SOBmjTe+DUAyCnlorYk8r3RvS0iMRe6IJ0c4ByH6QvGa8LNzvQWop/WKlpfdDgObK/1I0hpVR0Z2rRYDimAzUVwIIYTgOeri/AohtI9A7GsBi/M6EU6xAgeqqImwtAn9SY96EQQTsaAxHvChSWLxjFIqMJ5oZOsxEcR7LLrmjhMdXCZYmidayNIvlGUAq0RobA5aoPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mWwWmCuRBdhvRNdxqFw1244ufx6HZ4TJAtCGw53pMbY=; b=FX8jbXBO1nHdYNN7P9kJfTtudLYF+Y7qu1eE8B2drlsUpnAspZdGbD2wK2z0covXiGy43Wr2MQcrcztaoxekOx8Yh9sZo+9UYHDV1Q54HJW8eee0FvwtK5x7cC2XxxCRi6IVrwQI2o8AmeSlu7olTwkxx2ZcqSXGs4N9O8aO6KjHBrAbnOucRmZhixCuEvShhffi0LkQBLKI7UprdHVe+w864j599W65oUJR1juWd6p0PVbm8pFkHr5mic9znCJJweMAqUL+kJTwtCVyVGv1veB/NhWgbPFmra4mGj7m1t4+9wQZGiu1Tj/npATr6W0Pdzo9EPgd/7Rq7zIvGZSZng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mWwWmCuRBdhvRNdxqFw1244ufx6HZ4TJAtCGw53pMbY=; b=Tau/VsTZlcwcjWKftuHav1Vz4FymyArs/F4oc3nvMGnvpm+ctVA72BTgq8NRRwR3VMMneR4l53dXdEWwuiMX05K2E1WI0eXzlVtR62m8ld4hNemeOsp7qf5zjHKmGvfFSkEgEPfN5uq2tEoaK1c4kNvwgR5OQqWt7Zg1fJrLejUO+fjLh83dllcQGNp5T7EoJfY36V+7easxbzvZs4/T2CvON0tD9zXXOVm5tLqXMpTMWqU/EHs9IGFKmJ4izleHznk4LXGRfPrfUe8WjJsS8Z4cngOiHxAk0DnmKwUCFrt62zOgDbrCfzdPY68GKbGGcfhZhQSNxRK0lrPe0Mu6uA== Received: from VE1EUR01FT029.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::42) by VE1EUR01HT083.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::318) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24; Tue, 25 Aug 2020 20:16:42 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e19::40) by VE1EUR01FT029.mail.protection.outlook.com (2a01:111:e400:7e19::224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24 via Frontend Transport; Tue, 25 Aug 2020 20:16:42 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:EA115A4A641FEF9523AAC80B95E8BB2BE8416D7FB6F18FAAB1061E034422CA48; UpperCasedChecksum:1F2BDB098E6BEDB5C0CF8E21C74230E07BF24E7F33BB80F2F09E7A8684F60A2C; SizeAsReceived:8797; Count:48 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea%6]) with mapi id 15.20.3305.026; Tue, 25 Aug 2020 20:16:42 +0000 Subject: Re: Sed pattern help - not FreeBSD related To: Christoph Kukulies , Ruben via freebsd-questions References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> From: Manish Jain Message-ID: Date: Wed, 26 Aug 2020 01:46:52 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 In-Reply-To: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BM1PR0101CA0035.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::21) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (103.195.202.210) by BM1PR0101CA0035.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25 via Frontend Transport; Tue, 25 Aug 2020 20:16:41 +0000 X-Microsoft-Original-Message-ID: X-TMN: [m+mLk0kmqJjatpZ3ZDA+G+gEdfUtybMO0fqRlNGuY0k=] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: a089f9f5-3ab4-4979-bf49-08d84933c7d6 X-MS-TrafficTypeDiagnostic: VE1EUR01HT083: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rSpTDE3OiLb3FLL8BEaQExqZ27VTQ+9RB8ZHBTkavW8MkWmthONjy8OH0yIxg6hXbBvH50somPAyolurO6DetxQkCrrYFZKC6aC1U6ouQL+aos+inuchPFcUCtBmRZxb1R4UITAZp46xfaiBVE+vJpLVnIgK/5t1ksu7mcycjn4S4ta36pfqdIXIA9+CDji25miwGX94EC2MNccBQij0nw== X-MS-Exchange-AntiSpam-MessageData: XNsoOR7tnJWGwOegMb/tr7PiI96z2yFrt4qBnR7MwU0kBMUugymwlpSM33fjjSk0AIHiYn/u8MjdjjFhXdYGI3IgMW2LHKtt08n7kR6ydPfMfnDwESkW+nEKBQdOmQVJUu11NMtkUIxrLrm6R2PrQw== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: a089f9f5-3ab4-4979-bf49-08d84933c7d6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2020 20:16:42.4037 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT029.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT083 X-Rspamd-Queue-Id: 4Bbgf64WZsz45Y7 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=Tau/VsTZ; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.66.84 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [6.79 / 15.00]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.61)[-0.613]; RCVD_IN_DNSWL_LOW(-0.10)[40.92.66.84:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[103.195.202.210:received]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.00)[0.003]; BAD_REP_POLICIES(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[103.195.202.210:received]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.66.84:from]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 20:32:31 -0000 On 2020-08-26 01:30, Christoph Kukulies wrote: > I have a file el2 with the following content: > > LOOP: DC *+2 > DO: DC *+2 > J: DC *+2 > ENCL: DC *+2 PDP-11 VERSION OF ENCLOSE > KEY DC *+2 > EMIT DC *+2 > QTERM DC *+2 > > There appears a problem in the LOOP line below. > With a sed command I will make it become: > > LOOP: DC LOOP+2 > DO: DO+2 > J: J+2 > ENCL: ENCL+2 PDP-11 VERSION OF ENCLOSE > KEY KEY+2 > EMIT EMIT+2 > QTERM QTERM+2 Hi Christoph, I think the LOOP line is wrong : perhaps, you meant > LOOP: LOOP+2 If that is so, you can use the following command : sed 's/^\(..*\):\([[:space:]]*\)DC[[:space:]]*\*/\1:\2\1/' Regards, Manish Jain From owner-freebsd-questions@freebsd.org Tue Aug 25 20:50:41 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDD9A3BB78C for ; Tue, 25 Aug 2020 20:50:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbh350BlRz46ry for ; Tue, 25 Aug 2020 20:50:40 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 25 Aug 2020 13:50:27 -0700 Subject: Re: Jail question: packages with relative symlinks To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> Date: Tue, 25 Aug 2020 13:50:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bbh350BlRz46ry X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [2.66 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.88)[0.882]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.88)[0.878]; ARC_NA(0.00)[]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 20:50:42 -0000 On 2020-08-25 09:51, Valeri Galtsev wrote: > Dear Experts, > > I've got question about jails, namely, what do you do if some package > you install in jail brings relative symlink(s)? > > I install jails "by the book" and if relative symlinks are in > /usr/local, there is no problem with those, as in jail an equivalent of > /usr/local is > > /s/usr-local > > and the depth is the same as on real system. However, /etc in jail is > > /s/etc > > and if package brings relative symlink to /etc, in jail it will point > nowhere. I just resolved this failure for package ca_root_nss in jail. > This package places in > > /etc/ssl > > relative symlink: > > cert.pem --> ../../usr/local/share/certs/ca-root-nss.crt > > In jail, however it is situated in > > /s/etc/ssl > > so the above relative symlink points nowhere. I did a "trivial" thing, > just replaced relative symlink with absolute one: > > cert.pem --> /usr/local/share/certs/ca-root-nss.crt > > ,and as this symlink is owned by the package ca_root_nss, I locked that > package, to prevent it from "automagically" replacing symlink with > relative if updated package is installed. > > This is kind of crude solution, standing next to the "hack", so I do not > like what I did. > > > I wonder, how jail experts deal with relative symlinks when some package > brings it into place where filesystem depth in jail is different from > real system. > > > Thanks. > Valeri I am no jail expert, but AIUI jails include chroot(8) functionality. So, all paths used within a jail will be resolved within the jailed tree. If you log in to the jail as root and install your software from there, it should just work. David p.s. Lucas wrote some good books that cover jails: [1] https://mwl.io/nonfiction/os#af3e [2] https://mwl.io/nonfiction/os#fmjail From owner-freebsd-questions@freebsd.org Tue Aug 25 20:56:24 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16DE53BBA2C for ; Tue, 25 Aug 2020 20:56:24 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bbh9g3SYTz47Cx for ; Tue, 25 Aug 2020 20:56:23 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 67EC210276A for ; Tue, 25 Aug 2020 22:56:22 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UJ0dSzy7u9GM for ; Tue, 25 Aug 2020 22:56:22 +0200 (CEST) Received: from christophs-macbook-pro.fritz.box (p57a1fff5.dip0.t-ipconnect.de [87.161.255.245]) by mail.kukulies.org (Postfix) with ESMTPSA id E293C102769 for ; Tue, 25 Aug 2020 22:56:21 +0200 (CEST) From: Christoph Kukulies Content-Type: multipart/signed; boundary="Apple-Mail=_0F3E5EE7-9FB9-40D1-9E1D-F07C77B248E9"; protocol="application/pkcs7-signature"; micalg=sha-256 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Sed pattern help - not FreeBSD related Date: Tue, 25 Aug 2020 22:56:21 +0200 References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> To: Ruben via freebsd-questions In-Reply-To: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> Message-Id: <382128BE-6CC3-404C-9511-3F62BF25D451@kukulies.org> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4Bbh9g3SYTz47Cx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [-1.24 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.33)[-0.328]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[87.161.255.245:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.31)[-0.313]; FREEFALL_USER(0.00)[kuku]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kukulies.org]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-questions] X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 20:56:24 -0000 --Apple-Mail=_0F3E5EE7-9FB9-40D1-9E1D-F07C77B248E9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Must have been garbled. In my mail viewer (apple mail) the block looks like this: LOOP: DC LOOP+2 DO: DO+2 J: J+2 ENCL: ENCL+2 PDP-11 VERSION OF ENCLOSE KEY KEY+2 EMIT EMIT+2 QTERM QTERM+2 > Am 25.08.2020 um 22:00 schrieb Christoph Kukulies : > > > LOOP: DC LOOP+2 > DO: DO+2 > J: J+2 > ENCL: ENCL+2 PDP-11 VERSION OF ENCLOSE > KEY KEY+2 > EMIT EMIT+2 > QTERM QTERM+2 --Apple-Mail=_0F3E5EE7-9FB9-40D1-9E1D-F07C77B248E9 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCCc0w ggSQMIIDeKADAgECAggYVYMhomAL1zANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJERTEzMDEG A1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQD DBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMB4XDTIwMDUxNjE1Mjc1OVoXDTIxMDUxNjE1Mjc1 OVowbzELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNWVjMDA4ZGQzNzNhZDhlYzEbMBkG A1UEAwwSQ2hyaXN0b3BoIEt1a3VsaWVzMSAwHgYJKoZIhvcNAQkBFhFrdWt1QGt1a3VsaWVzLm9y ZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKug1655hQWRmOtGAShZLbMwDtrm7rAH 7p1oPtE/5KpTpJZe8LHPxxvW0EAd2JcLtEhdvAi7smhZ/giJ3IBK7OYmdaCvuQ6MFvJpkmLkQ9TO 4+RLW+PkBk8nFIUe+PQG+VurpWc8pbU4IRsWS3pEUgov9+LF6VtyYBHKD2HZwe46YBwUq7l0EHxc aa98ewCMO43XznlqjE+oKxwaS2nl1rL/SPVlfGmKqHkdSKEKl6yR1LCcI3J3HP56kqmIrvtySr7q UZVsibA+D6vArqklO99WKQmt0b4IX6TXouvAA6bNoF1FhYUyihm4omMWZkdTs7Gv5rr1fzPWXcev cMfJdtUCAwEAAaOCATcwggEzMB0GA1UdDgQWBBSQh9N17gCH/igJy5ftrVaJNm6SCTAMBgNVHRMB Af8EAjAAMB8GA1UdIwQYMBaAFOnGk9HVDwZkcupqlj66EPJUVLJ5MFYGA1UdIARPME0wSwYMKwYB BAH7KwIBAwIIMDswOQYIKwYBBQUHAgEWLWh0dHA6Ly9zZWM1LmRnbnNlcnZpY2UuZGUvcG9saWNp ZXMvaW5kZXguaHRtbDA+BgNVHR8ENzA1MDOgMaAvhi1odHRwOi8vc2VjNS5kZ25zZXJ2aWNlLmRl L2NybC9jcmwyLXR5cGUtZS5jcmwwDgYDVR0PAQH/BAQDAgSwMB0GA1UdJQQWMBQGCCsGAQUFBwMC BggrBgEFBQcDBDAcBgNVHREEFTATgRFrdWt1QGt1a3VsaWVzLm9yZzANBgkqhkiG9w0BAQsFAAOC AQEALUBRNzLAUiPi29LLATqWmrUlyacMVAtjdROQMd/AVPj0mUqTMoDO+YoWICOSEn/nEyb2Lrrz JNGqC6KO0CNROaWcEhFadKx4qtp9t26Qe/EkO0XbXexIfBxFl1ynQA54D0qtPb/SUZvTy0tq8oBt FdsIU+cXAzigEz2Z9nziHBMqThoKzAZSrk/sPvxT6MNMC/BMGlHGl0DV//wwI5vlzJiKS8iXFyxf 5VrN1IwgRyqXD8JsgF1BuEqcloSJ3JnWUGQCTURFasZDJlP0f/KJS8odUpEWDKnn6tt0RjBk0jUN i7z42ozzPn/o154AgXC2cNmROxC0gnvd+V/yIuAryDCCBTUwggQdoAMCAQICCFUcStdmrSX2MA0G CSqGSIb3DQEBCwUAMGExCzAJBgNVBAYTAkRFMTMwMQYDVQQKDCpER04gRGV1dHNjaGVzIEdlc3Vu ZGhlaXRzbmV0eiBTZXJ2aWNlIEdtYkgxHTAbBgNVBAMMFGRnbnNlcnZpY2UgUm9vdCA3OlBOMB4X DTE2MTAyNjA5MjI0MVoXDTI0MTAyNjA5MjI0MVowZjELMAkGA1UEBhMCREUxMzAxBgNVBAoMKkRH TiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAGA1UEAwwZZGduc2Vy dmljZSBDQSAyIFR5cGUgRTpQTjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANyl8pQ/ dMejR9KXZs5ro81tFwNhloThlXe8sat79Tjjk6xFqE5E94//0vifJxMrp9RrCkNOo5oPG1djGOgk 0L0ucpHFUH9SQF/SHbm83QvWJXgqEJpjxOKZXTPbJRKVvY25niB0FTr2omRqypiP4A/w5xA6jSJ2 P02vV6WgcPfaLQkM+SEGPxV/pzpvuY3KfzJ9li9mXPNXaJD9y+jqIUvHbCAbuYKQ5nwEAcYMXDpP RQgDQGTrRiFExHEjsZeMzEFADZj9deg/h29AMO0w2YrSvkNReh/zvDZutdy25DZvjE3AUgStWgBC 7x+2ddOb2I61o6xbIsxlfq/mzNpAGoECAwEAAaOCAeowggHmMBIGA1UdEwEB/wQIMAYBAf8CAQAw HwYDVR0jBBgwFoAUAQwWG3Ry0zwU7iZ3t0kUU9j7ixswWwYIKwYBBQUHAQEETzBNMEsGCCsGAQUF BzABhj9odHRwOi8vcm9jc3AtZGduLmRnbnNlcnZpY2UuZGU6ODA4MC9lamJjYS9wdWJsaWN3ZWIv c3RhdHVzL29jc3AwagYDVR0gBGMwYTBfBgwrBgEEAfsrAgEEAgEwTzBNBggrBgEFBQcCARZBaHR0 cDovL3d3dy5kZ25zZXJ2aWNlLmRlL3RydXN0Y2VudGVyL3B1YmxpYy9kZ25zZXJ2aWNlL2luZGV4 Lmh0bWwwgZkGA1UdHwSBkTCBjjCBi6CBiKCBhYaBgmxkYXA6Ly9sZGFwLmRnbnNlcnZpY2UuZGU6 Mzg5L0NOPUNSTC0xLE89REdOJTIwU2VydmljZSUyMEdtYkgsQz1ERT9jZXJ0aWZpY2F0ZVJldm9j YXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHQYDVR0OBBYE FOnGk9HVDwZkcupqlj66EPJUVLJ5MA4GA1UdDwEB/wQEAwIBBjAbBgkrBgEEAcBtAwUEDjAMBgor BgEEAcBtAwUBMA0GCSqGSIb3DQEBCwUAA4IBAQCrvDn6Rcn7/FNq3SOJNfgYNfkdR5CiGoC4sZ+i 0dypCqqMXwbpRQjSriLS2eEe2V2Fms0E4SuBOEaxOg1nVjYafQVGtytRT0ueFIzB3VcnQl7oRFJ0 SHi9d/xjElAZkk8I8lytuWG57SabA72duEp7AaCWG3lVZIdNLy+rkNrfNvEUbqUh0TrZXgqpwwCL JjYF8vyC4I+xxNaXm3EmuNvgQ2j2dGp3Oxc0QbfLLOCbK/rOdDikaBN7kTqpfHls7pcIOhQrgrPV LzY/NHqG9zEpmjuQora63YHdu7BTzGp/DvcQwfyKa/gtb9LHn3AoSUqOKOMd02sUb/AxGhsNjMzJ MYIDFDCCAxACAQEwcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1 bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBF OlBOAggYVYMhomAL1zANBglghkgBZQMEAgEFAKCCAXMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH ATAcBgkqhkiG9w0BCQUxDxcNMjAwODI1MjA1NjIxWjAvBgkqhkiG9w0BCQQxIgQgQzQgmEbP0aWp QTsjXvT7csLHQSGAEcoG5gpVMONEnegwgYEGCSsGAQQBgjcQBDF0MHIwZjELMAkGA1UEBhMCREUx MzAxBgNVBAoMKkRHTiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAG A1UEAwwZZGduc2VydmljZSBDQSAyIFR5cGUgRTpQTgIIGFWDIaJgC9cwgYMGCyqGSIb3DQEJEAIL MXSgcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25l dHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOAggYVYMh omAL1zANBgkqhkiG9w0BAQEFAASCAQAqzxejUNMXp29OW10zd5NIJXsCp5mVjHteQQjnvGSAZDuO TTRlmUv/CXK1TbAmCI/vy4Zf+k+p0lbQEO4I6dJGVHCYq3kxBQsQtCHsPK/0Ad+4hmyezxtfQbGH 0uSe8/45xX0pHmhN5bQGffNK327qBIA46h/VazKZ8hZbHc+98/57hHNoLmLxGLXsga1jm6XWmn3O IxOCC2NkQ09WqRDY2qXhYJVjt1HfM4ewrxgbsQNcSz39SmZycJ9+ahWNZgKcuJCDgSpjVEwQ/O4n lkKTLeC9/0PxDtwdsleuqKNJQByp8nd/XkEGVC84LVSqpcsxIN+NHBJ4jOpSlXwPjufbAAAAAAAA --Apple-Mail=_0F3E5EE7-9FB9-40D1-9E1D-F07C77B248E9-- From owner-freebsd-questions@freebsd.org Tue Aug 25 21:02:50 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 40AB63BBDBA for ; Tue, 25 Aug 2020 21:02:50 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4BbhK51PMBz47Tk for ; Tue, 25 Aug 2020 21:02:48 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 5190C10276A for ; Tue, 25 Aug 2020 23:02:48 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ROsdhY5-5kSM for ; Tue, 25 Aug 2020 23:02:48 +0200 (CEST) Received: from christophs-macbook-pro.fritz.box (p57a1fff5.dip0.t-ipconnect.de [87.161.255.245]) by mail.kukulies.org (Postfix) with ESMTPSA id EB240102769 for ; Tue, 25 Aug 2020 23:02:47 +0200 (CEST) From: Christoph Kukulies Content-Type: multipart/signed; boundary="Apple-Mail=_765373A9-600C-47B6-9130-C9116B7BAB96"; protocol="application/pkcs7-signature"; micalg=sha-256 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Sed pattern help - not FreeBSD related Date: Tue, 25 Aug 2020 23:02:47 +0200 References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> To: Ruben via freebsd-questions In-Reply-To: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> Message-Id: <5EFD7C16-FAB5-4CBC-B06A-B0EA6F6BC5BA@kukulies.org> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BbhK51PMBz47Tk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.35)[-0.352]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[87.161.255.245:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.35)[-0.352]; FREEFALL_USER(0.00)[kuku]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kukulies.org]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 21:02:50 -0000 --Apple-Mail=_765373A9-600C-47B6-9130-C9116B7BAB96 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Excuses, the result should look like: (forgot the DC) > LOOP: DC LOOP+2 > DO: DC DO+2 > J: DC J+2 > ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE > KEY DC KEY+2 > EMIT DC EMIT+2 > QTERM DC QTERM+2 > Am 25.08.2020 um 22:00 schrieb Christoph Kukulies : >=20 > Excuses for asking a sed problem only without relation to FreeBSD: >=20 > I have a file el2 with the following content: >=20 > LOOP: DC *+2 > DO: DC *+2 > J: DC *+2 > ENCL: DC *+2 PDP-11 VERSION OF ENCLOSE > KEY DC *+2 > EMIT DC *+2 > QTERM DC *+2 > With a sed command I will make it become: >=20 > LOOP: DC LOOP+2 > DO: DC DO+2 > J: DC J+2 > ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE > KEY DC KEY+2 > EMIT DC EMIT+2 > QTERM DC QTERM+2 >=20 > In other words, the "*" should be replaced by the label in front of = the line. > In case the line contains something after "+2=E2=80=9C (a comment), it = should be appended. >=20 > The following sed command doesn=E2=80=99t work. Please no = awk,perl,python or other script :) >=20 > $ sed 's/\(^[A-Z0-9]*\)\(:?\)\([ \t]*\)\(DC \*\+2\)\(.*$\)/\1\2\3DC = \1+2/\5=E2=80=99 =20 >=20 > Thanks in advance, >=20 > =E2=80=94 > Christoph >=20 >=20 >=20 --Apple-Mail=_765373A9-600C-47B6-9130-C9116B7BAB96 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCCc0w ggSQMIIDeKADAgECAggYVYMhomAL1zANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJERTEzMDEG A1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQD DBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMB4XDTIwMDUxNjE1Mjc1OVoXDTIxMDUxNjE1Mjc1 OVowbzELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNWVjMDA4ZGQzNzNhZDhlYzEbMBkG A1UEAwwSQ2hyaXN0b3BoIEt1a3VsaWVzMSAwHgYJKoZIhvcNAQkBFhFrdWt1QGt1a3VsaWVzLm9y ZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKug1655hQWRmOtGAShZLbMwDtrm7rAH 7p1oPtE/5KpTpJZe8LHPxxvW0EAd2JcLtEhdvAi7smhZ/giJ3IBK7OYmdaCvuQ6MFvJpkmLkQ9TO 4+RLW+PkBk8nFIUe+PQG+VurpWc8pbU4IRsWS3pEUgov9+LF6VtyYBHKD2HZwe46YBwUq7l0EHxc aa98ewCMO43XznlqjE+oKxwaS2nl1rL/SPVlfGmKqHkdSKEKl6yR1LCcI3J3HP56kqmIrvtySr7q UZVsibA+D6vArqklO99WKQmt0b4IX6TXouvAA6bNoF1FhYUyihm4omMWZkdTs7Gv5rr1fzPWXcev cMfJdtUCAwEAAaOCATcwggEzMB0GA1UdDgQWBBSQh9N17gCH/igJy5ftrVaJNm6SCTAMBgNVHRMB Af8EAjAAMB8GA1UdIwQYMBaAFOnGk9HVDwZkcupqlj66EPJUVLJ5MFYGA1UdIARPME0wSwYMKwYB BAH7KwIBAwIIMDswOQYIKwYBBQUHAgEWLWh0dHA6Ly9zZWM1LmRnbnNlcnZpY2UuZGUvcG9saWNp ZXMvaW5kZXguaHRtbDA+BgNVHR8ENzA1MDOgMaAvhi1odHRwOi8vc2VjNS5kZ25zZXJ2aWNlLmRl L2NybC9jcmwyLXR5cGUtZS5jcmwwDgYDVR0PAQH/BAQDAgSwMB0GA1UdJQQWMBQGCCsGAQUFBwMC BggrBgEFBQcDBDAcBgNVHREEFTATgRFrdWt1QGt1a3VsaWVzLm9yZzANBgkqhkiG9w0BAQsFAAOC AQEALUBRNzLAUiPi29LLATqWmrUlyacMVAtjdROQMd/AVPj0mUqTMoDO+YoWICOSEn/nEyb2Lrrz JNGqC6KO0CNROaWcEhFadKx4qtp9t26Qe/EkO0XbXexIfBxFl1ynQA54D0qtPb/SUZvTy0tq8oBt FdsIU+cXAzigEz2Z9nziHBMqThoKzAZSrk/sPvxT6MNMC/BMGlHGl0DV//wwI5vlzJiKS8iXFyxf 5VrN1IwgRyqXD8JsgF1BuEqcloSJ3JnWUGQCTURFasZDJlP0f/KJS8odUpEWDKnn6tt0RjBk0jUN i7z42ozzPn/o154AgXC2cNmROxC0gnvd+V/yIuAryDCCBTUwggQdoAMCAQICCFUcStdmrSX2MA0G CSqGSIb3DQEBCwUAMGExCzAJBgNVBAYTAkRFMTMwMQYDVQQKDCpER04gRGV1dHNjaGVzIEdlc3Vu ZGhlaXRzbmV0eiBTZXJ2aWNlIEdtYkgxHTAbBgNVBAMMFGRnbnNlcnZpY2UgUm9vdCA3OlBOMB4X DTE2MTAyNjA5MjI0MVoXDTI0MTAyNjA5MjI0MVowZjELMAkGA1UEBhMCREUxMzAxBgNVBAoMKkRH TiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAGA1UEAwwZZGduc2Vy dmljZSBDQSAyIFR5cGUgRTpQTjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANyl8pQ/ dMejR9KXZs5ro81tFwNhloThlXe8sat79Tjjk6xFqE5E94//0vifJxMrp9RrCkNOo5oPG1djGOgk 0L0ucpHFUH9SQF/SHbm83QvWJXgqEJpjxOKZXTPbJRKVvY25niB0FTr2omRqypiP4A/w5xA6jSJ2 P02vV6WgcPfaLQkM+SEGPxV/pzpvuY3KfzJ9li9mXPNXaJD9y+jqIUvHbCAbuYKQ5nwEAcYMXDpP RQgDQGTrRiFExHEjsZeMzEFADZj9deg/h29AMO0w2YrSvkNReh/zvDZutdy25DZvjE3AUgStWgBC 7x+2ddOb2I61o6xbIsxlfq/mzNpAGoECAwEAAaOCAeowggHmMBIGA1UdEwEB/wQIMAYBAf8CAQAw HwYDVR0jBBgwFoAUAQwWG3Ry0zwU7iZ3t0kUU9j7ixswWwYIKwYBBQUHAQEETzBNMEsGCCsGAQUF BzABhj9odHRwOi8vcm9jc3AtZGduLmRnbnNlcnZpY2UuZGU6ODA4MC9lamJjYS9wdWJsaWN3ZWIv c3RhdHVzL29jc3AwagYDVR0gBGMwYTBfBgwrBgEEAfsrAgEEAgEwTzBNBggrBgEFBQcCARZBaHR0 cDovL3d3dy5kZ25zZXJ2aWNlLmRlL3RydXN0Y2VudGVyL3B1YmxpYy9kZ25zZXJ2aWNlL2luZGV4 Lmh0bWwwgZkGA1UdHwSBkTCBjjCBi6CBiKCBhYaBgmxkYXA6Ly9sZGFwLmRnbnNlcnZpY2UuZGU6 Mzg5L0NOPUNSTC0xLE89REdOJTIwU2VydmljZSUyMEdtYkgsQz1ERT9jZXJ0aWZpY2F0ZVJldm9j YXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHQYDVR0OBBYE FOnGk9HVDwZkcupqlj66EPJUVLJ5MA4GA1UdDwEB/wQEAwIBBjAbBgkrBgEEAcBtAwUEDjAMBgor BgEEAcBtAwUBMA0GCSqGSIb3DQEBCwUAA4IBAQCrvDn6Rcn7/FNq3SOJNfgYNfkdR5CiGoC4sZ+i 0dypCqqMXwbpRQjSriLS2eEe2V2Fms0E4SuBOEaxOg1nVjYafQVGtytRT0ueFIzB3VcnQl7oRFJ0 SHi9d/xjElAZkk8I8lytuWG57SabA72duEp7AaCWG3lVZIdNLy+rkNrfNvEUbqUh0TrZXgqpwwCL JjYF8vyC4I+xxNaXm3EmuNvgQ2j2dGp3Oxc0QbfLLOCbK/rOdDikaBN7kTqpfHls7pcIOhQrgrPV LzY/NHqG9zEpmjuQora63YHdu7BTzGp/DvcQwfyKa/gtb9LHn3AoSUqOKOMd02sUb/AxGhsNjMzJ MYIDFDCCAxACAQEwcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1 bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBF OlBOAggYVYMhomAL1zANBglghkgBZQMEAgEFAKCCAXMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH ATAcBgkqhkiG9w0BCQUxDxcNMjAwODI1MjEwMjQ3WjAvBgkqhkiG9w0BCQQxIgQgciI5ebefYCyy MgwIhHNuglpCNOQtpLZr4fmwY13Emq4wgYEGCSsGAQQBgjcQBDF0MHIwZjELMAkGA1UEBhMCREUx MzAxBgNVBAoMKkRHTiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAG A1UEAwwZZGduc2VydmljZSBDQSAyIFR5cGUgRTpQTgIIGFWDIaJgC9cwgYMGCyqGSIb3DQEJEAIL MXSgcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25l dHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOAggYVYMh omAL1zANBgkqhkiG9w0BAQEFAASCAQATRO5YG4D09uygHZPKJcpR94GLMVVU3/uwHyQ0lsdUbltU Tz132AZB1pEaMCy8Td8atxRimpRzjXsMTeg4ojxMoz6I/V3WUVgKtdSYaHqZvrP18y3Wyd4VEqHy IJ2p1HTsx2jovng7Ih/AnQeuHCwAOozqKMlC/4v2nwM0vARvDG/bbK+biRI9EA/f9c6kTLFQOm4+ wg4pOJlC8iWiaG9ghA0uyW5NcS5NG2f5SSlAwtJA21UVmiB6SrK9DAZieJzjx6CAiFUSRamazCWa dRsw4vtlOew2UD8B3sIBFK/+j3t0EawRzVDfb2w5vNPtdMvLfoFURp4JVEggrbMYSRaHAAAAAAAA --Apple-Mail=_765373A9-600C-47B6-9130-C9116B7BAB96-- From owner-freebsd-questions@freebsd.org Tue Aug 25 21:12:28 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABB833BC600 for ; Tue, 25 Aug 2020 21:12:28 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BbhXC4dKsz487K for ; Tue, 25 Aug 2020 21:12:27 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [10.150.31.27] (unknown [10.150.31.27]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 187D14E66A for ; Tue, 25 Aug 2020 16:12:27 -0500 (CDT) Subject: Re: Jail question: packages with relative symlinks To: freebsd-questions@freebsd.org References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> From: Valeri Galtsev Message-ID: <9127e9ca-c6be-d007-bd82-fdf7c5508242@kicp.uchicago.edu> Date: Tue, 25 Aug 2020 16:12:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BbhXC4dKsz487K X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [0.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.35)[0.353]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.05)[0.047]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 21:12:28 -0000 On 8/25/20 3:50 PM, David Christensen wrote: > On 2020-08-25 09:51, Valeri Galtsev wrote: >> Dear Experts, >> >> I've got question about jails, namely, what do you do if some package >> you install in jail brings relative symlink(s)? >> >> I install jails "by the book" and if relative symlinks are in >> /usr/local, there is no problem with those, as in jail an equivalent >> of /usr/local is >> >> /s/usr-local >> >> and the depth is the same as on real system. However, /etc in jail is >> >> /s/etc >> >> and if package brings relative symlink to /etc, in jail it will point >> nowhere. I just resolved this failure for package ca_root_nss in jail. >> This package places in >> >> /etc/ssl >> >> relative symlink: >> >> cert.pem --> ../../usr/local/share/certs/ca-root-nss.crt >> >> In jail, however it is situated in >> >> /s/etc/ssl >> >> so the above relative symlink points nowhere. I did a "trivial" thing, >> just replaced relative symlink with absolute one: >> >> cert.pem --> /usr/local/share/certs/ca-root-nss.crt >> >> ,and as this symlink is owned by the package ca_root_nss, I locked >> that package, to prevent it from "automagically" replacing symlink >> with relative if updated package is installed. >> >> This is kind of crude solution, standing next to the "hack", so I do >> not like what I did. >> >> >> I wonder, how jail experts deal with relative symlinks when some >> package brings it into place where filesystem depth in jail is >> different from real system. >> >> >> Thanks. >> Valeri > > I am no jail expert, but AIUI jails include chroot(8) functionality. So, > all paths used within a jail will be resolved within the jailed tree. > > > If you log in to the jail as root and install your software from there, > it should just work. > Having that structure with symlinks I have mentioned has a special purpose. That purpose is: the base system is mounted read only inside the jail, and only things that have to be read-write are read-write. This basically precludes using what you suggest without diminishing robustness of jails. Thanks for your input though! Valeri > > David > > > p.s. Lucas wrote some good books that cover jails: > > [1] https://mwl.io/nonfiction/os#af3e > > [2] https://mwl.io/nonfiction/os#fmjail > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Aug 25 21:30:21 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B50EC3BCA53 for ; Tue, 25 Aug 2020 21:30:21 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bbhwr6ZKBz4BKt for ; Tue, 25 Aug 2020 21:30:20 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [10.150.31.27] (unknown [10.150.31.27]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 5A7534E64C for ; Tue, 25 Aug 2020 16:30:20 -0500 (CDT) Subject: Re: Jail question: packages with relative symlinks To: freebsd-questions@freebsd.org References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> <9127e9ca-c6be-d007-bd82-fdf7c5508242@kicp.uchicago.edu> From: Valeri Galtsev Message-ID: <7c3ad6a6-5ff1-5816-dc23-83d80590baac@kicp.uchicago.edu> Date: Tue, 25 Aug 2020 16:30:20 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <9127e9ca-c6be-d007-bd82-fdf7c5508242@kicp.uchicago.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bbhwr6ZKBz4BKt X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [0.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.35)[0.347]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.05)[0.049]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 21:30:21 -0000 On 8/25/20 4:12 PM, Valeri Galtsev wrote: > > > On 8/25/20 3:50 PM, David Christensen wrote: >> On 2020-08-25 09:51, Valeri Galtsev wrote: >>> Dear Experts, >>> >>> I've got question about jails, namely, what do you do if some package >>> you install in jail brings relative symlink(s)? >>> >>> I install jails "by the book" and if relative symlinks are in >>> /usr/local, there is no problem with those, as in jail an equivalent >>> of /usr/local is >>> >>> /s/usr-local >>> >>> and the depth is the same as on real system. However, /etc in jail is >>> >>> /s/etc >>> >>> and if package brings relative symlink to /etc, in jail it will point >>> nowhere. I just resolved this failure for package ca_root_nss in >>> jail. This package places in >>> >>> /etc/ssl >>> >>> relative symlink: >>> >>> cert.pem --> ../../usr/local/share/certs/ca-root-nss.crt >>> >>> In jail, however it is situated in >>> >>> /s/etc/ssl >>> >>> so the above relative symlink points nowhere. I did a "trivial" >>> thing, just replaced relative symlink with absolute one: >>> >>> cert.pem --> /usr/local/share/certs/ca-root-nss.crt >>> >>> ,and as this symlink is owned by the package ca_root_nss, I locked >>> that package, to prevent it from "automagically" replacing symlink >>> with relative if updated package is installed. >>> >>> This is kind of crude solution, standing next to the "hack", so I do >>> not like what I did. >>> >>> >>> I wonder, how jail experts deal with relative symlinks when some >>> package brings it into place where filesystem depth in jail is >>> different from real system. >>> >>> >>> Thanks. >>> Valeri >> >> I am no jail expert, but AIUI jails include chroot(8) functionality. >> So, all paths used within a jail will be resolved within the jailed tree. >> >> >> If you log in to the jail as root and install your software from >> there, it should just work. >> > > Having that structure with symlinks I have mentioned has a special > purpose. That purpose is: the base system is mounted read only inside > the jail, and only things that have to be read-write are read-write. > I probably didn't explain things detailed enough. my jail has its root in: /jail/[jailname] so all what is inside jail on host filesystem is visible as: /jail/[jailname]/s/etc /jail/[jailname]/etc --> s/etc /jail/[jailname]/usr /jail/[jailname]/s/usr-local /jail/[jailname]/usr/local --> ../s/usr-local ... the /jail/[jailname] is base system mounted read-only (with symlinks etc pointing to s/etc, and others which point to a single place /jail/[jailname]/s which is mounted read-write, and this is the only place inside jail which is read-write. This is the wonderful idea which inside jail makes base system read-only. And it is convenient, as you maintain only one base system (of given version) for all jails. And as you correctly said, chroot is used (in addition to other things), so inside jail what on host is /jail/[jailname]/ is plainly / I hope, this provides enough detail to un-confuse things (and the need of symlinks when one sets up jails "by the book", meaning FreeBSD Handbook) Valeri > This basically precludes using what you suggest without diminishing > robustness of jails. > > Thanks for your input though! > > Valeri > >> >> David >> >> >> p.s. Lucas wrote some good books that cover jails: >> >> [1] https://mwl.io/nonfiction/os#af3e >> >> [2] https://mwl.io/nonfiction/os#fmjail >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Aug 25 22:46:05 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89EA03BEE30 for ; Tue, 25 Aug 2020 22:46:05 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbkcD4T07z4Gwn for ; Tue, 25 Aug 2020 22:46:04 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.15.2) with ESMTPSA id 07PMifYG025261 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 25 Aug 2020 17:44:41 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: Sed pattern help - not FreeBSD related To: Christoph Kukulies , Ruben via freebsd-questions References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> <5EFD7C16-FAB5-4CBC-B06A-B0EA6F6BC5BA@kukulies.org> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: <81c68558-175c-efef-7e43-e6cb87f3329b@tundraware.com> Date: Tue, 25 Aug 2020 17:44:35 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <5EFD7C16-FAB5-4CBC-B06A-B0EA6F6BC5BA@kukulies.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Tue, 25 Aug 2020 17:44:41 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 07PMifYG025261 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, timed out) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4BbkcD4T07z4Gwn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-0.94 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_SPAM_SHORT(0.01)[0.006]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[tundraware.com]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.65)[-0.646]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 22:46:05 -0000 On 8/25/20 4:02 PM, Christoph Kukulies wrote: > Excuses, the result should look like: (forgot the DC) > >> LOOP: DC LOOP+2 >> DO: DC DO+2 >> J: DC J+2 >> ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE >> KEY DC KEY+2 >> EMIT DC EMIT+2 >> QTERM DC QTERM+2 Here is a one-liner using sed and awk. It suffers from two deficiencies: - It does not handle arbitrarily long comments - It's really ugly sed s/':'//g < myfile | awk '{print $1":", $2, $1"+2", $4, $5, $6, $7, $8, $9. $10}' -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Tue Aug 25 23:06:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 26D123BF93B for ; Tue, 25 Aug 2020 23:06:16 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbl3V6kTrz4Hxc for ; Tue, 25 Aug 2020 23:06:14 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.15.2) with ESMTPSA id 07PN5oP0025821 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 25 Aug 2020 18:05:50 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: Sed pattern help - not FreeBSD related From: Tim Daneliuk To: Christoph Kukulies , Ruben via freebsd-questions References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> <5EFD7C16-FAB5-4CBC-B06A-B0EA6F6BC5BA@kukulies.org> <81c68558-175c-efef-7e43-e6cb87f3329b@tundraware.com> Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: <5f319e25-5eaf-1ae1-3695-9a1fcc01f9be@tundraware.com> Date: Tue, 25 Aug 2020 18:05:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <81c68558-175c-efef-7e43-e6cb87f3329b@tundraware.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Tue, 25 Aug 2020 18:05:50 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 07PN5oP0025821 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-3.452, required 1, ALL_TRUSTED -1.00, AWL 2.05, BAYES_00 -1.90, NICE_REPLY_A -2.60) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4Bbl3V6kTrz4Hxc X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-0.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_SPAM_SHORT(0.38)[0.376]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[tundraware.com]; NEURAL_HAM_MEDIUM(-0.65)[-0.646]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 23:06:16 -0000 On 8/25/20 5:44 PM, Tim Daneliuk wrote: > On 8/25/20 4:02 PM, Christoph Kukulies wrote: >> Excuses, the result should look like: (forgot the DC) >> >>> LOOP: DC LOOP+2 >>> DO: DC DO+2 >>> J: DC J+2 >>> ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE >>> KEY DC KEY+2 >>> EMIT DC EMIT+2 >>> QTERM DC QTERM+2 > > Here is a one-liner using sed and awk. It suffers from two deficiencies: > > - It does not handle arbitrarily long comments > - It's really ugly > > sed s/':'//g < myfile | awk '{print $1":", $2, $1"+2", $4, $5, $6, $7, $8, $9. $10}' > Oops, not quite right because it inserts colons blindly in the first field - which appears not what you want. More correct implementation in Python: !/usr/bin/env python import sys for line in sys.stdin.readlines(): line = line.strip().split() label = line[0] comment = " ".join(line[3:]) print("%s DC %s+2 %s" %(label, label.replace(':', ''), comment)) -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Tue Aug 25 23:26:01 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 199323C0694 for ; Tue, 25 Aug 2020 23:26:01 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from vie01a-dmta-at50-1.mx.upcmail.net (vie01a-dmta-at50-1.mx.upcmail.net [62.179.121.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BblVH0Q9zz4KKK for ; Tue, 25 Aug 2020 23:25:58 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from [172.31.216.41] (helo=vie01a-pemc-psmtp-at50) by vie01a-dmta-at50.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1kAiKC-0000tF-DO for freebsd-questions@freebsd.org; Wed, 26 Aug 2020 01:25:56 +0200 Received: from t61.lan ([85.126.97.210]) by vie01a-pemc-psmtp-at50 with SMTP @ mailcloud.upcmail.net id KzRw2300F4YLlkt0BzRwgh; Wed, 26 Aug 2020 01:25:56 +0200 X-SourceIP: 85.126.97.210 X-CNFS-Analysis: v=2.2 cv=O6RJhF1W c=1 sm=2 tr=0 cx=a_idp_f a=/Ac8Q0O/YFE5LOLfUiYZVw==:117 a=/Ac8Q0O/YFE5LOLfUiYZVw==:17 a=8nJEP1OIZ-IA:10 a=8NP7CG0kedU35lt0mN8A:9 a=wPNLvfGTeEIA:10 From: "Dr. Nikolaus Klepp" To: freebsd-questions@freebsd.org Subject: Re: Sed pattern help - not FreeBSD related Date: Wed, 26 Aug 2020 01:25:55 +0200 User-Agent: KMail/1.9.10 References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> <81c68558-175c-efef-7e43-e6cb87f3329b@tundraware.com> <5f319e25-5eaf-1ae1-3695-9a1fcc01f9be@tundraware.com> In-Reply-To: <5f319e25-5eaf-1ae1-3695-9a1fcc01f9be@tundraware.com> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <202008260125.55781.dr.klepp@gmx.at> X-Rspamd-Queue-Id: 4BblVH0Q9zz4KKK X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of dr.klepp@gmx.at does not designate 62.179.121.136 as permitted sender) smtp.mailfrom=dr.klepp@gmx.at X-Spamd-Result: default: False [4.28 / 15.00]; RCVD_TLS_LAST(0.00)[]; R_SPF_FAIL(1.00)[-all]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gmx.at]; NEURAL_SPAM_MEDIUM(0.76)[0.763]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.72)[0.721]; MID_CONTAINS_FROM(1.00)[]; FROM_NAME_HAS_TITLE(1.00)[dr]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.at]; ASN(0.00)[asn:6830, ipnet:62.179.0.0/17, country:AT]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[62.179.121.136:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 23:26:01 -0000 Anno domini 2020 Tue, 25 Aug 18:05:45 -0500 Tim Daneliuk scripsit: > On 8/25/20 5:44 PM, Tim Daneliuk wrote: > > On 8/25/20 4:02 PM, Christoph Kukulies wrote: > >> Excuses, the result should look like: (forgot the DC) > >> > >>> LOOP: DC LOOP+2 > >>> DO: DC DO+2 > >>> J: DC J+2 > >>> ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE > >>> KEY DC KEY+2 > >>> EMIT DC EMIT+2 > >>> QTERM DC QTERM+2 > > > > Here is a one-liner using sed and awk. It suffers from two deficiencies: > > > > - It does not handle arbitrarily long comments > > - It's really ugly > > > > sed s/':'//g < myfile | awk '{print $1":", $2, $1"+2", $4, $5, $6, $7, $8, $9. $10}' > > > > > Oops, not quite right because it inserts colons blindly in the first field - > which appears not what you want. More correct implementation in Python: > > !/usr/bin/env python > > import sys > > for line in sys.stdin.readlines(): > > line = line.strip().split() > label = line[0] > comment = " ".join(line[3:]) > print("%s DC %s+2 %s" %(label, label.replace(':', ''), comment)) > > > sed 's#^\([^ \t]*\)\([^*]*\)[*]#\1\2\1#' Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E6D23C0EB4 for ; Tue, 25 Aug 2020 23:47:59 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bblzf3bZ3z4LlM for ; Tue, 25 Aug 2020 23:47:58 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.15.2) with ESMTPSA id 07PNkceg026949 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 25 Aug 2020 18:46:38 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: Sed pattern help - not FreeBSD related To: "Dr. Nikolaus Klepp" , freebsd-questions@freebsd.org References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> <81c68558-175c-efef-7e43-e6cb87f3329b@tundraware.com> <5f319e25-5eaf-1ae1-3695-9a1fcc01f9be@tundraware.com> <202008260125.55781.dr.klepp@gmx.at> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: Date: Tue, 25 Aug 2020 18:46:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <202008260125.55781.dr.klepp@gmx.at> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Tue, 25 Aug 2020 18:46:38 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 07PNkceg026949 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, timed out) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4Bblzf3bZ3z4LlM X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-0.40 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_SPAM_SHORT(0.07)[0.074]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[tundraware.com]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.18)[-0.178]; FREEMAIL_TO(0.00)[gmx.at,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 23:47:59 -0000 On 8/25/20 6:25 PM, Dr. Nikolaus Klepp wrote: > Anno domini 2020 Tue, 25 Aug 18:05:45 -0500 > Tim Daneliuk scripsit: >> On 8/25/20 5:44 PM, Tim Daneliuk wrote: >>> On 8/25/20 4:02 PM, Christoph Kukulies wrote: >>>> Excuses, the result should look like: (forgot the DC) >>>> >>>>> LOOP: DC LOOP+2 >>>>> DO: DC DO+2 >>>>> J: DC J+2 >>>>> ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE >>>>> KEY DC KEY+2 >>>>> EMIT DC EMIT+2 >>>>> QTERM DC QTERM+2 >>> >>> Here is a one-liner using sed and awk. It suffers from two deficiencies: >>> >>> - It does not handle arbitrarily long comments >>> - It's really ugly >>> >>> sed s/':'//g < myfile | awk '{print $1":", $2, $1"+2", $4, $5, $6, $7, $8, $9. $10}' >>> >> >> >> Oops, not quite right because it inserts colons blindly in the first field - >> which appears not what you want. More correct implementation in Python: >> >> !/usr/bin/env python >> >> import sys >> >> for line in sys.stdin.readlines(): >> >> line = line.strip().split() >> label = line[0] >> comment = " ".join(line[3:]) >> print("%s DC %s+2 %s" %(label, label.replace(':', ''), comment)) >> >> >> > > > sed 's#^\([^ \t]*\)\([^*]*\)[*]#\1\2\1#' > > nik > > > Note quite right either... it preserves the trailing ':' if present in the 1st field in the '+2' field... -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Wed Aug 26 04:27:17 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29D583C8912 for ; Wed, 26 Aug 2020 04:27:17 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbt9w2mnXz4dN8 for ; Wed, 26 Aug 2020 04:27:16 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x132.google.com with SMTP id t13so651492ile.9 for ; Tue, 25 Aug 2020 21:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wFVzSf84JDzIyA0JaXBX8pXtptq82QEqtoztsUv6CyM=; b=PqCy4bcTHtD5Rh72dFGxeZqpy5JD5ZSaZkG7aFP5tizH9YS1lkzmbwZA8rD0gDb3Bd fnGaXH/lsEizQT/UQyXyvxbJ4SL8wMSOiYht66Zp0t/Xlrs4sNK9/NX56wzk6Prvc6Jv ZM51wwseHFwHlLCHP1yJEzYuKt2oqcYOloDYaMfXXWDWLRwgIHA/mMPZeaX5tKJzdhbY Ly/y4BEpu6vQS5Qx7veOS4VYkrApArwHiYLpEe5WmMcyRB/uVw4K6sRiorqVGVc/5luf wBoksw+DIm8vPoQzbxCklh5ggQS/5RYj1IHZj3thNAomxk2vyn+2LpoEM3hjvyBYqyfi olhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wFVzSf84JDzIyA0JaXBX8pXtptq82QEqtoztsUv6CyM=; b=XZPIUt7WVSYtq30gUxvTUE3pgZea1ysPxsJGtgNj9ZJZxvCNvEsw91d/OQQaw+H1Nn reMD9aYHOdQ6ozPnpZ4ayEQTQB79SxfgZ7MuEM5L4LxcuVcv0WTrxocYI8UrocsEOcxS BfWUq7iABXCnnZ9QHI8xqV3TJOgCgGQnLhgXkqNYNl+bYNQa0+3NlXWOO3ZVLZKoHDLy VbbpemY8l3bb/9+nsV/DmG2f61BStKSo9ar2rsc/mrskizz7WX8505asjxDx+/8rLlMC gZTxXkk1SRYFpOAsnu4qpjDUlEf7T7OM/K3at0j25ufO06NUfVfSw2fqH4Kc3o0qGb2V pm6g== X-Gm-Message-State: AOAM530WR5kEtHG29g5yUYbzcxcQ7tVBIo2X17KyR1qIvNdk4QklipQ9 ILPOpEa/GV5eP/OKPCyHA5Z9LT6EDOkxucP29KtPaCG4xZg= X-Google-Smtp-Source: ABdhPJw4E7e2iIowhjrDh2dvAQ4EAQXAZgS7Kyxs2qB86/7FUZZjWVVOZmEIJRI2M9GKoh/xJu5wUnh31eMX9j1Dx8w= X-Received: by 2002:a92:5f19:: with SMTP id t25mr11552063ilb.119.1598416034971; Tue, 25 Aug 2020 21:27:14 -0700 (PDT) MIME-Version: 1.0 From: Aryeh Friedman Date: Wed, 26 Aug 2020 00:27:04 -0400 Message-ID: Subject: dual boot win10 and FreeBSD To: FreeBSD Mailing List X-Rspamd-Queue-Id: 4Bbt9w2mnXz4dN8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PqCy4bcT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.01 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.70)[-0.703]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.91)[-0.915]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::132:from]; NEURAL_HAM_SHORT(-0.40)[-0.396]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 04:27:17 -0000 I have a working FreeBSD machine (that needs to stay working wo/ any reinstalls) and want to add Windows 10 on a second SSD to the setup. What is the safest way to set this up for dual boot (starting with installing Windows). -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Aug 26 05:30:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 03BC43C9957 for ; Wed, 26 Aug 2020 05:30:44 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbvb63TThz4gqX for ; Wed, 26 Aug 2020 05:30:42 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 07Q5UcLG009665 for ; Wed, 26 Aug 2020 01:30:38 -0400 (EDT) (envelope-from doug@safeport.com) Date: Wed, 26 Aug 2020 01:30:38 -0400 (EDT) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: diff is a little diff -- erent Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Wed, 26 Aug 2020 01:30:38 -0400 (EDT) X-Rspamd-Queue-Id: 4Bbvb63TThz4gqX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-1.23 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.43)[-0.431]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.26)[-0.258]; DMARC_NA(0.00)[safeport.com]; NEURAL_HAM_SHORT(-0.44)[-0.436]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 05:30:44 -0000 So diff -y no longer works. I've been using this since 1995 This was done on purpose: 20170420: GNU diff has been replaced by a BSD licensed diff. Some features of GNU diff has not been implemented, if those are needed a newer version of GNU diff is available via the diffutils package under the gdiff name. I do wonder why. Who is going to go to the effort to build/install "base" commands as various options are removed/changed? I can't wait to see what happens to cp, grep, find, and awk. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 From owner-freebsd-questions@freebsd.org Wed Aug 26 06:36:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 736783CB38C for ; Wed, 26 Aug 2020 06:36:16 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbx2l49zgz4lBs for ; Wed, 26 Aug 2020 06:36:15 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: by mail-pj1-x102e.google.com with SMTP id g6so419289pjl.0 for ; Tue, 25 Aug 2020 23:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=q45w3vlQrEo4/qpN3Y7oZGVG89jdIAZi8vyCRYbI4tE=; b=GPyw06jyUXs0bir6c0xZlD9qQsH9rcTBkAIhXxKf0jinV4/A+LwsSvB+SbMpyFtgPY 0IbEfQgnGcoOKDHbJEkl5I9H403zkVWtTZzXlGpZdJwgeV2128KpUuNMt5yGlZwi4heP Wb+Yxdnr3DKgh6kHGftL4SiqCW6q+O1H4CYo2+PrwBMtoeyLtJQgBNv5W94zSgdEu14m Fe6E52Sg1C78zOuMDRWDNd1mGFA/ooKjdetpGygzGJ0pByyv7/YhFElE0UPrJIrROC7S nuQpYD++M9lGsNTjUkIUKrjLVsv5hH5sr/w7r3dlxf0J6gUd9XNo10eohzRx7WTxJWls fN0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=q45w3vlQrEo4/qpN3Y7oZGVG89jdIAZi8vyCRYbI4tE=; b=VmuarHs6UITBxULXO9uChvnkml4wWzUTDw6ngKNHBEPx8DAFXVeLw8V1OG9VZoZ8u2 2SvIV04U9rLSGp6n6iC+Xu2gSzr120Rph2kj4t1h+naLI6hDQ/ej01v1shvqBPxIsw5/ qhlR1ztl/XXGnS2A0UEwS/4qTVUu0er0dRT9Eb0dXsaGfj0GT3FDZqniFY3gaJC6zSiJ RD5VS904lAFlTJnNevM/4eHzkHm106saBQcMt7PnDFFuG2pfmCsdNG7TNi9z8kLt7LeM 0Em9PC7FTCZNSE8abElF7rMkZa5zDR2kNhvy12OHAlKuwCMZNsdShzK8NHg60KPvl+c0 eDZg== X-Gm-Message-State: AOAM531qt44Vou0cYYhxOiMXVXBfLXWq8WaTaYF9feHRYMlGqQ4V7Tus HsIORRezN1Si6l4v7PSyn1JWA9Xqsb3B7AWN3DEfvIiQp3lV X-Google-Smtp-Source: ABdhPJwgBA85pMq4jhodaMo01ybdmO6utpP5O6MsfUa3EqA2Z4+9R8R3Ot7pZ3V7Ml4q4fWT0wGSdQpaimjDZgc/zLU= X-Received: by 2002:a17:90a:5805:: with SMTP id h5mr4504932pji.236.1598423773230; Tue, 25 Aug 2020 23:36:13 -0700 (PDT) MIME-Version: 1.0 From: Paul Procacci Date: Wed, 26 Aug 2020 02:36:01 -0400 Message-ID: Subject: [dhclient] Continuous vpn disconnections To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4Bbx2l49zgz4lBs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GPyw06jy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2607:f8b0:4864:20::102e as permitted sender) smtp.mailfrom=pprocacci@gmail.com X-Spamd-Result: default: False [-2.61 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.20)[-0.197]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.69)[-0.693]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102e:from]; NEURAL_HAM_SHORT(-0.72)[-0.717]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 06:36:16 -0000 Hey all, I'm having a problem I'm not entirely sure how to solve. I have a vnet jail that grabs an ip address from my dhcp server using dhclient upon startup. Once logged into that vnet jail, I start an openvpn connection with a foreign machine. All works from this point forth for anywhere from 20 minutes to 30 minutes before my vpn connection gets terminated. This is always proceeded with the following in the log files: Aug 25 23:06:47 x dhclient[7399]: New IP Address (epair2b): 192.168.2.2 Aug 25 23:06:47 x dhclient[7400]: New Subnet Mask (epair2b): 255.255.255.0 Aug 25 23:06:47 x dhclient[7401]: New Broadcast Address (epair2b): 192.168.2.255 Aug 25 23:06:47 x dhclient[7402]: New Routers (epair2b): 192.168.2.1 dhclient isn't as verbose as I'd like, but if the logs are to be believed, then it shouldn't be getting a new (but same) ip address every 20-30 minutes. I've since removed the dhcp assignments to get a stable vpn connection and am still testing it, but like the idea of centrally managing what on my network gets what ip address. Why is dhclient behaving this way? Any thoughts? Thanks in advance. [Host] Networking +---------------------------------------------------------------- vlan2: flags=8943 metric 0 mtu 1500 options=200401 ether d0:50:99:d4:b9:fe inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 groups: vlan vlan: 2 vlanpcp: 0 parent interface: igb1 media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 bridge2: flags=8843 metric 0 mtu 1500 ether 02:b4:bd:ea:4e:02 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair2a flags=143 ifmaxaddr 0 port 11 priority 128 path cost 2000 member: vlan2 flags=143 ifmaxaddr 0 port 7 priority 128 path cost 2000000 groups: bridge nd6 options=9 +---------------------------------------------------------------- [Host] dhcp.conf +---------------------------------------------------------------- option domain-name "myhome"; option domain-name-servers 192.168.1.1; default-lease-time 600; max-lease-time 7200; authoritative; log-facility local7; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.2 192.168.2.254; option routers 192.168.2.1; option broadcast-address 192.168.2.255; } +---------------------------------------------------------------- [Vnet Jail] pertinent rc.conf ifocnifg_epair2b="DHCP" +---------------------------------------------------------------- ~Paul -- __________________ :(){ :|:& };: From owner-freebsd-questions@freebsd.org Wed Aug 26 06:59:57 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA07A3CBAB7 for ; Wed, 26 Aug 2020 06:59:57 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (fournil.foucry.net [95.217.83.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbxZ42QCxz4mH1 for ; Wed, 26 Aug 2020 06:59:56 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (unknown [192.168.12.17]) by mail.foucry.net (Postfix) with ESMTP id 8199433018 for ; Wed, 26 Aug 2020 06:59:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at foucry.net Received: from mail.foucry.net ([192.168.12.17]) by mail.foucry.net (mail.foucry.net [192.168.12.17]) (amavisd-new, port 10024) with ESMTP id 26Nj7ATtJkll for ; Wed, 26 Aug 2020 06:59:29 +0000 (UTC) Received: by mail.foucry.net (Postfix, from userid 58) id 230FD3300E; Wed, 26 Aug 2020 06:59:29 +0000 (UTC) Received: from mithril.localdomain (2a01cb0400bb09004aa472fffe9e65a1.ipv6.abo.wanadoo.fr [IPv6:2a01:cb04:bb:900:4aa4:72ff:fe9e:65a1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id EE6883300C for ; Wed, 26 Aug 2020 06:59:26 +0000 (UTC) Received: from mithril (localhost [IPv6:::1]) by mithril.localdomain (Postfix) with ESMTP id D1AA911D04 for ; Wed, 26 Aug 2020 08:59:25 +0200 (CEST) Date: Wed, 26 Aug 2020 08:59:25 +0200 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: xorg, libinput, edev and i3wm Message-ID: <20200826065925.GB88637@mithril> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BbxZ42QCxz4mH1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=foucry.net; spf=pass (mx1.freebsd.org: domain of jacques@foucry.net designates 95.217.83.231 as permitted sender) smtp.mailfrom=jacques@foucry.net X-Spamd-Result: default: False [-2.93 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.959]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.74)[-0.744]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,none]; NEURAL_HAM_MEDIUM(-0.93)[-0.928]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:95.217.0.0/16, country:DE]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 06:59:57 -0000 Dear All, I need your experize. I run FreeBSD 12.1-RELEASE-p8 GENERIC, on a X280 Lenovo laptop and I can't make the touchepad work properlly. Some options works, others don't. Well, I will try to give all the informations: /boot/loader.conf hw.psm.trackpoint_support="1" hw.psm.synaptics_support="1" /etc/syscrtl.conf hw.psm.synaptics_support="1" kern.evdev.rcpt_mask=12 /etc/rc.conf moused_enabled="NO" setxkbmap -query  ✔ rules: evdev model: lenovo layout: us variant: altgr-intl options: terminate:ctrl_alt_bksp,misc:typo,compose:lwin,terminate:ctrl_alt_bksp,misc:typo,compose:lwin more 90-touchpad.conf  ✔ Section "InputClass" Identifier "libinput Touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "AccelSpeed" "0.1" Option "Taping" "on" Option "NaturalScrolling" "off" Option "DisableWhileTapping" "on" EndSection Note: 90-touchpad.conf is the only custom X11 file ·/config/i3wm/config bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status ... # Use xbackliht to adjust brightness bindsym XF86MonBrightnessUp exec xbacklight -inc 5 bindsym $mod+$alt+Next exec xbacklight -inc 5 bindsym XF86MonBrightnessDown exec xbacklight -dec 5 bindsym $mod+$alt+Prev exec xbacklight -dec 5 With this configuration, scroll with 2 fingers works; If I enable "NaturalScrolling" it works too; but taping does not work; the special keyboard keys does not work too (XF86AudioRaiseVolume, XF86AudioLowerVolume, XF86AudioMute, XF86AudioMicMute). Same with brightness key. To make thoses keys and touchpad works, I need to launch "mate-keybings-properties" which is not optimal. I try to remove mate complety, it does not change anything. I have read on may website that evdev and libinput should be "automagical". Sems does not work for me :-( So I need you to find the correct configuration, Thanks for your time and advices -- Jacques Foucry From owner-freebsd-questions@freebsd.org Wed Aug 26 07:04:33 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 43FFD3CBEAB for ; Wed, 26 Aug 2020 07:04:33 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4BbxgN2CK7z4mjj for ; Wed, 26 Aug 2020 07:04:32 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 031EF10276A; Wed, 26 Aug 2020 09:04:31 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FqDLOjTjjFJH; Wed, 26 Aug 2020 09:04:30 +0200 (CEST) Received: from christophs-macbook-pro.fritz.box (p57a1fff5.dip0.t-ipconnect.de [87.161.255.245]) by mail.kukulies.org (Postfix) with ESMTPSA id 48426102769; Wed, 26 Aug 2020 09:04:30 +0200 (CEST) From: Christoph Kukulies Message-Id: <98370951-3D75-4B31-B7EE-D7578BB44D2E@kukulies.org> Content-Type: multipart/signed; boundary="Apple-Mail=_5B995C3F-9E75-4048-B921-5FF9EA2185C0"; protocol="application/pkcs7-signature"; micalg=sha-256 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Sed pattern help - not FreeBSD related Date: Wed, 26 Aug 2020 09:04:29 +0200 In-Reply-To: Cc: "Dr. Nikolaus Klepp" , freebsd-questions@freebsd.org To: Tim Daneliuk References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> <81c68558-175c-efef-7e43-e6cb87f3329b@tundraware.com> <5f319e25-5eaf-1ae1-3695-9a1fcc01f9be@tundraware.com> <202008260125.55781.dr.klepp@gmx.at> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BbxgN2CK7z4mjj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [-1.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.33)[-0.327]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[87.161.255.245:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.23)[-0.232]; FREEFALL_USER(0.00)[kuku]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SIGNED_SMIME(-2.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; DMARC_NA(0.00)[kukulies.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.55)[-0.552]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_CC(0.00)[gmx.at,freebsd.org]; MAILMAN_DEST(0.00)[freebsd-questions] X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 07:04:33 -0000 --Apple-Mail=_5B995C3F-9E75-4048-B921-5FF9EA2185C0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 26.08.2020 um 01:46 schrieb Tim Daneliuk : >=20 > On 8/25/20 6:25 PM, Dr. Nikolaus Klepp wrote: >> Anno domini 2020 Tue, 25 Aug 18:05:45 -0500 >> Tim Daneliuk scripsit: >>> On 8/25/20 5:44 PM, Tim Daneliuk wrote: >>>> On 8/25/20 4:02 PM, Christoph Kukulies wrote: >>>>> Excuses, the result should look like: (forgot the DC) >>>>>=20 >>>>>> LOOP: DC LOOP+2 >>>>>> DO: DC DO+2 >>>>>> J: DC J+2 >>>>>> ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE >>>>>> KEY DC KEY+2 >>>>>> EMIT DC EMIT+2 >>>>>> QTERM DC QTERM+2 >>>>=20 >>>> Here is a one-liner using sed and awk. It suffers from two = deficiencies: >>>>=20 >>>> - It does not handle arbitrarily long comments >>>> - It's really ugly >>>>=20 >>>> sed s/':'//g < myfile | awk '{print $1":", $2, $1"+2", $4, $5, = $6, $7, $8, $9. $10}' >>>>=20 >>>=20 >>>=20 >>> Oops, not quite right because it inserts colons blindly in the first = field - >>> which appears not what you want. More correct implementation in = Python: >>>=20 >>> !/usr/bin/env python >>>=20 >>> import sys >>>=20 >>> for line in sys.stdin.readlines(): >>>=20 >>> line =3D line.strip().split() >>> label =3D line[0] >>> comment =3D " ".join(line[3:]) >>> print("%s DC %s+2 %s" %(label, label.replace(':', ''), = comment)) >>>=20 >>>=20 >>>=20 >>=20 >>=20 >> sed 's#^\([^ \t]*\)\([^*]*\)[*]#\1\2\1#' >=20 >>=20 My problem was that BSD sed doesn=E2=80=99t recognize [ \t] as white = space. GNU sed does. I was trying the command under FreeBSD sed and macOS sed. >> nik >>=20 >>=20 >>=20 --Apple-Mail=_5B995C3F-9E75-4048-B921-5FF9EA2185C0 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCCc0w ggSQMIIDeKADAgECAggYVYMhomAL1zANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJERTEzMDEG A1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQD DBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMB4XDTIwMDUxNjE1Mjc1OVoXDTIxMDUxNjE1Mjc1 OVowbzELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNWVjMDA4ZGQzNzNhZDhlYzEbMBkG A1UEAwwSQ2hyaXN0b3BoIEt1a3VsaWVzMSAwHgYJKoZIhvcNAQkBFhFrdWt1QGt1a3VsaWVzLm9y ZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKug1655hQWRmOtGAShZLbMwDtrm7rAH 7p1oPtE/5KpTpJZe8LHPxxvW0EAd2JcLtEhdvAi7smhZ/giJ3IBK7OYmdaCvuQ6MFvJpkmLkQ9TO 4+RLW+PkBk8nFIUe+PQG+VurpWc8pbU4IRsWS3pEUgov9+LF6VtyYBHKD2HZwe46YBwUq7l0EHxc aa98ewCMO43XznlqjE+oKxwaS2nl1rL/SPVlfGmKqHkdSKEKl6yR1LCcI3J3HP56kqmIrvtySr7q UZVsibA+D6vArqklO99WKQmt0b4IX6TXouvAA6bNoF1FhYUyihm4omMWZkdTs7Gv5rr1fzPWXcev cMfJdtUCAwEAAaOCATcwggEzMB0GA1UdDgQWBBSQh9N17gCH/igJy5ftrVaJNm6SCTAMBgNVHRMB Af8EAjAAMB8GA1UdIwQYMBaAFOnGk9HVDwZkcupqlj66EPJUVLJ5MFYGA1UdIARPME0wSwYMKwYB BAH7KwIBAwIIMDswOQYIKwYBBQUHAgEWLWh0dHA6Ly9zZWM1LmRnbnNlcnZpY2UuZGUvcG9saWNp ZXMvaW5kZXguaHRtbDA+BgNVHR8ENzA1MDOgMaAvhi1odHRwOi8vc2VjNS5kZ25zZXJ2aWNlLmRl L2NybC9jcmwyLXR5cGUtZS5jcmwwDgYDVR0PAQH/BAQDAgSwMB0GA1UdJQQWMBQGCCsGAQUFBwMC BggrBgEFBQcDBDAcBgNVHREEFTATgRFrdWt1QGt1a3VsaWVzLm9yZzANBgkqhkiG9w0BAQsFAAOC AQEALUBRNzLAUiPi29LLATqWmrUlyacMVAtjdROQMd/AVPj0mUqTMoDO+YoWICOSEn/nEyb2Lrrz JNGqC6KO0CNROaWcEhFadKx4qtp9t26Qe/EkO0XbXexIfBxFl1ynQA54D0qtPb/SUZvTy0tq8oBt FdsIU+cXAzigEz2Z9nziHBMqThoKzAZSrk/sPvxT6MNMC/BMGlHGl0DV//wwI5vlzJiKS8iXFyxf 5VrN1IwgRyqXD8JsgF1BuEqcloSJ3JnWUGQCTURFasZDJlP0f/KJS8odUpEWDKnn6tt0RjBk0jUN i7z42ozzPn/o154AgXC2cNmROxC0gnvd+V/yIuAryDCCBTUwggQdoAMCAQICCFUcStdmrSX2MA0G CSqGSIb3DQEBCwUAMGExCzAJBgNVBAYTAkRFMTMwMQYDVQQKDCpER04gRGV1dHNjaGVzIEdlc3Vu ZGhlaXRzbmV0eiBTZXJ2aWNlIEdtYkgxHTAbBgNVBAMMFGRnbnNlcnZpY2UgUm9vdCA3OlBOMB4X DTE2MTAyNjA5MjI0MVoXDTI0MTAyNjA5MjI0MVowZjELMAkGA1UEBhMCREUxMzAxBgNVBAoMKkRH TiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAGA1UEAwwZZGduc2Vy dmljZSBDQSAyIFR5cGUgRTpQTjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANyl8pQ/ dMejR9KXZs5ro81tFwNhloThlXe8sat79Tjjk6xFqE5E94//0vifJxMrp9RrCkNOo5oPG1djGOgk 0L0ucpHFUH9SQF/SHbm83QvWJXgqEJpjxOKZXTPbJRKVvY25niB0FTr2omRqypiP4A/w5xA6jSJ2 P02vV6WgcPfaLQkM+SEGPxV/pzpvuY3KfzJ9li9mXPNXaJD9y+jqIUvHbCAbuYKQ5nwEAcYMXDpP RQgDQGTrRiFExHEjsZeMzEFADZj9deg/h29AMO0w2YrSvkNReh/zvDZutdy25DZvjE3AUgStWgBC 7x+2ddOb2I61o6xbIsxlfq/mzNpAGoECAwEAAaOCAeowggHmMBIGA1UdEwEB/wQIMAYBAf8CAQAw HwYDVR0jBBgwFoAUAQwWG3Ry0zwU7iZ3t0kUU9j7ixswWwYIKwYBBQUHAQEETzBNMEsGCCsGAQUF BzABhj9odHRwOi8vcm9jc3AtZGduLmRnbnNlcnZpY2UuZGU6ODA4MC9lamJjYS9wdWJsaWN3ZWIv c3RhdHVzL29jc3AwagYDVR0gBGMwYTBfBgwrBgEEAfsrAgEEAgEwTzBNBggrBgEFBQcCARZBaHR0 cDovL3d3dy5kZ25zZXJ2aWNlLmRlL3RydXN0Y2VudGVyL3B1YmxpYy9kZ25zZXJ2aWNlL2luZGV4 Lmh0bWwwgZkGA1UdHwSBkTCBjjCBi6CBiKCBhYaBgmxkYXA6Ly9sZGFwLmRnbnNlcnZpY2UuZGU6 Mzg5L0NOPUNSTC0xLE89REdOJTIwU2VydmljZSUyMEdtYkgsQz1ERT9jZXJ0aWZpY2F0ZVJldm9j YXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHQYDVR0OBBYE FOnGk9HVDwZkcupqlj66EPJUVLJ5MA4GA1UdDwEB/wQEAwIBBjAbBgkrBgEEAcBtAwUEDjAMBgor BgEEAcBtAwUBMA0GCSqGSIb3DQEBCwUAA4IBAQCrvDn6Rcn7/FNq3SOJNfgYNfkdR5CiGoC4sZ+i 0dypCqqMXwbpRQjSriLS2eEe2V2Fms0E4SuBOEaxOg1nVjYafQVGtytRT0ueFIzB3VcnQl7oRFJ0 SHi9d/xjElAZkk8I8lytuWG57SabA72duEp7AaCWG3lVZIdNLy+rkNrfNvEUbqUh0TrZXgqpwwCL JjYF8vyC4I+xxNaXm3EmuNvgQ2j2dGp3Oxc0QbfLLOCbK/rOdDikaBN7kTqpfHls7pcIOhQrgrPV LzY/NHqG9zEpmjuQora63YHdu7BTzGp/DvcQwfyKa/gtb9LHn3AoSUqOKOMd02sUb/AxGhsNjMzJ MYIDFDCCAxACAQEwcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1 bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBF OlBOAggYVYMhomAL1zANBglghkgBZQMEAgEFAKCCAXMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH ATAcBgkqhkiG9w0BCQUxDxcNMjAwODI2MDcwNDI5WjAvBgkqhkiG9w0BCQQxIgQgRaSukehAQEin khTP40k0XEhXHMazm+j8yHH5piEQYhEwgYEGCSsGAQQBgjcQBDF0MHIwZjELMAkGA1UEBhMCREUx MzAxBgNVBAoMKkRHTiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAG A1UEAwwZZGduc2VydmljZSBDQSAyIFR5cGUgRTpQTgIIGFWDIaJgC9cwgYMGCyqGSIb3DQEJEAIL MXSgcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25l dHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOAggYVYMh omAL1zANBgkqhkiG9w0BAQEFAASCAQAiTyzj0cVO/qb+hQKFvH4PFIb9zh1/HaQFFd4Vmbya/TPi uaizWLksa+whjox0xRcFRO5xWcX7ShljqfW8HVmuHtkDNZKca50uNKHRYSXYw+KxyKHF2WKbHDM1 +WmZaFT4ji8mlQqS3USBGxSwLMkab6Qc5WwtF+lBPo49NanhoNQAhfbSxTiw4nSRTlH5qqOroWCM cVeE5v4JtXg0prC9j8d2tjG78Y1CXcbyRbt9dq1jfQ2gbcJsqO5TMo6UO7ibmqkqen1t6blx2iXj QsXYJTGsKHMVYRRu8YjCl/zuQpSUCmtlYX7fOmMAqYzhPQwN0cv8RiyBBEb1+q+Fs6EzAAAAAAAA --Apple-Mail=_5B995C3F-9E75-4048-B921-5FF9EA2185C0-- From owner-freebsd-questions@freebsd.org Wed Aug 26 07:23:29 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2DD33CC2A3 for ; Wed, 26 Aug 2020 07:23:29 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bby5D60fWz4nY6 for ; Wed, 26 Aug 2020 07:23:28 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=19eIeywEShR1OLDPVt2qBJHYaSs27tkwYNpQQpzZqbo=; b=ZdThSUuoBCyfjLJCnGorkEa1Fm 3r9sc0bPEybDQhpNspbFp6tleQ2ZXaSNrm4GuKmkfGpd3VMWPa/UZAlXj2UKqaKgEfRmLwrS7DtIl Hle6YdCZWoq4fN/CrrG70pa/O51eJgnrYqJ01Otif9LbL0qbZ3zSl5YjqS7JylCgEPDQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kApmD-000OqU-KA for freebsd-questions@freebsd.org; Wed, 26 Aug 2020 14:23:21 +0700 Date: Wed, 26 Aug 2020 14:23:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: weird diff/sdiff behaviour Message-ID: <20200826072321.GA95321@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 4Bby5D60fWz4nY6 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=ZdThSUuo; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-5.41 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.004]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.961]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-0.34)[-0.343]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 07:23:29 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Sorry for a non-FreeBSD-specific question, it's rather a generic question to users of Unix utilities. I have two reports which are different only in numbers: http://admin.sibptus.ru/~vas/strange_diff.zip However diff, sdiff, meld and some other tools think that there are line insertions and deletions. Only kdiff3 displays the differences correctly. I've been unable to find the cause while comparing the files visually in vim. Also if you paste(1) the two files, you see that the text is identical in the lines, as is the number of lines per wc(1). If you have a couple of minutes of leasure time, can you please look? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJfRg3pAAoJEA2k8lmbXsY0xcAH/iVBJnIf7JxxXhEWFJlmYrke 987qw7/6UQS2ZTdTB3tcujZawj8H9oyuKDGRajuZSuUg5awawe/71Z9dlBMkGrxm PJO7GQMD7TJDZ5LWgj6Xku4FhVW4OoOhId7OPsl9C0Yf2BCDBw1NCEkkI8Gmpsee LQW+JO+cQI7xaHX3KD+S1CP7lAuqs+uQA1XtRVoex050cSdnzYbBd9r8SMm1QIkD GZN7dv9+xWsWBOac7FiXWYPH6vd3c0uMwQpkCj6HTVBstVcpINi7FiZ/geXIqFY0 zZ5QQtqUsSMa6b88b+C1rwwLWYylFki7wD8sysf1XQUXS5OtD30BsPeArFy5s5A= =xXv5 -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- From owner-freebsd-questions@freebsd.org Wed Aug 26 07:50:00 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE17C3CC9FD for ; Wed, 26 Aug 2020 07:50:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bbygp6vvjz4pW8 for ; Wed, 26 Aug 2020 07:49:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPA (Nemesis) id 1MOzKk-1jynVh09LY-00PK3H; Wed, 26 Aug 2020 09:49:49 +0200 Date: Wed, 26 Aug 2020 09:49:48 +0200 From: Polytropon To: Doug Denault Cc: freebsd-questions@freebsd.org Subject: Re: diff is a little diff -- erent Message-Id: <20200826094948.333c67b0.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:60SMUyxEub7P4BtEjETEG5JZUVZ0HCeiJYyadZsYq+Y9csrQrL5 y65sQLKrTBq+l0KpFBcDuvsS5Qmwh3kPf76ofPbgyxBXFScZLoX20UGN1FjrzmPGS5SiCvm Ijyd+DTx0KbXG4efRvYZSWcKjgW+CjHqFJFoSpKUuTAw6iVXOdFg6ki4DRdubsiWg0tBAOF e9Xdpx8DQtdNSmFQ2yO4Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tH9tSzfsqQo=:7PSfc9I8ybsURB5zCAiukO aY+k0mQSeidSq8UT3cwIkPyITABx4JpI+V/gDSMxu82kmoImlF/b4EMbMrOC+fwhwo3xpcDuF ZmetMvRvrAKUm1zChdBSI4+gCn21VT4rmqWoJKsIgYtXG81aG1YkfHm7EBL6rHOu10C2viKgr aBAgiVdYV+kPJpgVsjaVIVoq4tMEUUq5OzIYy/Ncb9waO8K5j+Yv9Klz/9NgY1F5KU6rewnqI 5aclekutcVg09sr4xkJOVhsMUs0l7AGJ+KZH1KllbRdZRGVd74Rqvc5TkbacyrfVzQc4FXJ7w cFGy/HmOHXoC73wpiIlN9uLj+pKIgKQtUpOJtCE233bR09SCYgyqC+l4Sqohj3E5WNVor1kf2 5LwzUYdVs5tX8wNMSSJfjf5nmFKJUh7z/3qfDEBIEiECBenzQ3lcGzoM/2nIWsk9g25XR61Mz wCysxeTnluPHns1mFL1U6EE4KQwQxD5WPPk7Q0ko9ABJIVGtIgsIEZcdbOok6ZqQv8NUitnuj 0sKwjYYaf1RfLkuEQ+bG0NYRilyFkJ+XTUd5afsl1QJzU4zviXQZToWzmLbKKJt75+kNZ3Qza i8flyA3dj1jgMkGXDe5Bs6VO+UCr53/8WHi2hEoUSfql5ojIvxIrzs480gE9hUCQkEkC6U42x Tt4aGpaeyfP9rbFtLRrizcvrz0bEVVbUdN50irj/qCD+Gy76bVU5RlnUPLcF+sjsBIYpge+Vw DGRwW4HzjOOex28g/LQoXDSJvCa1DCOqaa/weXc3YIcfFt44dVgUtpSMWJeQwQDiMsec7lo+5 Dga5QvEk1EU7pbx62iVGHBuPeyDgj3/5YmDhv8j241v/y3rq2fE08MZk6rIvZMd2/nsMWOL X-Rspamd-Queue-Id: 4Bbygp6vvjz4pW8 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.72 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-0.32)[-0.324]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.223.163.154:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.77)[0.767]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.88)[0.880]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.13:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.13:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 07:50:00 -0000 On Wed, 26 Aug 2020 01:30:38 -0400 (EDT), Doug Denault wrote: > I do wonder why. Who is going to go to the effort to build/install "base" > commands as various options are removed/changed? I can't wait to see what > happens to cp, grep, find, and awk. If I remember correctly, grep already is BSD grep (with GNU grep being available via ports collection), and the same for awk (and gawk respectively). In most cases, the base commands implement the set of standard features, while the GNU commands have certain GNU extensions added which the standard does not require or even specify. This, and the licensing terms (BDSL / GPL) that apply. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Aug 26 07:57:38 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29F283CCF2E for ; Wed, 26 Aug 2020 07:57:38 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bbyrd2vS0z4q0B for ; Wed, 26 Aug 2020 07:57:37 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id AD08310276C; Wed, 26 Aug 2020 09:57:36 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BRDucv2Bhz1T; Wed, 26 Aug 2020 09:57:36 +0200 (CEST) Received: from christophs-macbook-pro.fritz.box (p57a1fff5.dip0.t-ipconnect.de [87.161.255.245]) by mail.kukulies.org (Postfix) with ESMTPSA id 18A8510276B; Wed, 26 Aug 2020 09:57:36 +0200 (CEST) From: Christoph Kukulies Message-Id: <725F5FBC-A6EC-4694-8916-917B98872458@kukulies.org> Content-Type: multipart/signed; boundary="Apple-Mail=_64718891-B3EC-45BF-A074-6E4B692072F7"; protocol="application/pkcs7-signature"; micalg=sha-256 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Sed pattern help - not FreeBSD related Date: Wed, 26 Aug 2020 09:57:35 +0200 In-Reply-To: <98370951-3D75-4B31-B7EE-D7578BB44D2E@kukulies.org> Cc: "Dr. Nikolaus Klepp" , freebsd-questions@freebsd.org To: Tim Daneliuk References: <6B02E882-D3EE-4721-B572-BFAF5C6BAC66@kukulies.org> <81c68558-175c-efef-7e43-e6cb87f3329b@tundraware.com> <5f319e25-5eaf-1ae1-3695-9a1fcc01f9be@tundraware.com> <202008260125.55781.dr.klepp@gmx.at> <98370951-3D75-4B31-B7EE-D7578BB44D2E@kukulies.org> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4Bbyrd2vS0z4q0B X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [-0.64 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.01)[-0.008]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[87.161.255.245:received]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[kuku]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SIGNED_SMIME(-2.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; DMARC_NA(0.00)[kukulies.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.05)[0.054]; NEURAL_HAM_LONG(-0.09)[-0.085]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_CC(0.00)[gmx.at,freebsd.org]; MAILMAN_DEST(0.00)[freebsd-questions] X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 07:57:38 -0000 --Apple-Mail=_64718891-B3EC-45BF-A074-6E4B692072F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 my solution: $ sed = 's/^\([A-Z0-9]*\)\(:*\)\([[:space:]]*\)\(DC[[:space:]]*[*][+]2\)/\1\2\3DC = \1+2/' Am 26.08.2020 um 09:04 schrieb Christoph Kukulies : >=20 >=20 >=20 >> Am 26.08.2020 um 01:46 schrieb Tim Daneliuk : >>=20 >> On 8/25/20 6:25 PM, Dr. Nikolaus Klepp wrote: >>> Anno domini 2020 Tue, 25 Aug 18:05:45 -0500 >>> Tim Daneliuk scripsit: >>>> On 8/25/20 5:44 PM, Tim Daneliuk wrote: >>>>> On 8/25/20 4:02 PM, Christoph Kukulies wrote: >>>>>> Excuses, the result should look like: (forgot the DC) >>>>>>=20 >>>>>>> LOOP: DC LOOP+2 >>>>>>> DO: DC DO+2 >>>>>>> J: DC J+2 >>>>>>> ENCL: DC ENCL+2 PDP-11 VERSION OF ENCLOSE >>>>>>> KEY DC KEY+2 >>>>>>> EMIT DC EMIT+2 >>>>>>> QTERM DC QTERM+2 >>>>>=20 >>>>> Here is a one-liner using sed and awk. It suffers from two = deficiencies: >>>>>=20 >>>>> - It does not handle arbitrarily long comments >>>>> - It's really ugly >>>>>=20 >>>>> sed s/':'//g < myfile | awk '{print $1":", $2, $1"+2", $4, $5, = $6, $7, $8, $9. $10}' >>>>>=20 >>>>=20 >>>>=20 >>>> Oops, not quite right because it inserts colons blindly in the = first field - >>>> which appears not what you want. More correct implementation in = Python: >>>>=20 >>>> !/usr/bin/env python >>>>=20 >>>> import sys >>>>=20 >>>> for line in sys.stdin.readlines(): >>>>=20 >>>> line =3D line.strip().split() >>>> label =3D line[0] >>>> comment =3D " ".join(line[3:]) >>>> print("%s DC %s+2 %s" %(label, label.replace(':', ''), = comment)) >>>>=20 >>>>=20 >>>>=20 >>>=20 >>>=20 >>> sed 's#^\([^ \t]*\)\([^*]*\)[*]#\1\2\1#' >>=20 >>>=20 >=20 >=20 > My problem was that BSD sed doesn=E2=80=99t recognize [ \t] as white = space. GNU sed does. >=20 > I was trying the command under FreeBSD sed and macOS sed. >=20 >>> nik >>>=20 >>>=20 >>>=20 >=20 --Apple-Mail=_64718891-B3EC-45BF-A074-6E4B692072F7 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCCc0w ggSQMIIDeKADAgECAggYVYMhomAL1zANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJERTEzMDEG A1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQD DBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMB4XDTIwMDUxNjE1Mjc1OVoXDTIxMDUxNjE1Mjc1 OVowbzELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNWVjMDA4ZGQzNzNhZDhlYzEbMBkG A1UEAwwSQ2hyaXN0b3BoIEt1a3VsaWVzMSAwHgYJKoZIhvcNAQkBFhFrdWt1QGt1a3VsaWVzLm9y ZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKug1655hQWRmOtGAShZLbMwDtrm7rAH 7p1oPtE/5KpTpJZe8LHPxxvW0EAd2JcLtEhdvAi7smhZ/giJ3IBK7OYmdaCvuQ6MFvJpkmLkQ9TO 4+RLW+PkBk8nFIUe+PQG+VurpWc8pbU4IRsWS3pEUgov9+LF6VtyYBHKD2HZwe46YBwUq7l0EHxc aa98ewCMO43XznlqjE+oKxwaS2nl1rL/SPVlfGmKqHkdSKEKl6yR1LCcI3J3HP56kqmIrvtySr7q UZVsibA+D6vArqklO99WKQmt0b4IX6TXouvAA6bNoF1FhYUyihm4omMWZkdTs7Gv5rr1fzPWXcev cMfJdtUCAwEAAaOCATcwggEzMB0GA1UdDgQWBBSQh9N17gCH/igJy5ftrVaJNm6SCTAMBgNVHRMB Af8EAjAAMB8GA1UdIwQYMBaAFOnGk9HVDwZkcupqlj66EPJUVLJ5MFYGA1UdIARPME0wSwYMKwYB BAH7KwIBAwIIMDswOQYIKwYBBQUHAgEWLWh0dHA6Ly9zZWM1LmRnbnNlcnZpY2UuZGUvcG9saWNp ZXMvaW5kZXguaHRtbDA+BgNVHR8ENzA1MDOgMaAvhi1odHRwOi8vc2VjNS5kZ25zZXJ2aWNlLmRl L2NybC9jcmwyLXR5cGUtZS5jcmwwDgYDVR0PAQH/BAQDAgSwMB0GA1UdJQQWMBQGCCsGAQUFBwMC BggrBgEFBQcDBDAcBgNVHREEFTATgRFrdWt1QGt1a3VsaWVzLm9yZzANBgkqhkiG9w0BAQsFAAOC AQEALUBRNzLAUiPi29LLATqWmrUlyacMVAtjdROQMd/AVPj0mUqTMoDO+YoWICOSEn/nEyb2Lrrz JNGqC6KO0CNROaWcEhFadKx4qtp9t26Qe/EkO0XbXexIfBxFl1ynQA54D0qtPb/SUZvTy0tq8oBt FdsIU+cXAzigEz2Z9nziHBMqThoKzAZSrk/sPvxT6MNMC/BMGlHGl0DV//wwI5vlzJiKS8iXFyxf 5VrN1IwgRyqXD8JsgF1BuEqcloSJ3JnWUGQCTURFasZDJlP0f/KJS8odUpEWDKnn6tt0RjBk0jUN i7z42ozzPn/o154AgXC2cNmROxC0gnvd+V/yIuAryDCCBTUwggQdoAMCAQICCFUcStdmrSX2MA0G CSqGSIb3DQEBCwUAMGExCzAJBgNVBAYTAkRFMTMwMQYDVQQKDCpER04gRGV1dHNjaGVzIEdlc3Vu ZGhlaXRzbmV0eiBTZXJ2aWNlIEdtYkgxHTAbBgNVBAMMFGRnbnNlcnZpY2UgUm9vdCA3OlBOMB4X DTE2MTAyNjA5MjI0MVoXDTI0MTAyNjA5MjI0MVowZjELMAkGA1UEBhMCREUxMzAxBgNVBAoMKkRH TiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAGA1UEAwwZZGduc2Vy dmljZSBDQSAyIFR5cGUgRTpQTjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANyl8pQ/ dMejR9KXZs5ro81tFwNhloThlXe8sat79Tjjk6xFqE5E94//0vifJxMrp9RrCkNOo5oPG1djGOgk 0L0ucpHFUH9SQF/SHbm83QvWJXgqEJpjxOKZXTPbJRKVvY25niB0FTr2omRqypiP4A/w5xA6jSJ2 P02vV6WgcPfaLQkM+SEGPxV/pzpvuY3KfzJ9li9mXPNXaJD9y+jqIUvHbCAbuYKQ5nwEAcYMXDpP RQgDQGTrRiFExHEjsZeMzEFADZj9deg/h29AMO0w2YrSvkNReh/zvDZutdy25DZvjE3AUgStWgBC 7x+2ddOb2I61o6xbIsxlfq/mzNpAGoECAwEAAaOCAeowggHmMBIGA1UdEwEB/wQIMAYBAf8CAQAw HwYDVR0jBBgwFoAUAQwWG3Ry0zwU7iZ3t0kUU9j7ixswWwYIKwYBBQUHAQEETzBNMEsGCCsGAQUF BzABhj9odHRwOi8vcm9jc3AtZGduLmRnbnNlcnZpY2UuZGU6ODA4MC9lamJjYS9wdWJsaWN3ZWIv c3RhdHVzL29jc3AwagYDVR0gBGMwYTBfBgwrBgEEAfsrAgEEAgEwTzBNBggrBgEFBQcCARZBaHR0 cDovL3d3dy5kZ25zZXJ2aWNlLmRlL3RydXN0Y2VudGVyL3B1YmxpYy9kZ25zZXJ2aWNlL2luZGV4 Lmh0bWwwgZkGA1UdHwSBkTCBjjCBi6CBiKCBhYaBgmxkYXA6Ly9sZGFwLmRnbnNlcnZpY2UuZGU6 Mzg5L0NOPUNSTC0xLE89REdOJTIwU2VydmljZSUyMEdtYkgsQz1ERT9jZXJ0aWZpY2F0ZVJldm9j YXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHQYDVR0OBBYE FOnGk9HVDwZkcupqlj66EPJUVLJ5MA4GA1UdDwEB/wQEAwIBBjAbBgkrBgEEAcBtAwUEDjAMBgor BgEEAcBtAwUBMA0GCSqGSIb3DQEBCwUAA4IBAQCrvDn6Rcn7/FNq3SOJNfgYNfkdR5CiGoC4sZ+i 0dypCqqMXwbpRQjSriLS2eEe2V2Fms0E4SuBOEaxOg1nVjYafQVGtytRT0ueFIzB3VcnQl7oRFJ0 SHi9d/xjElAZkk8I8lytuWG57SabA72duEp7AaCWG3lVZIdNLy+rkNrfNvEUbqUh0TrZXgqpwwCL JjYF8vyC4I+xxNaXm3EmuNvgQ2j2dGp3Oxc0QbfLLOCbK/rOdDikaBN7kTqpfHls7pcIOhQrgrPV LzY/NHqG9zEpmjuQora63YHdu7BTzGp/DvcQwfyKa/gtb9LHn3AoSUqOKOMd02sUb/AxGhsNjMzJ MYIDFDCCAxACAQEwcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1 bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBF OlBOAggYVYMhomAL1zANBglghkgBZQMEAgEFAKCCAXMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH ATAcBgkqhkiG9w0BCQUxDxcNMjAwODI2MDc1NzM1WjAvBgkqhkiG9w0BCQQxIgQghDL4QhZ2JACL AsXk5UId557YiZY6mjTGgNwQlfNbuq8wgYEGCSsGAQQBgjcQBDF0MHIwZjELMAkGA1UEBhMCREUx MzAxBgNVBAoMKkRHTiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAG A1UEAwwZZGduc2VydmljZSBDQSAyIFR5cGUgRTpQTgIIGFWDIaJgC9cwgYMGCyqGSIb3DQEJEAIL MXSgcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25l dHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOAggYVYMh omAL1zANBgkqhkiG9w0BAQEFAASCAQAG2yKgWTP24Ei69VeI85UUQmxqmMi7YGtMva1ADYE/DWa1 7AOUHaaFeCZIEJKLKDrye3IcH32AHAMhEqhDHAK6L9e/Oq0lxVNqbzPKY1OfXtlDB5ryk4s+QFk4 /SmqFdnwQ0JYsNCtsaa4C/UbQ0zrYI052AISTqs19aTVljwHvcfPUnioIfVKgY3ZnT+196Ihb5NS qRRWPs+2ZGsvm1BaR8WiTCjbFj1raEIjG/RNb2+MiJrGH8MzfOt+OsdyHMLbcr9KFsogbqkSPwbz WAJms6O+fafI9UIovUkprjSvWCU/+aXN4TvzXCk62dTw0zkaV0LhyBtSu9sOerz8CD5dAAAAAAAA --Apple-Mail=_64718891-B3EC-45BF-A074-6E4B692072F7-- From owner-freebsd-questions@freebsd.org Wed Aug 26 09:06:51 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23C703CEF03 for ; Wed, 26 Aug 2020 09:06:51 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bc0NV0769z4tjQ for ; Wed, 26 Aug 2020 09:06:49 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from dpchrist-mbp.tracy.holgerdanske.com (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 26 Aug 2020 02:06:36 -0700 Subject: Re: Jail question: packages with relative symlinks To: freebsd-questions@freebsd.org References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> <9127e9ca-c6be-d007-bd82-fdf7c5508242@kicp.uchicago.edu> <7c3ad6a6-5ff1-5816-dc23-83d80590baac@kicp.uchicago.edu> From: David Christensen Message-ID: <903bb601-f4d6-ed72-6cdd-6f22219e485b@holgerdanske.com> Date: Wed, 26 Aug 2020 02:06:26 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <7c3ad6a6-5ff1-5816-dc23-83d80590baac@kicp.uchicago.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bc0NV0769z4tjQ X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.19 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.42)[0.420]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.89)[0.891]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.982]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 09:06:51 -0000 On 8/25/20 2:30 PM, Valeri Galtsev wrote: > > > On 8/25/20 4:12 PM, Valeri Galtsev wrote: >> >> >> On 8/25/20 3:50 PM, David Christensen wrote: >>> On 2020-08-25 09:51, Valeri Galtsev wrote: >>>> Dear Experts, >>>> >>>> I've got question about jails, namely, what do you do if some >>>> package you install in jail brings relative symlink(s)? >>>> >>>> I install jails "by the book" and if relative symlinks are in >>>> /usr/local, there is no problem with those, as in jail an equivalent >>>> of /usr/local is >>>> >>>> /s/usr-local >>>> >>>> and the depth is the same as on real system. However, /etc in jail is >>>> >>>> /s/etc >>>> >>>> and if package brings relative symlink to /etc, in jail it will >>>> point nowhere. I just resolved this failure for package ca_root_nss >>>> in jail. This package places in >>>> >>>> /etc/ssl >>>> >>>> relative symlink: >>>> >>>> cert.pem --> ../../usr/local/share/certs/ca-root-nss.crt >>>> >>>> In jail, however it is situated in >>>> >>>> /s/etc/ssl >>>> >>>> so the above relative symlink points nowhere. I did a "trivial" >>>> thing, just replaced relative symlink with absolute one: >>>> >>>> cert.pem --> /usr/local/share/certs/ca-root-nss.crt >>>> >>>> ,and as this symlink is owned by the package ca_root_nss, I locked >>>> that package, to prevent it from "automagically" replacing symlink >>>> with relative if updated package is installed. >>>> >>>> This is kind of crude solution, standing next to the "hack", so I do >>>> not like what I did. >>>> >>>> >>>> I wonder, how jail experts deal with relative symlinks when some >>>> package brings it into place where filesystem depth in jail is >>>> different from real system. >>>> >>>> >>>> Thanks. >>>> Valeri >>> >>> I am no jail expert, but AIUI jails include chroot(8) functionality. >>> So, all paths used within a jail will be resolved within the jailed >>> tree. >>> >>> >>> If you log in to the jail as root and install your software from >>> there, it should just work. >>> >> >> Having that structure with symlinks I have mentioned has a special >> purpose. That purpose is: the base system is mounted read only inside >> the jail, and only things that have to be read-write are read-write. >> > > I probably didn't explain things detailed enough. > > my jail has its root in: > > /jail/[jailname] > > so all what is inside jail on host filesystem is visible as: > > /jail/[jailname]/s/etc > /jail/[jailname]/etc --> s/etc > /jail/[jailname]/usr > /jail/[jailname]/s/usr-local > /jail/[jailname]/usr/local --> ../s/usr-local > ... > > the > > /jail/[jailname] > > is base system mounted read-only (with symlinks etc pointing to s/etc, > and others which point to a single place > > /jail/[jailname]/s > > which is mounted read-write, and this is the only place inside jail > which  is read-write. This is the wonderful idea which inside jail makes > base system read-only. And it is convenient, as you maintain only one > base system (of given version) for all jails. And as you correctly said, > chroot is used (in addition to other things), so inside jail what on > host is /jail/[jailname]/ is plainly / > > I hope, this provides enough detail to un-confuse things (and the need > of symlinks when one sets up jails "by the book", meaning FreeBSD Handbook) > > Valeri > >> This basically precludes using what you suggest without diminishing >> robustness of jails. >> >> Thanks for your input though! >> >> Valeri Have you tried mount_unionfs(8)? David From owner-freebsd-questions@freebsd.org Wed Aug 26 09:24:10 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01CC53CF2F4 for ; Wed, 26 Aug 2020 09:24:10 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bc0mT0XPpz3Rbx for ; Wed, 26 Aug 2020 09:24:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from dpchrist-mbp.tracy.holgerdanske.com (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 26 Aug 2020 02:23:57 -0700 Subject: Re: dual boot win10 and FreeBSD To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: <9750aafa-96e4-9429-2ca9-b540fe73e729@holgerdanske.com> Date: Wed, 26 Aug 2020 02:23:56 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bc0mT0XPpz3Rbx X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.18 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.41)[0.413]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.89)[0.891]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.978]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 09:24:10 -0000 On 8/25/20 9:27 PM, Aryeh Friedman wrote: > I have a working FreeBSD machine (that needs to stay working wo/ any > reinstalls) and want to add Windows 10 on a second SSD to the setup. What > is the safest way to set this up for dual boot (starting with installing > Windows). Laptop or desktop? BIOS or EUFI? Secure boot? David From owner-freebsd-questions@freebsd.org Wed Aug 26 09:39:59 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BD8EB3CFB0A for ; Wed, 26 Aug 2020 09:39:59 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bc16k5t77z3SNP for ; Wed, 26 Aug 2020 09:39:58 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x129.google.com with SMTP id r13so1222353iln.0 for ; Wed, 26 Aug 2020 02:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5D5Y8g+OXW3e30FqWiOBKE2Y9uzoiEOVn2m7Z9Z6S5g=; b=Afb4CBzrIYjxEHbFYNXW2tSPxo+XlrDoW6ugPp6WRXUJUSRu0SFgjs7c+/n/W6AF8U vclbtYyy3p3NQqzl2SYKKwMsYt8jr7W6XLSCJPbHLzOKRemYxupGlAWYl4cawE2gv15h 0hqWPw1bqziRlOd0neTGx2mzv3yw6m2mEbfjL0B6u6/v4qO1oD+4lgaUm1HXDEEAFrVU VrWopeSi+em3C7ZMRNOFqf9QJOhReK/fb4ARpbPJEQnJwdd/jnEFHe2BsWQjkMg4DAIm 6izZj+Hr9a+pyRo1h2jFFxwtGZnTi9t0vGIDv9Xk5PRt++PHiDIkjigk+E47SkROMK8m 6a5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5D5Y8g+OXW3e30FqWiOBKE2Y9uzoiEOVn2m7Z9Z6S5g=; b=Qaq3VfDjNesJt4ARozS3Kbs7hRTs40a6dY7US2NrfrvJNYsRVoc8wFQ82psjgzbEMF 1qITTebrS03XtFFvcHFeMBodVbrLqWR7TGYOqv+uVIiKiElMNcBDBH+q3wBuUus/smzf q/ZHNyIWEpNZhqzVdRKIWiHNXxbn+joV8njfQrVOc7iwRJIzu/On+A4e5OXMBVXxrbhe 0QvGlCpY9mR7JJV4ckPLzpPsxjdRHhcfxpxfvNZAzPG2CCB2q9Klg08yPgJMl6uHWPVD jJ1/CA5hHqhJXCfm15HncxvPuX34QzOyI4OJHZP+HLWYFtg5vN8iF7DFgcf6s9zgreGQ ZNuQ== X-Gm-Message-State: AOAM5321qCRJmYEOailZxigFHpxuaHPNJJQ/3OJBV8Q6o9fdkCWTk49P vm81e0tdbkqI6s/TaHto1DhXjR1pid1Lq8xtHuSBBFZnJYw= X-Google-Smtp-Source: ABdhPJwmzkjfT11BT0vrfgjnS170ru+IxqCli6L8tNZifvQ4u7XX2rgSbfmvbdeAQpT6Y2dL3R+ln0qM0SURzycjwR8= X-Received: by 2002:a05:6e02:1066:: with SMTP id q6mr12352157ilj.29.1598434797634; Wed, 26 Aug 2020 02:39:57 -0700 (PDT) MIME-Version: 1.0 References: <9750aafa-96e4-9429-2ca9-b540fe73e729@holgerdanske.com> In-Reply-To: <9750aafa-96e4-9429-2ca9-b540fe73e729@holgerdanske.com> From: Aryeh Friedman Date: Wed, 26 Aug 2020 05:39:46 -0400 Message-ID: Subject: Re: dual boot win10 and FreeBSD To: David Christensen Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4Bc16k5t77z3SNP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Afb4CBzr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::129 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.94)[-0.938]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.97)[-0.972]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::129:from]; NEURAL_HAM_SHORT(-0.38)[-0.384]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 09:39:59 -0000 On Wed, Aug 26, 2020 at 5:24 AM David Christensen wrote: > On 8/25/20 9:27 PM, Aryeh Friedman wrote: > > I have a working FreeBSD machine (that needs to stay working wo/ any > > reinstalls) and want to add Windows 10 on a second SSD to the setup. > What > > is the safest way to set this up for dual boot (starting with installing > > Windows). > > Laptop or desktop? > Desktop > > BIOS or EUFI? > UEFI > > Secure boot? > Don't care > > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Aug 26 15:45:58 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 758583B0219 for ; Wed, 26 Aug 2020 15:45:58 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bc9F15CvBz4BnY for ; Wed, 26 Aug 2020 15:45:57 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 07QFjs4g065029; Wed, 26 Aug 2020 11:45:54 -0400 (EDT) (envelope-from doug@safeport.com) Date: Wed, 26 Aug 2020 11:45:54 -0400 (EDT) From: Doug Denault To: Polytropon cc: freebsd-questions@freebsd.org Subject: Re: diff is a little diff -- erent In-Reply-To: <20200826094948.333c67b0.freebsd@edvax.de> Message-ID: References: <20200826094948.333c67b0.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Wed, 26 Aug 2020 11:45:54 -0400 (EDT) X-Rspamd-Queue-Id: 4Bc9F15CvBz4BnY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-2.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.883]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; NEURAL_HAM_LONG(-0.81)[-0.807]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[safeport.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.56)[-0.562]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 15:45:58 -0000 On Wed, 26 Aug 2020, Polytropon wrote: > On Wed, 26 Aug 2020 01:30:38 -0400 (EDT), Doug Denault wrote: >> I do wonder why. Who is going to go to the effort to build/install "base" >> commands as various options are removed/changed? I can't wait to see what >> happens to cp, grep, find, and awk. > > If I remember correctly, grep already is BSD grep (with GNU grep > being available via ports collection), and the same for awk (and > gawk respectively). In most cases, the base commands implement > the set of standard features, while the GNU commands have certain > GNU extensions added which the standard does not require or even > specify. This, and the licensing terms (BDSL / GPL) that apply. > Thanks, a perfectly reasonable response to my less than reasonable post. Lost in my histrionics was my question. We have morphed from, "I will not stop you from doing something stupid ..." to We are going to take away some options that have been there for 25 years (that I know of) because "?-----?". Having the blank filled in is what I was going for. After all these years I do not know which of the scores of commands I use are GNU versus BCD. The man pages probably says but I have enough trouble remembering all the options in ls, find, and awk that I use, much less are they GNU or not. As written in /usr/src, the change seems rather arbitrary. My 'real' question: is there a reason to make this change? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Wed Aug 26 16:09:37 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 375903B027F for ; Wed, 26 Aug 2020 16:09:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bc9mK05lTz4DK9 for ; Wed, 26 Aug 2020 16:09:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7778F2175F for ; Wed, 26 Aug 2020 16:09:36 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:4443:8627:2e04:357]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id CEAE920322 for ; Wed, 26 Aug 2020 16:09:33 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/CEAE920322; dkim=none; dkim-atps=neutral Subject: Re: /bin/sh is what? Can I set tab autocompletion for that sh? To: freebsd-questions@freebsd.org References: <20200822094009.40c8eeae.freebsd@edvax.de> From: Matthew Seaman Autocrypt: addr=matthew@FreeBSD.org; prefer-encrypt=mutual; keydata= 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 D2UGgsFXnd7KkBLadQs= Message-ID: Date: Wed, 26 Aug 2020 17:09:31 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200822094009.40c8eeae.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rtqNCSDs4dM9rN7EBpfUWeRSy8lQ68wkM" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:09:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rtqNCSDs4dM9rN7EBpfUWeRSy8lQ68wkM Content-Type: multipart/mixed; boundary="8bMLJ3HlH25jt1e4Fzqje2Vr4KOTgrHKC" --8bMLJ3HlH25jt1e4Fzqje2Vr4KOTgrHKC Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 22/08/2020 08:40, Polytropon wrote: > On Sat, 22 Aug 2020 09:28:27 +0200, Christoph Kukulies wrote: >> I=E2=80=99m wondering whether I can set /bin/sh to autocomplete comman= ds. >=20 > The regular sh shell (which is the Almquist shell) does not > have that feature. As it is primarily intended for scripting, > and used interactively only in emergency cases (and even there > often only to start csh or bash), command completition has > probably never been considered for implementation. >=20 > If you want this feature, just use csh, bash, zsh, ksh, fish, > depending on your individual shell preference. >=20 > See "man 1 sh" and "man 5 editrc" for details. Errr... `set -o emacs` or `set -E` will enable tab completion in /bin/sh, along with various other comman-line editing features. Cheers, Matthew --8bMLJ3HlH25jt1e4Fzqje2Vr4KOTgrHKC-- --rtqNCSDs4dM9rN7EBpfUWeRSy8lQ68wkM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl9GiTtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Ofr3A//VFhJ3asm1WpZ6Nqrc6Tt8r7ynApGdciUYE9zwoNACXbCAwyaY4NNgSId 7p3qjtlPx5vaOHzEbpjbae0a0e9uFAJMnwE1+fEEMrPNMci92MOENa8ZKoAY7idQ PB8FyiuGAD9wHH3S6vTEvZngTm8GQHvInyV13EMSpcqI9GUPethc92nRdO7MpGOp w00ymCRgw7ZxR2ka66QPZ05p9wfvr/0ysJK6F2ko7/3NisJej18cZN2Qq/2OvXJ1 dN4+iiX1JMbznTGpteo8AAwifoXUw60yQ+XHO+H7gBaZz1m9T4sR+8ZSujKFPG7s 3U21XGNM34VSsKEGqGZuYeCXJeg0DZlAswVQL3ksPH1R3udwdjHuK1iHwLVvLckW b6MUuiFtclnbdGVV3XQgZpwbG/soO5Ut3l9cq3N9oXaoC0h0KRWT63vWmPZJYVKQ VJFTQigkY8WX54CnNWTO+ig7rmuNpZeDJ3gImSipc/3ulZxqkqlCVYI824C4HLQH qDMaIhIpzP4Y4UX4apQo9ilmHxIwbVT6nBzjNiMRR94J3B7eMtbw4Q4jSO1LGbgD F/rNndRStMAlZpd8Ti7PLJQmWy/cAMjWhENHeuOlJBOVnaNo/u5mJtfDj6NDH1VA BUU0dGFb5NlJRzcM2z+jCPoqaRywiwPKNxkB+yAWvT4ZDU0gK+A= =ehwa -----END PGP SIGNATURE----- --rtqNCSDs4dM9rN7EBpfUWeRSy8lQ68wkM-- From owner-freebsd-questions@freebsd.org Wed Aug 26 16:14:43 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3838D3B101D for ; Wed, 26 Aug 2020 16:14:43 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bc9tB4s2lz4DYT for ; Wed, 26 Aug 2020 16:14:42 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 154FB6D809; Wed, 26 Aug 2020 16:14:42 +0000 (UTC) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id 07QGEfmV058797; Wed, 26 Aug 2020 12:14:41 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id 07QGEf6g058794; Wed, 26 Aug 2020 12:14:41 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Wed, 26 Aug 2020 12:14:41 -0400 (EDT) From: doug Reply-To: doug@safeport.com To: Aryeh Friedman cc: FreeBSD Mailing List Subject: Re: dual boot win10 and FreeBSD In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4Bc9tB4s2lz4DYT X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of doug@fledge.watson.org has no SPF policy when checking 204.107.128.30) smtp.mailfrom=doug@fledge.watson.org X-Spamd-Result: default: False [2.38 / 15.00]; HAS_REPLYTO(0.00)[doug@safeport.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[watson.org]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.74)[0.742]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.08)[-0.080]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.72)[0.715]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:14:43 -0000 On Wed, 26 Aug 2020, Aryeh Friedman wrote: > I have a working FreeBSD machine (that needs to stay working wo/ any > reinstalls) and want to add Windows 10 on a second SSD to the setup. What > is the safest way to set this up for dual boot (starting with installing > Windows). > If your system has IPMI or drac (dell) or some other boot option built-in just use that. I have a supermicro where F11 gets a boot menu that offers any device specified in the BIOS settings. I would not mess with adding to or modifying the FreeBSD boot process unless there is no other choice. From owner-freebsd-questions@freebsd.org Wed Aug 26 16:18:45 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C08583B10A0 for ; Wed, 26 Aug 2020 16:18:45 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bc9yr2xBkz4Dj1 for ; Wed, 26 Aug 2020 16:18:43 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-oi1-x235.google.com with SMTP id u24so1995747oic.7 for ; Wed, 26 Aug 2020 09:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WwXXPAKlDiX+aYlgaGfTst6bGnYJ4omjzkL+sCpmnrU=; b=P0WgQgUOT6+ZDGIf/a0TTF3se5bf1ep4sSC5iFrZZHLy5YQlNbi/el3c+WxQmrSILS iuBXYQM4DyAjQ52rDHRn9DNTgjUdjVYGhI0M4rIDzydZZJMqL2QLW9ImWkofggbXOUhy 72UFahEoQUsBzBvlvJJMugFULKQLCQeRVfx4noI1w70RS0ffXroNn1wVDSkSI3TBOhWt x4g5ZAJ+yP9lU/mWEyv+EeTeJOc2mSiPqsP0D57HX1UaAIQkXzxKjOfWsycYRJYEzW4i vLFvHJCJXJCbovFNjYtI5KAE6tbcU9HMXrXW3NKEkP9Nw5XSqsX16FrAemreAJKSTLmg Dv4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WwXXPAKlDiX+aYlgaGfTst6bGnYJ4omjzkL+sCpmnrU=; b=doWp68mNnQ2xkfQ97Bw/y4WqMreTmxaPlZqKGoxLekxLIUoeJqLeeVmA4G1llgUIzJ fK8HnfcTyG6jVQHcvwMFAh1+Y8gIoNhSWUt6JG4JUwjlo00r5muigOmyOsGhlfxhGpC+ h1MddeU6U5RdhhFcnIK6ABzdvdr4Sd2z5hryJAFDYf7cDyb/VNX+F4CJ8ejjENIp2haY cJIOCjX+WmTdqcRlBxs3UkA19TazZyV5kdTYDZQ0kGqSYWDU8q+zXckTClZN1ASvpAjm DjVpipa54bhi5eo21F9Afyn2lF9bd7mdZ2abP41YZC2g4r17sZCXzCHIehbVnefqSE+y a2zA== X-Gm-Message-State: AOAM533tjbBpWTDYYNXb6ASc7uJeD6K5HptOQVi1VfttN54RzZ3bPr6S MQJXEnskmvCwbNN7U+7chqrD7Oif+CBWgtk/q+yTInuR X-Google-Smtp-Source: ABdhPJxRvrbqsNfDayTy1yQ8el4eNkHFw/3YobkpP64DajswNR5WFNiOKNeNKhhMlNfY5mBoh0IN7AKNVo7UCVgOWrg= X-Received: by 2002:a05:6808:b10:: with SMTP id s16mr2089985oij.95.1598458722130; Wed, 26 Aug 2020 09:18:42 -0700 (PDT) MIME-Version: 1.0 References: <20200826094948.333c67b0.freebsd@edvax.de> In-Reply-To: From: Mehmet Erol Sanliturk Date: Wed, 26 Aug 2020 19:18:05 +0300 Message-ID: Subject: Re: diff is a little diff -- erent To: Doug Denault Cc: Polytropon , FreeBSD Questions Mailing List X-Rspamd-Queue-Id: 4Bc9yr2xBkz4Dj1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=P0WgQgUO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mesanliturk@gmail.com designates 2607:f8b0:4864:20::235 as permitted sender) smtp.mailfrom=mesanliturk@gmail.com X-Spamd-Result: default: False [-2.82 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.939]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.97)[-0.968]; NEURAL_SPAM_SHORT(0.09)[0.089]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::235:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:18:45 -0000 On Wed, Aug 26, 2020 at 6:46 PM Doug Denault wrote: > On Wed, 26 Aug 2020, Polytropon wrote: > > > On Wed, 26 Aug 2020 01:30:38 -0400 (EDT), Doug Denault wrote: > >> I do wonder why. Who is going to go to the effort to build/install > "base" > >> commands as various options are removed/changed? I can't wait to see > what > >> happens to cp, grep, find, and awk. > > > > If I remember correctly, grep already is BSD grep (with GNU grep > > being available via ports collection), and the same for awk (and > > gawk respectively). In most cases, the base commands implement > > the set of standard features, while the GNU commands have certain > > GNU extensions added which the standard does not require or even > > specify. This, and the licensing terms (BDSL / GPL) that apply. > > > Thanks, a perfectly reasonable response to my less than reasonable post. > Lost in my histrionics was my question. We have morphed from, "I will not > stop you from doing something stupid ..." to We are going to take away > some options that have been there for 25 years (that I know of) because > "?-----?". Having the blank filled in is what I was going for. > > After all these years I do not know which of the scores of commands I use > are GNU versus BCD. The man pages probably says but I have enough trouble > remembering all the options in ls, find, and awk that I use, much less > are they GNU or not. As written in /usr/src, the change seems rather > arbitrary. My 'real' question: is there a reason to make this change? > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > _______________________________________________ > > License of GNU software is GPL which is NOT a commercially usable license . For that reason , FreeBSD is clearing out the GNU software from its base system by replacing them with BSD licensed similar software developed by FreeBSD specialist volunteers without implementing unnecessary GNU extensions . To support FreeBSD user's operations using GNU software , such software parts are moved into ports which do not affect the license of base system usage . Mehmet Erol Sanliturk From owner-freebsd-questions@freebsd.org Wed Aug 26 16:28:29 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 216A33B1179 for ; Wed, 26 Aug 2020 16:28:29 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcBB46Yp9z4FSl for ; Wed, 26 Aug 2020 16:28:28 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 8357C217B9 for ; Wed, 26 Aug 2020 16:28:28 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:4443:8627:2e04:357]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 773E32039B for ; Wed, 26 Aug 2020 16:28:27 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/773E32039B; dkim=none; dkim-atps=neutral Subject: Re: Jail question: packages with relative symlinks To: freebsd-questions@freebsd.org References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> <9127e9ca-c6be-d007-bd82-fdf7c5508242@kicp.uchicago.edu> <7c3ad6a6-5ff1-5816-dc23-83d80590baac@kicp.uchicago.edu> From: Matthew Seaman Autocrypt: addr=matthew@FreeBSD.org; prefer-encrypt=mutual; keydata= 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 D2UGgsFXnd7KkBLadQs= Message-ID: <2eb62151-38b5-5e63-43a1-5cac1967b681@FreeBSD.org> Date: Wed, 26 Aug 2020 17:28:26 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <7c3ad6a6-5ff1-5816-dc23-83d80590baac@kicp.uchicago.edu> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KQf1JI2RnRDUndD5xrh7q9RfdoYquY9Hm" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:28:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KQf1JI2RnRDUndD5xrh7q9RfdoYquY9Hm Content-Type: multipart/mixed; boundary="lCZZwj0gdB2sOrXURdEhItQ1CvJl5jcLS" --lCZZwj0gdB2sOrXURdEhItQ1CvJl5jcLS Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 25/08/2020 22:30, Valeri Galtsev wrote: > I probably didn't explain things detailed enough. >=20 > my jail has its root in: >=20 > /jail/[jailname] >=20 > so all what is inside jail on host filesystem is visible as: >=20 > /jail/[jailname]/s/etc > /jail/[jailname]/etc --> s/etc > /jail/[jailname]/usr > /jail/[jailname]/s/usr-local > /jail/[jailname]/usr/local --> ../s/usr-local > ... >=20 > the >=20 > /jail/[jailname] >=20 > is base system mounted read-only (with symlinks etc pointing to s/etc, > and others which point to a single place >=20 > /jail/[jailname]/s >=20 > which is mounted read-write, and this is the only place inside jail > which=C2=A0 is read-write. This is the wonderful idea which inside jail= makes > base system read-only. And it is convenient, as you maintain only one > base system (of given version) for all jails. And as you correctly said= , > chroot is used (in addition to other things), so inside jail what on > host is /jail/[jailname]/ is plainly / >=20 > I hope, this provides enough detail to un-confuse things (and the need > of symlinks when one sets up jails "by the book", meaning FreeBSD Handb= ook) >=20 > Valeri There's a '--relocate' flag to pkg-add(8) which almost does what you want. The idea is that it allows you to prepend an arbitrary path to the location where the package is installed. In your case, that would mean running pkg add --relocate /jail/[jailname] some-package However I'm not sure how well that works for installing the same package in several different jails, or in your jail and in the host system -- you might need to play games with using several different $PKG_DBDIR setu= ps. Also, it only works with pkg-add(8), not pkg-install(8) or pkg-upgrade(8). It is an experimental feature intended for use in cross-installing packages for a small appliance by mounting its drive onto a larger and more capable machine. Cheers, Matthew =09 --lCZZwj0gdB2sOrXURdEhItQ1CvJl5jcLS-- --KQf1JI2RnRDUndD5xrh7q9RfdoYquY9Hm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl9GjapfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Of0JQ//awsGX3Bti13wriz2HISh0mXtf8Vz0NztAQ5dpqamU8FAb0faCxFQkGGd KKWq89i42kp7jDf+ctvmwu7si14N/eqkq3axt6isFDGgfyb+AgWEUmY7lsJKcExQ iiHuGDvHJ6Uio2LRRVN31wKfKgfXvsBilArXGF8DQ7EnfSKpCoxAA0yU+bA7R/jN YTB8p3lDPYXv8n9I7uAlQBkeyjcGkiM/owXdWSnK6xK3/FgrzBTXg4AkQnWircMt eZfj+GTx3YPpY5SgNyJjcFo0SvXeVjEOVqKW84CUo7vPXK7rxCDSB0G2GQilmjIS iU2/8QM/aXKbmGiJOb8amWZ/r5qra+gEF6bBeiBq/v74uR3UYO0Lc5x+mUvYLY9z tFvEai+z7moOQqMcle263ABWcASYPXLRYiM5DssVqDn/yEzzilGKKAUaC1lPm72I aFJRilwLIlpo8DW91bSOqTl6r93Lp2QbfklFne8HUSohR34M3fgxO9oVNUYZOooH BoVkyvt3qkmC/pjpu9J6w8mzPTC+LpopJ7kz5fPXu+V9u+8/hHg2pOXvQ0xnDwyc DVaEEzyhtSUZnnPR88BdUKJAGkurJeMvyqYSaghIlSIrHtq4plwQfJk4S8r3JZSH plzfsSC5TQWZH7yZj58XJ0AH5C+XePAt3a9fSDegUOBTiTYOwG8= =VlUK -----END PGP SIGNATURE----- --KQf1JI2RnRDUndD5xrh7q9RfdoYquY9Hm-- From owner-freebsd-questions@freebsd.org Wed Aug 26 16:35:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DB173B16E0 for ; Wed, 26 Aug 2020 16:35:44 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcBLR5D9Kz4G8s for ; Wed, 26 Aug 2020 16:35:43 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 07QGZfZk070824; Wed, 26 Aug 2020 12:35:41 -0400 (EDT) (envelope-from doug@safeport.com) Date: Wed, 26 Aug 2020 12:35:41 -0400 (EDT) From: Doug Denault To: Mehmet Erol Sanliturk cc: Polytropon , FreeBSD Questions Mailing List Subject: Re: diff is a little diff -- erent In-Reply-To: Message-ID: References: <20200826094948.333c67b0.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Wed, 26 Aug 2020 12:35:41 -0400 (EDT) X-Rspamd-Queue-Id: 4BcBLR5D9Kz4G8s X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-2.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.64)[-0.638]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101:c]; NEURAL_HAM_LONG(-0.46)[-0.464]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[safeport.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.87)[-0.874]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:35:44 -0000 On Wed, 26 Aug 2020, Mehmet Erol Sanliturk wrote: > On Wed, Aug 26, 2020 at 6:46 PM Doug Denault wrote: > On Wed, 26 Aug 2020, Polytropon wrote: > > > On Wed, 26 Aug 2020 01:30:38 -0400 (EDT), Doug Denault wrote: > >> I do wonder why. Who is going to go to the effort to build/install > "base" > >> commands as various options are removed/changed? I can't wait to see > what > >> happens to cp, grep, find, and awk. > > > > If I remember correctly, grep already is BSD grep (with GNU grep > > being available via ports collection), and the same for awk (and > > gawk respectively). In most cases, the base commands implement > > the set of standard features, while the GNU commands have certain > > GNU extensions added which the standard does not require or even > > specify. This, and the licensing terms (BDSL / GPL) that apply. > > > Thanks, a perfectly reasonable response to my less than reasonable post. > Lost in my histrionics was my question. We have morphed from, "I will not > stop you from doing something stupid ..." to We are going to take away > some options that have been there for 25 years (that I know of) because > "?-----?". Having the blank filled in is what I was going for. > > After all these years I do not know which of the scores of commands I use > are GNU versus BCD. The man pages probably says but I have enough trouble > remembering all the options in ls, find, and awk that I use, much less > are they GNU or not. As written in /usr/src, the change seems rather > arbitrary. My 'real' question: is there a reason to make this change? > License of GNU software is GPL which is NOT a commercially usable license . > > For that reason , FreeBSD is clearing out the GNU software from its base system by > replacing them with BSD licensed similar software developed by FreeBSD specialist > volunteers without implementing unnecessary GNU extensions . An unnecessary option is anything you are not using. > To support FreeBSD user's operations using GNU software , such software parts are moved > into ports which do not affect the license of base system usage . Okay thanks for the explaination. Unless the lawyers tell you differently I doubt I have been breaking the law for the past 25 years. If so every linux in the world can be sued. There's a class action for you :) It was/is my understanding this applies to including such software in an appliance, say Xbox or whatever. I thought the licence difference dealt more with the BSD license allowing proprietary software to be included in said appliance. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Wed Aug 26 16:37:46 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5965B3B1A66 for ; Wed, 26 Aug 2020 16:37:46 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcBNn3rHlz4G6t; Wed, 26 Aug 2020 16:37:45 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id DA78910646; Wed, 26 Aug 2020 17:37:37 +0100 (BST) Subject: Re: /bin/sh is what? Can I set tab autocompletion for that sh? To: Matthew Seaman , freebsd-questions@freebsd.org References: <20200822094009.40c8eeae.freebsd@edvax.de> From: Arthur Chance Message-ID: Date: Wed, 26 Aug 2020 17:37:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BcBNn3rHlz4G6t X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.241 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-1.31 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[qeng-ho.org]; NEURAL_HAM_LONG(-0.83)[-0.830]; NEURAL_HAM_MEDIUM(-0.88)[-0.877]; NEURAL_HAM_SHORT(-0.30)[-0.300]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:37:46 -0000 On 26/08/2020 17:09, Matthew Seaman wrote: > On 22/08/2020 08:40, Polytropon wrote: >> On Sat, 22 Aug 2020 09:28:27 +0200, Christoph Kukulies wrote: >>> I’m wondering whether I can set /bin/sh to autocomplete commands. >> >> The regular sh shell (which is the Almquist shell) does not >> have that feature. As it is primarily intended for scripting, >> and used interactively only in emergency cases (and even there >> often only to start csh or bash), command completition has >> probably never been considered for implementation. >> >> If you want this feature, just use csh, bash, zsh, ksh, fish, >> depending on your individual shell preference. >> >> See "man 1 sh" and "man 5 editrc" for details. > > Errr... > > `set -o emacs` or `set -E` > > will enable tab completion in /bin/sh, along with various other > comman-line editing features. Are you sure of that? If I drop into sh it's got emacs style editing for the command line but tab completion always gives me matching files in the current directory even in the command position. This is 11.3 (and I know I need to upgrade :-) -- The number of people predicting the demise of Moore's Law doubles every 18 months. From owner-freebsd-questions@freebsd.org Wed Aug 26 16:39:20 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB8DB3B1DAC for ; Wed, 26 Aug 2020 16:39:20 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BcBQb5DCMz4GH3; Wed, 26 Aug 2020 16:39:19 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.143.111]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id EE4154E639; Wed, 26 Aug 2020 11:39:18 -0500 (CDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Jail question: packages with relative symlinks From: Valeri Galtsev In-Reply-To: <2eb62151-38b5-5e63-43a1-5cac1967b681@FreeBSD.org> Date: Wed, 26 Aug 2020 11:39:17 -0500 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5E7E9966-E534-407E-B5DB-A45878760FA0@kicp.uchicago.edu> References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> <9127e9ca-c6be-d007-bd82-fdf7c5508242@kicp.uchicago.edu> <7c3ad6a6-5ff1-5816-dc23-83d80590baac@kicp.uchicago.edu> <2eb62151-38b5-5e63-43a1-5cac1967b681@FreeBSD.org> To: Matthew Seaman X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BcBQb5DCMz4GH3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [0.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.22)[-0.219]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.143.111:received]; NEURAL_HAM_MEDIUM(-0.16)[-0.161]; NEURAL_HAM_SHORT(-0.04)[-0.043]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:39:20 -0000 > On Aug 26, 2020, at 11:28 AM, Matthew Seaman = wrote: >=20 > On 25/08/2020 22:30, Valeri Galtsev wrote: >> I probably didn't explain things detailed enough. >>=20 >> my jail has its root in: >>=20 >> /jail/[jailname] >>=20 >> so all what is inside jail on host filesystem is visible as: >>=20 >> /jail/[jailname]/s/etc >> /jail/[jailname]/etc --> s/etc >> /jail/[jailname]/usr >> /jail/[jailname]/s/usr-local >> /jail/[jailname]/usr/local --> ../s/usr-local >> ... >>=20 >> the >>=20 >> /jail/[jailname] >>=20 >> is base system mounted read-only (with symlinks etc pointing to = s/etc, >> and others which point to a single place >>=20 >> /jail/[jailname]/s >>=20 >> which is mounted read-write, and this is the only place inside jail >> which is read-write. This is the wonderful idea which inside jail = makes >> base system read-only. And it is convenient, as you maintain only one >> base system (of given version) for all jails. And as you correctly = said, >> chroot is used (in addition to other things), so inside jail what on >> host is /jail/[jailname]/ is plainly / >>=20 >> I hope, this provides enough detail to un-confuse things (and the = need >> of symlinks when one sets up jails "by the book", meaning FreeBSD = Handbook) >>=20 >> Valeri >=20 > There's a '--relocate' flag to pkg-add(8) which almost does what you > want. The idea is that it allows you to prepend an arbitrary path to > the location where the package is installed. In your case, that would > mean running >=20 > pkg add --relocate /jail/[jailname] some-package >=20 Matthew, thanks for a nice idea! It has never occurred to me. Basically, = as package is installed by executing pkg command in jail, pkg already = sees /jail/[jailname] as / , but as I care of symlinks, and all writable = is in jail mounted as /s/ , relocation of that package to /s may do the = trick. I will check that, and will report if it solves my case, I just = could not hold myself and answered now being this excited by idea that = looks so simple so it is next to genius, and which never occurred to = me=E2=80=A6 Valeri > However I'm not sure how well that works for installing the same = package > in several different jails, or in your jail and in the host system -- > you might need to play games with using several different $PKG_DBDIR = setups. >=20 > Also, it only works with pkg-add(8), not pkg-install(8) or > pkg-upgrade(8). It is an experimental feature intended for use in > cross-installing packages for a small appliance by mounting its drive > onto a larger and more capable machine. >=20 > Cheers, >=20 > Matthew >=20 > =09 >=20 From owner-freebsd-questions@freebsd.org Wed Aug 26 16:43:38 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C19CE3B2554 for ; Wed, 26 Aug 2020 16:43:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcBWZ1Y08z4HCG; Wed, 26 Aug 2020 16:43:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.163.154]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1M27ix-1kDSQT16jJ-002YEC; Wed, 26 Aug 2020 18:43:36 +0200 Date: Wed, 26 Aug 2020 18:43:36 +0200 From: Polytropon To: Matthew Seaman Cc: freebsd-questions@freebsd.org Subject: Re: /bin/sh is what? Can I set tab autocompletion for that sh? Message-Id: <20200826184336.e761b39a.freebsd@edvax.de> In-Reply-To: References: <20200822094009.40c8eeae.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:xdPZJ6g3cokgCTQ9Uxdev1A9FpP0VUbpdRhj9CRm7VokrmUBSs7 OGQUGKEFHY+SC2dFGfl+lu50cl33Unam6zi3fpqPyVbOyHtV7OsvwcWiBzpltqx5lYzKdjv bpIdrEk395QLKwoA7T/ku0eQCyUqL7UtQz01vGGx3Qj2Mj3ieSi8AMyE0r6kKJmkdjmDPJ7 +AwOUwBi5vSJGmFg096ZA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:x9O4LhqDrN0=:b5iTgfEdXT7EshrcRS0+Iy N3BLrT1NGNbD1ZPmrfQVTJn4jkaMCwiJGw0M9gznPkqZp5Rr0lq0XcqLobjfOjoBhuSu/zjsv 6HWvUgoTyjaVk3V53kBC0cTiRs53q+grAAJaNVscLOrDUpk+BCO1qhkT9FDERr3UeGGo3txn4 TrfTYgIPc6GrTB1dg0ksDZs2C6rLCi4sTs5guxX5HCMRpk6DDtkS3EFidx32Hq03bG8JaJ8YF jzQX8+iW78h2YjRTFrorlHaWaOmu8VS9i7hZjStmQjptHKDwuP95EoCFabZsqS2yStXEB576a +9L2K6OKFk/jdik8wV8SlHVKD+M1s5On5iKs0h6NeQajd1T66x0oZaF7W0HO2wM/o/dfZFQaQ CeOFQR+P39gVz9qN9QRasMvHwF5M7r7NB6qtI7af7vv1Ou3KEKKhxpxNX9P88E/fTNL50Yt6L cGXOpVJFxp3WNc/331cNsD4dxIJ4NcwpfJodMnxLKL04IcygwWW8WJzWmQBhGZp1ENpFus5XS sBIIZmY8IH6D2TqYPnDzqAGR8dpIu/CLOgNT3U4GibmqwBvacGGLMTvH7ahsaF//kgiHZtrfs kDuwND7xsU4hbsuGkAjlRwJXQX7QoeAXRe1MQEnjN1oCFs6dZlEJa9XkY2e1xOsSLMOdwswdp tRyoSIEwtPeDvKJlzH1bCHRiwqkakIL96+REIpGZJxhCANenVjtZs5kYsIXOfMCldBJCO7CUE gBKSByGBNnvNBSYtSoraGztel73Cr4MQyXM2SSENOuSR04pv907Vas+QgK5jDDiZkVQ8ITQJN BP2oVZaUNrSUh/qn+CpL7KWok8ISrQtAVjN/djxCZXdE7aqdG4R69ttoGOmLil5n7o/04w+ X-Rspamd-Queue-Id: 4BcBWZ1Y08z4HCG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 16:43:38 -0000 On Wed, 26 Aug 2020 17:09:31 +0100, Matthew Seaman wrote: > On 22/08/2020 08:40, Polytropon wrote: > > On Sat, 22 Aug 2020 09:28:27 +0200, Christoph Kukulies wrote: > >> I’m wondering whether I can set /bin/sh to autocomplete commands. > > > > The regular sh shell (which is the Almquist shell) does not > > have that feature. As it is primarily intended for scripting, > > and used interactively only in emergency cases (and even there > > often only to start csh or bash), command completition has > > probably never been considered for implementation. > > > > If you want this feature, just use csh, bash, zsh, ksh, fish, > > depending on your individual shell preference. > > > > See "man 1 sh" and "man 5 editrc" for details. > > Errr... > > `set -o emacs` or `set -E` > > will enable tab completion in /bin/sh, along with various other > comman-line editing features. Wow, this really works (on more recent versions of FreeBSD)! I would never have associated this with emacs-style line editing. Still the manual doesn't seem to mention tab completition; however, the manual for editrc seems to at least _suggest_ that kind of functionality in two entries (one vi-, one em-), even though it is not explicitely mentioned. Enabling this particular feature makes /bin/sh more usable in "worst case scenario" interactive shell sessions. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Aug 26 17:29:49 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A881A3B5242 for ; Wed, 26 Aug 2020 17:29:49 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcCXr2m9Qz4MX3 for ; Wed, 26 Aug 2020 17:29:48 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.160] (cpe-23-243-161-111.socal.res.rr.com [23.243.161.111]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 8a795b26 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 26 Aug 2020 17:29:40 +0000 (UTC) Subject: Re: xorg, libinput, edev and i3wm To: freebsd-questions@freebsd.org References: <20200826065925.GB88637@mithril> From: Pete Wright Message-ID: <38e42ff0-2168-7e72-ccd5-f3ebc22c85cc@nomadlogic.org> Date: Wed, 26 Aug 2020 10:29:40 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200826065925.GB88637@mithril> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BcCXr2m9Qz4MX3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [0.75 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.43)[0.434]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.37)[0.367]; NEURAL_SPAM_LONG(0.25)[0.253]; DMARC_NA(0.00)[nomadlogic.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[23.243.161.111:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 17:29:49 -0000 On 8/25/20 11:59 PM, Jacques Foucry wrote: > Dear All, > > I need your experize. > > I run FreeBSD 12.1-RELEASE-p8 GENERIC, on a X280 Lenovo laptop and I can't > make the touchepad work properlly. Some options works, others don't. Have you loaded acpi_ibm(4)?  I need to load this on my thinkpad to get video brightness controls as well as other function keys to work.  the man page is pretty thorough in setting this up if you haven't do so already. hope this helps, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Wed Aug 26 17:32:01 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BDBE63B55B9 for ; Wed, 26 Aug 2020 17:32:01 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcCbN7494z4MhB for ; Wed, 26 Aug 2020 17:32:00 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-oi1-x229.google.com with SMTP id h3so2206351oie.11 for ; Wed, 26 Aug 2020 10:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u6bBKTtTZxcmYp94OgSQ72M/gHtnQC6NCZ38CH2wCoI=; b=CeoBVlj5eLQ2aB1/SLd58EyK8LLylnXViJEgnjn0Op4MrBiBrie8QlF7zxJZiPI2mf Bq8/MojpRaqCJozkqfq/ohGlTbs7y33LGYPAzCyWbRmygvYcp+m3uarXNM2jk2N6Ie1N lZzGNiob593wod1/lKyqxLbe+eGL27RV0jsTDFmYviZS57dXeKkh5ZRYg3uz8QOOxpH5 i+RggFEgx1NfUi4FTLvoZmQW6jYm/F5pHKrRsxFtSiG5FZbYGuHFMbvdd6R8oWJsjWcY kiw/UePFboR38yV6zRO+9EVSOqof0u/XTGPyPO2DXIkQORfkpaCgV/Kk1QBXaUaSj+dA jwcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u6bBKTtTZxcmYp94OgSQ72M/gHtnQC6NCZ38CH2wCoI=; b=gazZZ+e+x9EvJO7L+UpPohVBs1DMIDZNRoshhNGRUUYv0x36/kV0bvwlIqgZkiSCA5 8liNYZk/wMMDE3p9J8+K2AgUptbpZKZU4DTOr6cZTNPUDDe9tqfacr9LJo6OdCl11noT KRMzjrdgdZ8iQnq6kfYEVs0Lk/+LBGLBs1dfwdWxs8j4H6RtPuVTmzkzE1Hkc6HAmK8K qFmrChZg/QHcA5QvBBRiCEX2Z4/OkUJQxB8l/Z5loFBdigyvPnSW8OBBtTEgp6eU2QdX BKi2gRv1pbg02oPm2XJ+K/UmjOMtYQmTXXbUyOgXA2Y0BCqZLrFHZyoMqjAei3Ol1ZE+ X3Lg== X-Gm-Message-State: AOAM530nW6p9uEqF/tH6xVhet15kcvDbqdo7lb4cGTJccfNINClApnYL MK0Cdy14ffG+SNpYgoWEST2AZ2CjW/uyc9t9014E7Pao X-Google-Smtp-Source: ABdhPJyUcnTiAIwK8OUBdihbGrkztm2rOtgDf8xRzr6UO7rcZKJ+9prJYHeOYTlSR2BtcYSGWJ35FEA2RNS9Wlw2KW4= X-Received: by 2002:a05:6808:b10:: with SMTP id s16mr2263267oij.95.1598463119672; Wed, 26 Aug 2020 10:31:59 -0700 (PDT) MIME-Version: 1.0 References: <20200826094948.333c67b0.freebsd@edvax.de> In-Reply-To: From: Mehmet Erol Sanliturk Date: Wed, 26 Aug 2020 20:31:22 +0300 Message-ID: Subject: Re: diff is a little diff -- erent To: Doug Denault Cc: Polytropon , FreeBSD Questions Mailing List X-Rspamd-Queue-Id: 4BcCbN7494z4MhB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CeoBVlj5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mesanliturk@gmail.com designates 2607:f8b0:4864:20::229 as permitted sender) smtp.mailfrom=mesanliturk@gmail.com X-Spamd-Result: default: False [-3.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.939]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.97)[-0.966]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::229:from]; NEURAL_HAM_SHORT(-0.54)[-0.544]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 17:32:01 -0000 On Wed, Aug 26, 2020 at 7:35 PM Doug Denault wrote: > On Wed, 26 Aug 2020, Mehmet Erol Sanliturk wrote: > > > On Wed, Aug 26, 2020 at 6:46 PM Doug Denault wrote: > > On Wed, 26 Aug 2020, Polytropon wrote: > > > > > On Wed, 26 Aug 2020 01:30:38 -0400 (EDT), Doug Denault wrote: > > >> I do wonder why. Who is going to go to the effort to > build/install > > "base" > > >> commands as various options are removed/changed? I can't wait > to see > > what > > >> happens to cp, grep, find, and awk. > > > > > > If I remember correctly, grep already is BSD grep (with GNU grep > > > being available via ports collection), and the same for awk (and > > > gawk respectively). In most cases, the base commands implement > > > the set of standard features, while the GNU commands have certain > > > GNU extensions added which the standard does not require or even > > > specify. This, and the licensing terms (BDSL / GPL) that apply. > > > > > Thanks, a perfectly reasonable response to my less than reasonable > post. > > Lost in my histrionics was my question. We have morphed from, "I > will not > > stop you from doing something stupid ..." to We are going to take > away > > some options that have been there for 25 years (that I know of) > because > > "?-----?". Having the blank filled in is what I was going for. > > > > After all these years I do not know which of the scores of > commands I use > > are GNU versus BCD. The man pages probably says but I have enough > trouble > > remembering all the options in ls, find, and awk that I use, much > less > > are they GNU or not. As written in /usr/src, the change seems > rather > > arbitrary. My 'real' question: is there a reason to make this > change? > > > License of GNU software is GPL which is NOT a commercially usable > license . > > > > For that reason , FreeBSD is clearing out the GNU software from its base > system by > > replacing them with BSD licensed similar software developed by FreeBSD > specialist > > volunteers without implementing unnecessary GNU extensions . > > An unnecessary option is anything you are not using. > > > To support FreeBSD user's operations using GNU software , such software > parts are moved > > into ports which do not affect the license of base system usage . > > Okay thanks for the explaination. Unless the lawyers tell you differently > I > doubt I have been breaking the law for the past 25 years. If so every > linux > in the world can be sued. There's a class action for you :) It was/is my > understanding this applies to including such software in an appliance, say > Xbox or whatever. I thought the licence difference dealt more with the BSD > license allowing proprietary software to be included in said appliance. > > > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > It is not illegal to use GPL licensed software in commercial applications . Consider one of the most important examples : Red Hat . The trouble is the following : A company is making investment to develop a software . Assume It is based on FreeBSD . If that company uses FreeBSD , by the effect of GPL parts , the company should also supply sources of its own proprietary software . This will destroy the competitive advantage of the company and waste the investment on the software which is not an acceptable situation . Trouble caused by GPL is about such cases . Mehmet Erol Sanliturk From owner-freebsd-questions@freebsd.org Wed Aug 26 17:43:34 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF5C23B5ADA for ; Wed, 26 Aug 2020 17:43:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcCrk5DDSz4P36 for ; Wed, 26 Aug 2020 17:43:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 92897227B5 for ; Wed, 26 Aug 2020 17:43:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f174.google.com with SMTP id z3so2756060qkz.7 for ; Wed, 26 Aug 2020 10:43:34 -0700 (PDT) X-Gm-Message-State: AOAM530UNMahEFyYO5fk9b+pd/pLf+q5mof13smpP3l7RO+gTNMlkvZw vS1D0Yc5vtm7//VNAXoV+jNe6Ga0NeTwkcCrWdM= X-Google-Smtp-Source: ABdhPJwsDUQ3RQXmw88yg82x1rVkrYRJ5qyYXgoBre7v+t49YdOiDaRAYODE6HpmXi8RslsaK7IfyH3dzCYigUFN8F0= X-Received: by 2002:a37:b347:: with SMTP id c68mr15036886qkf.430.1598463814139; Wed, 26 Aug 2020 10:43:34 -0700 (PDT) MIME-Version: 1.0 References: <20200826094948.333c67b0.freebsd@edvax.de> In-Reply-To: <20200826094948.333c67b0.freebsd@edvax.de> From: Kyle Evans Date: Wed, 26 Aug 2020 12:43:21 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: diff is a little diff -- erent To: Polytropon Cc: Doug Denault , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 17:43:34 -0000 On Wed, Aug 26, 2020 at 2:50 AM Polytropon wrote: > > On Wed, 26 Aug 2020 01:30:38 -0400 (EDT), Doug Denault wrote: > > I do wonder why. Who is going to go to the effort to build/install "base" > > commands as various options are removed/changed? I can't wait to see what > > happens to cp, grep, find, and awk. > > If I remember correctly, grep already is BSD grep (with GNU grep > being available via ports collection), and the same for awk (and > gawk respectively). In most cases, the base commands implement > the set of standard features, while the GNU commands have certain > GNU extensions added which the standard does not require or even > specify. This, and the licensing terms (BDSL / GPL) that apply. > Ah, slight correction- it's only BSD grep for those of us who build from source and have extremely good taste. :-) Tentatively, it will be BSD grep for all in FreeBSD13 and will also have the sensible GNU regex extensions that generally bring BREs/EREs closer together in functionality and add some extra niceties like \b and \B (word boundary/not word boundary). Thanks, Kyle Evans From owner-freebsd-questions@freebsd.org Wed Aug 26 18:00:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D52143B6260 for ; Wed, 26 Aug 2020 18:00:16 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mx1.freebsd.org (Postfix) with ESMTP id 4BcDCz6lcVz4PMg for ; Wed, 26 Aug 2020 18:00:15 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mail2.nber.org (8.15.2/8.15.2) with ESMTPS id 07QI0A3v061791 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Aug 2020 14:00:10 -0400 (EDT) (envelope-from feenberg@nber.org) Date: Wed, 26 Aug 2020 14:00:10 -0400 (EDT) From: Daniel Feenberg To: Mehmet Erol Sanliturk cc: Doug Denault , Polytropon , FreeBSD Questions Mailing List Subject: Re: diff is a little diff -- erent In-Reply-To: Message-ID: References: <20200826094948.333c67b0.freebsd@edvax.de> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, 1970/01/01 00:00:00 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2020/08/26 12:21:00 #11219641 X-KLMS-AntiVirus-Status: Clean, skipped X-Rspamd-Queue-Id: 4BcDCz6lcVz4PMg X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of feenberg@nber.org designates 198.71.6.79 as permitted sender) smtp.mailfrom=feenberg@nber.org X-Spamd-Result: default: False [-0.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.54)[-0.536]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; RWL_MAILSPIKE_GOOD(0.00)[198.71.6.79:from]; R_SPF_ALLOW(-0.20)[+mx]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nber.org]; NEURAL_HAM_LONG(-0.12)[-0.118]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[198.71.6.79:from]; NEURAL_HAM_SHORT(-0.44)[-0.435]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:26287, ipnet:198.71.6.0/23, country:US]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 18:00:16 -0000 On Wed, 26 Aug 2020, Mehmet Erol Sanliturk wrote: > > License of GNU software is GPL which is NOT a commercially usable license . > For that reason , FreeBSD is clearing out the GNU software from its base > system by replacing them with BSD licensed similar software developed by > FreeBSD specialist volunteers without implementing unnecessary GNU > extensions . > "unnecessary" is in the eye of the beholder. I would have though "unfeasible" would be a better criterion, in which case "diff -y" would have to be implemented. It does not appear to be unusually difficult to implement that option (which requests side by side output). What psychologists call "projection" is widespread in open source circles, where it manifests itself in statements that amount to "I don't need it, therefore you don't need it, and your request for it indicates your bad character". We should have more respect for legacy environments, which may well depend on features of the software that the current core team no longer, or never used, but which will discourage users from keeping up with new versions of FreeBSD and which will eventually move them to Linux. Daniel Feenberg From owner-freebsd-questions@freebsd.org Wed Aug 26 18:02:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8DB1E3B65E3 for ; Wed, 26 Aug 2020 18:02:03 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067028.outbound.protection.outlook.com [40.92.67.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcDG22Hkbz4Q99 for ; Wed, 26 Aug 2020 18:02:01 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AT6b6VRxobtfYbAStvHXbsP/MmcLAIycHJcPrpXnkAbb1jChi4P5DrjbfY2ZzG2ZIsjL0gXRqKdANs9GNfkyHrVXoA14BMi4TiRAbWPdlIThOuKYP5qRVT+Er0j5igNQm9I3JfDKU9X55QwPRj/rnp/gs0UmflCq8nF+ESfUb3TqvdQxB6+D6HqcvS8i/dVPvZV5aB+K+KCORGQdA0vc3LUyWnsHighjY0IK+kjJj67JhL1y/CyfP4uEzmNMj6DIzSrRthnAQxqnn4iB8MizV1KnMfoR1hSLbjX/1NeTkbp+RW+8fQHi1gVEK0ypfr0zsKQsbZgn/uxcv3mNo8K+fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ifCEkzj04kKwPcgqMm3twT2R/KUfwQBl8o9adurOTo=; b=D4DXyOfhr5oUeE6/u+/QnBav5NqRVEp+HsysTRfSgsN/gPrN54IUSlAi9W6A65oGtkOG5Go6cU7abkWUurtKyBFZg8ivtI3X6RrSxxVJfjI3ISLUdatfiXPUzslUbpoJyIHCyt20J5+e/ss4AqO1gGHH88H729LP6MxFI5/USYtY8poexMvN6emjOGvVGmrZHlj2lP9+HcLt8YJxs5DKOUkoDGxzOUZF+UBYczmig3aB4X2AOZUhcvWh9EFa0wN2gQj5DDkzrCNz+O1xTWxLRNfbXPutCyqm5+zeeKiaulI2CNufYWa8PQox1SD2TIJa+S+bwSTUcccJPVBguiICTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ifCEkzj04kKwPcgqMm3twT2R/KUfwQBl8o9adurOTo=; b=JB8sglsAv9IteUfWXIqGsYsa4gUgV2lRjkx8ME611pXz9Ua7UBxcWF55pnEwx9YPnGy9TGISsMBbiUIjUMCE0WLyjT6jBHuDm3cCJU1x+crWgrNE3FMUlt4IOA0S7iCewY/wsLKAIvSALZnKs9ZexqKJSkjnbPkJZHvKNa6vpSh9O4gGLPlNuWb902979R4CrUDKOYaKbYgKIYkIqhbvKSiv1ryzpPoUSLrxjzfT3n0cSWFWkgM8WldGwpK8GZhrA2Zd9ULt9vTprtcWjmZ3dqDxQi2m50C/27V2H6NIaQmvZ2yR/26STrEKxb+8zM9ncqjfkgizppEdqmGQhdti3g== Received: from AM5EUR02FT054.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::41) by AM5EUR02HT238.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::324) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19; Wed, 26 Aug 2020 18:02:00 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e1c::45) by AM5EUR02FT054.mail.protection.outlook.com (2a01:111:e400:7e1c::200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Wed, 26 Aug 2020 18:02:00 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:BB307B7538DB2134A8881D396A7E3C27C9996AB66BB06E3FC4260E9460D5AEBB; UpperCasedChecksum:7B1008C549086827EC46A3C09718EE49D67D624F2DCE53613E827D865C3B3094; SizeAsReceived:8881; Count:49 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea%6]) with mapi id 15.20.3305.026; Wed, 26 Aug 2020 18:02:00 +0000 Subject: Re: dual boot win10 and FreeBSD To: doug@safeport.com, Aryeh Friedman Cc: FreeBSD Mailing List References: From: Manish Jain Message-ID: Date: Wed, 26 Aug 2020 23:32:10 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BMXPR01CA0079.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::19) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <5f1f3d1b-2e83-d274-992b-7eed2125a19a@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (103.195.202.214) by BMXPR01CA0079.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:54::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Wed, 26 Aug 2020 18:01:59 +0000 X-Microsoft-Original-Message-ID: <5f1f3d1b-2e83-d274-992b-7eed2125a19a@hotmail.com> X-TMN: [9XQ2iXrFAhq9PWgsca6YfP+AgOYIhfQeY2TsgBlCAcg=] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 7651a923-2d7e-425a-ff83-08d849ea2135 X-MS-TrafficTypeDiagnostic: AM5EUR02HT238: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dPKzFiWt0WKUZhCZRAihdrzUsoVYwNZW+F2Cb7XO3Msb2Cd3qU2CoeSVd/Up5hHR3CYYYYiVichc8dAFfS63MjxGMTOG24yd6Ol/NNKesCKbGye0iFDRTNPDepCUX4PgT0S1K6odIfSQEhM+p3gtlww8g4XptYfA2lal6uZpU5oOFGnUn89uRN2Svn/al/T5BMJ7mGadFpvQnxtfU8ZITQ== X-MS-Exchange-AntiSpam-MessageData: sE5m5FF0mXxRfKW2O5fDLSTUMIFSNuaK/ATdmKKPX62Qw8A7TPtxGIlaIWqu2FCKsaCMqXwScy7FNH19Tu49SRy4oH4nsz6xvb6dzjzr7cJwDMy9u1pGITbhZE/Ek3qh+Ib326HfjUI32DzCre8Ivw== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7651a923-2d7e-425a-ff83-08d849ea2135 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2020 18:02:00.5030 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM5EUR02FT054.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT238 X-Rspamd-Queue-Id: 4BcDG22Hkbz4Q99 X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=JB8sglsA; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.67.28 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [7.31 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.60)[-0.596]; FREEMAIL_TO(0.00)[safeport.com,gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[103.195.202.214:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[103.195.202.214:received]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-0.05)[-0.055]; BAD_REP_POLICIES(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[40.92.67.28:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.56)[0.558]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.67.28:from]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 18:02:03 -0000 On 2020-08-26 21:44, doug wrote: > On Wed, 26 Aug 2020, Aryeh Friedman wrote: > >> I have a working FreeBSD machine (that needs to stay working wo/ any >> reinstalls) and want to add Windows 10 on a second SSD to the setup. >> What >> is the safest way to set this up for dual boot (starting with installing >> Windows). >> > If your system has IPMI or drac (dell) or some other boot option > built-in just use that. I have a supermicro where F11 gets a boot menu > that offers any device specified in the BIOS settings. I would not mess > with adding to or modifying the FreeBSD boot process unless there is no > other choice. Hi Aryeh, I have some working experience in this area. So I can tell how you can do this with no dependency on BIOS options. It is a bit tricky owing to W10 installer being essentially stupid. You must do PRECISELY as detailed below. You will have to first disable UEFI completely and enable CSM everywhere. Your disks must be booted non-UEFI, and must already be partitioned MBR or we will have to change the scheme to MBR (no GPT). Let's assume your first disk has a single FreeBSD slice with a single freebsd-ufs partition. This partition must have at least 11 GB free disk space (or the disk must have at least 11 GB unused somewhere) - this is a pre-condition for getting W10 on the second disk. 1) Backup your FreeBSD partition's data somewhere. You can use rsync for this. 2) Attach your second disk as well. 3) Using a Linux installer DVD, repartition the first disk as MBR, with four slices and one logical volume: #fdisk /dev/sda (Use command o to create a new MBR table) (Use command n to add a new partition) (Use command t to change the partition type) (Use command p to print the partition table) (Use command w to write out the final partition table) sda1 : 64 MB : type 7 (ntfs) sda2 : at least 10 GB : type 82 (linux-swap) sda3 : space needed for FreeBSD : type a5 (FreeBSD) sda4 : EBR slice covering remaining disk space : type extended sda5 : logical volume covering whole EBR slice : type 83 (linux-data) Although sda2 is linux-swap, FreeBSD can use it as swap readily. 4) #mkfs.ext2 /dev/sda5 sda5 is your shared partition readable-writeable by both FreeBSD and W10. 5) Use fdisk to create a new MBR table on sdb, and create 2 slices: #fdisk /dev/sdb sdb1 : 60 GB (whatever space needed for W10) : type 7 sdb2 : remaining disk space : type 83 (default) or 7 Later when W10 is installed, sdb1 will get split into 2 slices (sdb1 and sdb2), while the original sdb2 will get retitled as sdb3. 6) Boot with your W10 DVD. When you get to the partitioning page, delete sda1 and sda2, and click New. This will recreate sda1 and sda2 with approximately the original sizes and now both as types ntfs. sda1 is now your W10 system partition. Click sdb1 and hit Delete. CAREFUL here: With the Unallocated Space (originally sdb1) highlighted, click Next/Install. (Do NOT click New). This will create sdb1 (W10 root) and sdb2 (W10 recovery) in the Unallocated Space. Install W10. When done installing W10, boot with your FreeBSD DVD and get into live shell. gpart delete -i 2 ada0 gpart add -i 2 -t linux-swap ada0 gpart delete -i 3 ada0 gpart add -i 3 -t FreeBSD ada0 gpart create -s BSD ada0s3 gpart bootcode -b /boot/boot ada0s3 gpart add -t freebsd-ufs ada0s3 newfs -U /dev/ada0s3a mount /dev/ada0s3a /mnt Mount your backup at /tmp, and then restore the backup: rsync -aAHXv /tmp/ /mnt/ Edit /mnt/etc/fstab to change the root partition (ada0s3a)/swap partition (ada0s2) device nodes. And finally, run the commands: umount /tmp umount /mnt boot0cfg -B /dev/ada0 reboot Your dual-boot system is ready. Regards, Manish Jain From owner-freebsd-questions@freebsd.org Wed Aug 26 18:12:40 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 317FC3B6AF4 for ; Wed, 26 Aug 2020 18:12:40 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcDVH75G3z4QXx; Wed, 26 Aug 2020 18:12:39 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 9B91D22D8D; Wed, 26 Aug 2020 18:12:39 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:4443:8627:2e04:357]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 92F58203B8; Wed, 26 Aug 2020 18:12:38 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/92F58203B8; dkim=none; dkim-atps=neutral Subject: Re: /bin/sh is what? Can I set tab autocompletion for that sh? To: Arthur Chance , freebsd-questions@freebsd.org References: <20200822094009.40c8eeae.freebsd@edvax.de> From: Matthew Seaman Autocrypt: addr=matthew@FreeBSD.org; prefer-encrypt=mutual; keydata= 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 D2UGgsFXnd7KkBLadQs= Message-ID: <2a22febd-8c05-5831-b2ae-0d0c801c578e@FreeBSD.org> Date: Wed, 26 Aug 2020 19:12:37 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pMUfwDDtZunMD3L9SGFHYCAgOMiiJkqsB" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 18:12:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pMUfwDDtZunMD3L9SGFHYCAgOMiiJkqsB Content-Type: multipart/mixed; boundary="qV1F71ZMWYKRui2Ywv1pM2vLtqlKHJUG3" --qV1F71ZMWYKRui2Ywv1pM2vLtqlKHJUG3 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 26/08/2020 17:37, Arthur Chance wrote: > On 26/08/2020 17:09, Matthew Seaman wrote: >> On 22/08/2020 08:40, Polytropon wrote: >>> On Sat, 22 Aug 2020 09:28:27 +0200, Christoph Kukulies wrote: >>>> I=E2=80=99m wondering whether I can set /bin/sh to autocomplete comm= ands. >>> >>> The regular sh shell (which is the Almquist shell) does not >>> have that feature. As it is primarily intended for scripting, >>> and used interactively only in emergency cases (and even there >>> often only to start csh or bash), command completition has >>> probably never been considered for implementation. >>> >>> If you want this feature, just use csh, bash, zsh, ksh, fish, >>> depending on your individual shell preference. >>> >>> See "man 1 sh" and "man 5 editrc" for details. >> >> Errr... >> >> `set -o emacs` or `set -E` >> >> will enable tab completion in /bin/sh, along with various other >> comman-line editing features. >=20 >=20 > Are you sure of that? If I drop into sh it's got emacs style editing fo= r > the command line but tab completion always gives me matching files in > the current directory even in the command position. This is 11.3 (and I= > know I need to upgrade :-) >=20 Yes. It is just tab completion of filenames -- nothing more sophisticated than that I'm afraid. /bin/sh hasn't changed significantly since 11.3 release, so while upgrading might be a good idea, this isn't the most compelling reason to do so. Cheers, Matthew --qV1F71ZMWYKRui2Ywv1pM2vLtqlKHJUG3-- --pMUfwDDtZunMD3L9SGFHYCAgOMiiJkqsB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl9GphVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5OeI+A//fMHWs7ssQcYmIkQmwdrzCkuaPWQL+El7GE1pPRdnI7CiZoPNPyghWI9X oNhZusDoLtIDnNjDYMCnXnRxx3/Yb43r5ukldHzfBraBCL2+/miCRQRKtAG55Qak zqu3mb0tl4iRkAELO1MMtv6dVwujL0D2TRWVibD5sDZeET/Md7i2BeOYup2vkxbu H/Wpt6FcJYcETjFmj9lZ5e8u0LbHVp1g+ThTj+Ids2DOTWmyzLz3qC7KZ5YJx/kf 78cv6gE7lz4q3SBPip64VI2rkX5DSM3NI0HnlFndJZqOWwcnFImUQMCsVBBfikrb rPAWVMzdHwnGIOqWRv+7OohCVrL1MeMVuotDeiZOgVP7OXPOfUGEdsjMPDfFUu35 rGCZVdnojG8fv7cmnkGTG0PHUAK+b4tEDzEgOjwxFGmTPfQ8Z6zDVhNcDrnkYPst wKBkLbFpenG64gHCKNG8EcGDHHVbxuMQYticmKWkXxATALxV6UErT2cZ0tHQuDOF HkPmJT6KekjVVY6n1SM68C6IWZ+ES0/1osv5yo2dEFNom5fpIIJBz3pi0PUZmF5q uYy6hCplWl1N9VKb/mhnsTWf8FqMX3jyduPkLWY77NnCQeZiGBzgFrfrKd9VImFp fiFP/0SE0tWMy2OTmM6ZB0j1n9j0mM7XRp0xXfXCj54YlXwhfEU= =7skN -----END PGP SIGNATURE----- --pMUfwDDtZunMD3L9SGFHYCAgOMiiJkqsB-- From owner-freebsd-questions@freebsd.org Wed Aug 26 18:34:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B69BD3B7B6D for ; Wed, 26 Aug 2020 18:34:15 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2081d.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::81d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcDz93ZGWz4S3p for ; Wed, 26 Aug 2020 18:34:11 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=enil1g6p7TNOSTNPs1VYGMyhJoSnx/QZ/J+jZ6zVHhcE56VLvrZGRd0SeqXE0uh1UbgXaG9HV7jGNT3YPM+BClgwes/WTX56zTHiXtXU7pm4NxSyqLwOzsKFzZHcC/nzXZu463U81R1rA1iBKw+ECvn6Jnwb0F/ZkR+mQYs6xB2oBHi7KwMRAoezjczizixRKeW//00nRJV6FpDTWE5ILotidO1BxI7R1pdcK+c5U3UeCNGp+u538e49Rmb3y5186vlptZmkWrv2IpFyYLai4nImyIxgfqnyKZWvBQkFmuhbCgqecj+b58aEUhfK0RAYzNZ65N/uWqFqbrJ3veCpQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5d6FosPwEDRTRBTjwXGD6dqSjDGXY4UCJqnIsRbIeKM=; b=b+VKia+SjMWo7CPpulYScRTkRNSurjpM9jg6HonmSvgpFQi6kDiytEeP8U8SMJTuaYqQDELboe8lzYZS5penU641w8J9UqFu3fjfu0noNqXQpGCleV/TkNyDERgcRZLFHusa9lof7kab6USbJoxQZvMK3j0YM1bSa6VMzwJOJbHTEo2tZYE0RTc1PuTt7MsrvncQNvNiHb71uZasHg9jCckBsx2Z5fZ+1EFBEEss4x4qbpPOzDzBB3BU0mnvRRbbn8hYFCJ0ncBtQP2HVeoyZunX3CvfZLl3+LPXVVJr/vvUhXkYpLuLst8QULj+waVl6ikyCzO3Q18tJKo3ZYvQ/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5d6FosPwEDRTRBTjwXGD6dqSjDGXY4UCJqnIsRbIeKM=; b=qxYFNd8phRUgccbYLiG3sViy4m7b62o7d8CIkMl6sGRyJENSdVLidsCOwez4tRwAMkP990n/a9FNTUNDVCtwH6ZqtbAVKwaeWpMBTkbqnLN7tP5N1FaUkUjzM63WGz/wG//MD0g8wtK8HfwKeFKgysvS/GC8+BUYD5iKc4BBZKbc+nspa5ilMTbf0nKZTbQaiVjaQV5NgW05TkacE0YtOTIz/gLQDiED2RJ4Bbf5QYnf4QpIh/NcBG1VIyeJ+K0D+gaWa3kUdanhIMnQDBuQlBzfJ72+hpTRd4zJTGtP6bI9VYWMtHve30fibTw877RpoPeu4cPmbkBOIlL5ZULijw== Received: from VI1EUR05FT021.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::41) by VI1EUR05HT173.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::472) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24; Wed, 26 Aug 2020 18:18:14 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:fc12::45) by VI1EUR05FT021.mail.protection.outlook.com (2a01:111:e400:fc12::284) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Wed, 26 Aug 2020 18:18:14 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:FC079674DD0FF8CA6980DB8D5DC60068B170544EB368ED5CB3D2FE542B25D8DF; UpperCasedChecksum:A6F8559BDB6AF686A0B4D83E0BF0FFABCA28D0221DD1E7C2FC0F3B5FDE7205A8; SizeAsReceived:8974; Count:49 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea%6]) with mapi id 15.20.3305.026; Wed, 26 Aug 2020 18:18:14 +0000 Subject: Re: dual boot win10 and FreeBSD From: Manish Jain To: doug@safeport.com, Aryeh Friedman Cc: FreeBSD Mailing List References: Message-ID: Date: Wed, 26 Aug 2020 23:48:24 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BM1PR01CA0106.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::22) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <74f708ec-7f51-2ea2-20d7-7510042c8acc@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (103.195.202.214) by BM1PR01CA0106.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Wed, 26 Aug 2020 18:18:13 +0000 X-Microsoft-Original-Message-ID: <74f708ec-7f51-2ea2-20d7-7510042c8acc@hotmail.com> X-TMN: [CJa1g4U9U2A8jRAINH1af2ctlq6eAmzzjd7SGSV6Vzw=] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 67d81ff4-4008-4912-f2b1-08d849ec65cc X-MS-TrafficTypeDiagnostic: VI1EUR05HT173: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: h6/sE8vvC+0p/PkFhDJTE7ezkKYGaZdgqB624MeuiI2r3rTpHL2Dlk+T3T8luOGtbr4h1c93O2idm/hPci5knoVau5F8XU11SgJouHWLyGdOj8hOLvvE0E4YCzO+i8yz3jHjjImLhgSiGfldmhkFfDwK2CHmPuSUjSPKQJGDrLqA+dXa/sUKCHLK4nlvPNPhPA184Ba8d7IqoXiuRfUnMQ== X-MS-Exchange-AntiSpam-MessageData: YO6zsx73kOg81hEzfuyz27XwVKDGgE5btV1vjy/CJOLbtjZDM75DeqD3sslyZaw2ZwJTKarqCYFLmRZeuACzSdHBdRMqwYOYgDxqeNZF2/Cr8vt27z9/hbyu5ZZHsBGbpAk5/OOI0JJH9MTpSCfdcw== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67d81ff4-4008-4912-f2b1-08d849ec65cc X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2020 18:18:14.4394 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT021.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT173 X-Rspamd-Queue-Id: 4BcDz93ZGWz4S3p X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=qxYFNd8p; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 2a01:111:f400:7e1b::81d as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [8.62 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(0.00)[+ip6:2a01:111:f400::/48]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.26)[-0.258]; FREEMAIL_TO(0.00)[safeport.com,gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[103.195.202.214:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[103.195.202.214:received]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.44)[0.437]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.94)[0.943]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 18:34:16 -0000 On 2020-08-26 23:32, Manish Jain wrote: > 6) Boot with your W10 DVD. This probably needs elaboration. If you using a DVD, it must be booted non-UEFI. If you intend to use a memstick, you will have to burn the W10 image to the memstick using Rufus with the MBR+BIOS configuration. Then the memstick itself must be booted non-UEFI. From owner-freebsd-questions@freebsd.org Wed Aug 26 19:51:17 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CEB53BAB94 for ; Wed, 26 Aug 2020 19:51:17 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcGh42v8Tz4ZgR for ; Wed, 26 Aug 2020 19:51:16 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 26 Aug 2020 12:51:08 -0700 Subject: Re: dual boot win10 and FreeBSD To: freebsd-questions@freebsd.org References: <9750aafa-96e4-9429-2ca9-b540fe73e729@holgerdanske.com> From: David Christensen Message-ID: <0c1a48f6-6ba4-6087-001c-e30b8487cc98@holgerdanske.com> Date: Wed, 26 Aug 2020 12:51:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BcGh42v8Tz4ZgR X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.55 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.76)[0.756]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.97)[0.969]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.93)[0.928]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 19:51:17 -0000 On 2020-08-26 02:39, Aryeh Friedman wrote: > On Wed, Aug 26, 2020 at 5:24 AM David Christensen > wrote: > >> On 8/25/20 9:27 PM, Aryeh Friedman wrote: >>> I have a working FreeBSD machine (that needs to stay working wo/ any >>> reinstalls) and want to add Windows 10 on a second SSD to the setup. >> What >>> is the safest way to set this up for dual boot (starting with installing >>> Windows). >> >> Laptop or desktop? >> > > Desktop > > >> >> BIOS or EUFI? >> > > UEFI > > >> >> Secure boot? >> > > Don't care I use 2.5" SATA SSD's for my system drives and have installed mobile racks in all of my desktops and servers. I run one disk at a time, with one operating system each. This approach eliminates dual-boot issues. I recommend that you do the same. David From owner-freebsd-questions@freebsd.org Wed Aug 26 22:06:19 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8098C3BE806 for ; Wed, 26 Aug 2020 22:06:19 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcKgt5k9kz3Vqx for ; Wed, 26 Aug 2020 22:06:18 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: by mail-lj1-x236.google.com with SMTP id h19so4117272ljg.13 for ; Wed, 26 Aug 2020 15:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=rmNgyernRwrQnxLHeb9ut7kmQgk+83ADrInO06LolpY=; b=Np380r2SjbtSsJNU6GRlgOxMXOUyzcInbo+lNH4Xe/QoE5ArFtBbh5W6B8NB4kB0Ld SsypraCofRTQfMZs1GUfecIcaFdFB1+0CJq7eRQYlT23RDk9nIktVwwkrFpLYMnsxFmV qbmgHUABCqeKTvWqZSteN5ZFmhoOCivIWH5005bZ6g+94kuVhmqFit8Jj1MUWNckaGBf ORwQBpB/RMChvE7LsTdxJylV9mLUZoKIyIXJNRCgL9bk5L9JJWQ42xCtdC+73+kQFTK7 r1vv4LQuvtZiBXbf7fDhYX/HFaLmipgFtfDoO2vr9JaLgvz2AsnJWL/1fzb1pO9tGnKV kTrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=rmNgyernRwrQnxLHeb9ut7kmQgk+83ADrInO06LolpY=; b=CI3uIJKu1F9UMKEdkTNCTky5FDsaJpsbdHuAyHe922RYPKecDwQghUeuiXmGmot+yL rzNNQly/qIb/0cdLBgmmK0MWClSfLjKQl3awAkVwNDUY6DpVoeEiU2dljb8I5GCgyAdw qpG1nlPRZeXwjI6LIzNYzaSLu0vTIz32VpPr6i3nhUMnd1zooullcvq/CgdnVzSxHCov pahyv6Uly4aNmclQtk3Atj6cB9ikr9rWnigAQCIZghkKcHU3WwwK8D5omLWp88gXWyj4 nh4BdawN8BeXPhOeK+AoejkeCS0zKyMel2qehVzFbSuSiHSOKEtysZ8xD7xTovgv2TID 9KYw== X-Gm-Message-State: AOAM532HskKV05PlSXZYlR/rl0v5Yy3aIgJgvcZ0viIYoTDcbpZmYPjs mIjz+DS2rorLVNkEgDQBkrM= X-Google-Smtp-Source: ABdhPJzuKvRcHNXgiBTWg3q7EPlo9wHFKHBYQApDtJsYtl6Bl0Pw9CXcdab+ydcvjyifnSUFvLLAcw== X-Received: by 2002:a2e:9811:: with SMTP id a17mr7342930ljj.21.1598479575901; Wed, 26 Aug 2020 15:06:15 -0700 (PDT) Received: from [192.168.0.10] (94-172-76-61.dynamic.chello.pl. [94.172.76.61]) by smtp.gmail.com with ESMTPSA id p9sm24035ljg.76.2020.08.26.15.06.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 15:06:15 -0700 (PDT) From: Tomasz Kowalczyk Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_3D1387CE-7E5B-4169-A613-B319A1D3E5FE"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.6\)) Subject: Re: dual boot win10 and FreeBSD Date: Thu, 27 Aug 2020 00:06:07 +0200 In-Reply-To: Cc: FreeBSD Mailing List To: Aryeh Friedman References: X-Mailer: Apple Mail (2.3445.9.6) X-Rspamd-Queue-Id: 4BcKgt5k9kz3Vqx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Np380r2S; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kowalcztfbsd@gmail.com designates 2a00:1450:4864:20::236 as permitted sender) smtp.mailfrom=kowalcztfbsd@gmail.com X-Spamd-Result: default: False [-4.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.30)[-0.299]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.004]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[94.172.76.61:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.013]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::236:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 22:06:19 -0000 --Apple-Mail=_3D1387CE-7E5B-4169-A613-B319A1D3E5FE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Well, its not really a big problem. I would make Windows USB stick, than just install on second SSD. If u boot machine on UEFI to install Windows it just add =E2=80=9CWindows = Bootloader=E2=80=9D to UEFI entries. It should not interfere with FreeBSD install in any way, except changing = boot priority, as Windows is setting itself as default. U most likely going to need to press F12 or any bootmenu key when your = system starts, to change boot device. > On 26 Aug 2020, at 06:27, Aryeh Friedman = wrote: >=20 > I have a working FreeBSD machine (that needs to stay working wo/ any > reinstalls) and want to add Windows 10 on a second SSD to the setup. = What > is the safest way to set this up for dual boot (starting with = installing > Windows). >=20 > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" --Apple-Mail=_3D1387CE-7E5B-4169-A613-B319A1D3E5FE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEN2F8FRI0SA4ORsodiUPrywDOfkgFAl9G3M8ACgkQiUPrywDO fkiMRA//QnUlCjAFH8wOSpImGcGk7JSES5LS+5+w10qvUJLSPZCc8VnE/nvNfHxk SO0DbTnmaRaBYAHvATm8Mjf0fhlxssNDFOYalcBT4enyTU/ZPpw1Y98GoAW5Jc8w i2gWQclqqjm4+44bNVJiV+d4L0H2zUx83J4DjX/vwu0f5Z8ZMz1tMBAroztmG+6H WS9VmzaLqBqZg21S+tYpwA4w6DzVzuGkOow3so/3YEtVGkcLIk1IlueSmpDUbgCN NxI+TmLbYqdDbXuLqFNFBUKA6bexYRMGdozZFtkUjgcgMkd1/twpj8UFavEWCxtX XJSHna95WGV/PKlJsS4y85Xqm7TXJ6Pes2oMlPKg4v9tMvWqh/8D6VssnNwgeQrU Xvd9PRuMVaAbLkfIOBrr0Wt7LG05OVa6YsQAct7+X960xH5U3JPjLPOqe6Rzlldw HINmHGbWR/tVqpmPirS2E4gNYBgsQ97l9od4exjOlafSYL07YOyL1CxK7l6Q8yZd MFsBOtA4PnkDBIGhGcXKACXRBUJZnfkIOP127//qjr4aeKkJDtUSXB1pN8z8XT/D kRgya3hdTDD4PhnsOB0McBw+k8SPqy0a7Kpsi7DMf7R0Q6MYhC1/QXGUnCiMNfdM ZE7EdnEmc2Nsb6d4n+A2w75lKTaD2m+1h7FqxA+UxBP24iuWEpU= =AHJu -----END PGP SIGNATURE----- --Apple-Mail=_3D1387CE-7E5B-4169-A613-B319A1D3E5FE-- From owner-freebsd-questions@freebsd.org Wed Aug 26 22:38:07 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 214E83BF784 for ; Wed, 26 Aug 2020 22:38:07 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcLNZ1knGz3XS3 for ; Wed, 26 Aug 2020 22:38:05 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: by mail-lj1-x231.google.com with SMTP id m22so4212188ljj.5 for ; Wed, 26 Aug 2020 15:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xNvIzlkj8lWVOsfCtUR7mmFxkBHXudJE0cbqD7NwHNg=; b=CQJUm0zZxmiFr1JpS9WASb5Nv0kd63w30eU2W9zr9ACIKLajJFhBFAzUJZfKJztGiC FpFdzA9llhrb9O3KEntKKh1vCnPhVHSVyyOcbzBHm85TpOua+3p6lqOrd+NmWYrPPVLI oCa8Ksw+okJzZhhNtMgxmJTRqHKkiW4Bd0UI2xaxK7jU2Bs682C8lXYPiIOWRAFXEM5l Q0ui100EAIyCfHE//o0UfGp4Fi8aBGTODh6/g1H+XXPGMrQ8SXS5e19vPqfZQdB2NXU1 k1lCFLtvSglu9qu7A1X05TO7HSn++mluOvhQ79q01FGDsWxcibyqlHGl5tfRe38+37gT mAbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xNvIzlkj8lWVOsfCtUR7mmFxkBHXudJE0cbqD7NwHNg=; b=QGPZOiK09GdAwG/cXmz21S+87fvv+FbSgmoy9SMThpnzcXC74oikuKjk5dNqgghFDz FyuHiJP+JePnkh/enuxOS7tsRDgfPdl2tH4azDvVXOh2ny7AtxSKtIKiJjjgsQLaQDUx l3fGDcnvfGBprNl2Dcida+M3v36DjBXjTb6E/W4JBejn0Kl410xS6Bz7BNGm6B802+to 1TsOEQ8lbmVTcUXV58GfJBhLGIqKqF49PTrsP7KN6pAYxFKZ9dgU6DCYyJrdbsWe6FdD xjbwq7wQOGX5SdP1yDqVdAH+TGyQQRmYteAnqwIu/xkRaSSWqUKVb00Y0FSF+95yFclC Bztg== X-Gm-Message-State: AOAM53133mSQfq0CzHunhD1qE9uXZipUgWQvokC915uHhiddlIRDqs/y kfFlHQpaFaE/WiOKJxa103GxnZxI71g= X-Google-Smtp-Source: ABdhPJxBXqofsOLViiP8+nzfDO6jNlLG4ve7Od4IndTnA8kDDFmSZCIm86H2iXYbLF9jhZgGLGBpUw== X-Received: by 2002:a2e:320b:: with SMTP id y11mr8251878ljy.92.1598481483584; Wed, 26 Aug 2020 15:38:03 -0700 (PDT) Received: from [192.168.0.10] (94-172-76-61.dynamic.chello.pl. [94.172.76.61]) by smtp.gmail.com with ESMTPSA id m25sm38991ljg.79.2020.08.26.15.38.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 15:38:03 -0700 (PDT) From: Tomasz Kowalczyk Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_26FC7E51-BF08-41F9-8386-8E97FF85A162"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.6\)) Subject: Re: Getting Radeon graphics card to work Date: Thu, 27 Aug 2020 00:38:01 +0200 In-Reply-To: Cc: freebsd-questions@freebsd.org To: D'Arcy Cain References: X-Mailer: Apple Mail (2.3445.9.6) X-Rspamd-Queue-Id: 4BcLNZ1knGz3XS3 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CQJUm0zZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kowalcztfbsd@gmail.com designates 2a00:1450:4864:20::231 as permitted sender) smtp.mailfrom=kowalcztfbsd@gmail.com X-Spamd-Result: default: False [-6.12 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; HAS_ATTACHMENT(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.51)[-1.514]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[94.172.76.61:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.015]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::231:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 22:38:07 -0000 --Apple-Mail=_26FC7E51-BF08-41F9-8386-8E97FF85A162 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Im not expert in new drm drivers, but I used intel last month on Linux. Do you have: Options =E2=80=9CBusID=E2=80=9D =E2=80=9Csomething=E2=80=9D In your xorg.conf ? You=E2=80=99r =E2=80=98something=E2=80=99 will be = most likely 3:0:0. > On 25 Aug 2020, at 17:48, D'Arcy Cain wrote: >=20 > I am getting "Cannot run in framebuffer mode. Please specify busIDs = for all > framebuffer devices" on my new laptop. I search the net but none of = the > suggestions seem to help. I am running 12.1-RELEASE-p8. Here is what > "pciconf -lv" says: >=20 > vgapci0@pci0:3:0:0: class=3D0x030000 card=3D0x18211043 = chip=3D0x15d81002 > rev=3D0xc4 hdr=3D0x00 > vendor =3D 'Advanced Micro Devices, Inc. [AMD/ATI]' > device =3D 'Picasso' > class =3D display > subclass =3D VGA >=20 > Here is what I see in dmesg: >=20 > [drm] radeon kernel modesetting enabled. > CPU: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx (2595.20-MHz = K8-class CPU) >=20 > I tried adding this to /usr/local/share/pciids/pci.ids but I don't = know what > to put for the subdevice. I tried just putting zeroes but that didn't > change anything: >=20 > 15d8 Picasso > 1002 0000 Asus VivoBook > 103c 8615 Pavilion Laptop 15-cw1xxx > 17aa 5124 ThinkPad E595 >=20 > I have tried kldloading radeonkms, i915kms and amdgpu. I believe it = is that > last one that I need but none of them helped. >=20 > Can anyone tell me if this arrangement should be able to work? >=20 > -- > D'Arcy J.M. Cain | Democracy is three = wolves > http://www.druid.net/darcy/ | and a sheep voting on > +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. > IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net >=20 > Disclaimer: By sending an email to ANY of my addresses you > are agreeing that: >=20 > 1. I am by definition, "the intended recipient". > 2. All information in the email is mine to do with as I see > fit and make such financial profit, political mileage, or > good joke as it lends itself to. In particular, I may quote > it where I please. > 3. I may take the contents as representing the views of > your company if I so wish. > 4. This overrides any disclaimer or statement of > confidentiality that may be included or implied in > your message. >=20 --Apple-Mail=_26FC7E51-BF08-41F9-8386-8E97FF85A162 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEN2F8FRI0SA4ORsodiUPrywDOfkgFAl9G5EkACgkQiUPrywDO fkiHiA/+MyZISoMFfcwQB3PMf3Y1CTx/iQXQWlb1iD+D1VTo8rsj6dN4e9UlZDi4 xYLuF5c4D4rRBen7rD79EJqNR9H64rt8nlNnXGBmJsEPQVK8gS9aU5mNfNpHOh+V PqYCIh5CPUEM/9QHxc+fDtazm/iJ9m+l7rDSHx7hpPBkOoSy+zF1Xc+EZEc06Myk od6ssHtW/3k/eIT0o+lTriA+7RwKfFjq3NE10nIkJPF89q889f+gVaht3e3zfsEG bTgq2OqrVmMa4S4jvtvsZoJ/cihGvKubrPEv6UddNRBjaNOC9FUuRCyy0jUwPtMV EYtwsIwe2qSPiv6iORzMxMwc+qyLGyYDx5JyT4Ycl8/ASzsEJXfq9E95JKT01QJC KLSnK2w+Z5tYMAyu9FXAZvYUU6YFoxmr0+TyuTVF92DpcHuOJgpH5jTvqG/BMey8 KiLg+ICBlawhoDkkJtkSUZcF36daf1BXgxGSijSavkG4vr+yFyI+FHcccnjfncmG rZ9jgGsxrdoavwNy2n1ULjVEPo+nL0HQc5rULk3HfReYFRUdTuL/LUSXoA9bRuLu mvoZl7sshRLTZ39JdVdPZw8/xGWnbOwi3Drev05wFOoi1cVKhkgBxCHLV+Rwz8ob MpAvO+lpuelYVfDFMtV9kjvtjfydLYhpmkbJEF7yTmDk/6W4Yj4= =6nfA -----END PGP SIGNATURE----- --Apple-Mail=_26FC7E51-BF08-41F9-8386-8E97FF85A162-- From owner-freebsd-questions@freebsd.org Thu Aug 27 04:33:04 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AAF373C64C0 for ; Thu, 27 Aug 2020 04:33:04 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcVG70WMzz476P for ; Thu, 27 Aug 2020 04:33:02 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 07R4WtYh074233 for ; Wed, 26 Aug 2020 22:32:55 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: install, update, pkgs consistency To: FreeBSD Mailing List Message-ID: <8b959f78-5e7e-d019-5d97-8a60bcfe477a@dreamchaser.org> Date: Wed, 26 Aug 2020 22:31:30 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Wed, 26 Aug 2020 22:32:55 -0600 (MDT) X-Rspamd-Queue-Id: 4BcVG70WMzz476P X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-1.46 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.04)[0.037]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.71)[-0.706]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.49)[-0.492]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 04:33:04 -0000 I'm confused about the synchronization between a sys install, sys update, and packages (as opposed to ports). It was my understanding that packages are built to be consistent with the OS, so that once the OS version is installed, any "pkg install" is more-or-less guaranteed to be consistent and compatible with the OS and other packages being installed. true? If I install a package shortly after installing the OS, then some months later delete the package and install it again, will the same version be installed (assuming I have not updated the system)? When the OS is upgraded, e.g. for security patches using freebsd-update, does the package collection remain unchanged, or is it updated as well? By updated I don't mean the packages installed on the machine at the time of the update, but the packages which will be installed should a "pkg install" be done. If I install packages, then some months later update the system (freebsd-update), could some of the previously installed packages no longer function properly? If I install packages, then some months later update the system, then install more packages, could some of the new packages not function (or not install) because of incompatibilities with previously installed packages? Why does /var/cache/pkg show multiple versions, some dated after the date of the installed system, if pkgs are supposed to be tied to the original sys install or update? In this case, the installed system was built on 2020-01-28, The files in /var/db/freebsd-update are dated 2020-03-14. But there are multiple package versions in the cache after those dates: uname -a: ...FreeBSD 11.3-RELEASE-p6 #0: Tue Jan 28 09:55:39 UTC 2020 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 /var/db/freebsd-update: 14 Mar 14 17:16 f465c37...-rollback -> install.IUk7v0 12288 Mar 14 17:16 files 512 Mar 14 17:16 install.IUk7v0 800 Jan 28 2020 pub.ssl 75 Mar 14 17:15 serverlist 75 Mar 14 17:15 serverlist_full 25 Mar 14 17:15 serverlist_tried 150 Mar 14 17:15 tINDEX.present 112 Mar 14 17:15 tag /var/cache/pkg: 1593004 Jan 29 2020 bash-5.0.11-518f921f70.txz 26 Mar 14 17:07 bash-5.0.11.txz -> bash-5.0.11-518f921f70.txz 1591908 May 13 19:29 bash-5.0.16-e0c962f411.txz 26 Jun 3 17:24 bash-5.0.16.txz -> bash-5.0.16-e0c962f411.txz 1592200 Aug 7 19:26 bash-5.0.17-254bcebb38.txz 26 Aug 26 10:57 bash-5.0.17.txz -> bash-5.0.17-254bcebb38.txz I recall seeing something about a "quarterly snapshot" of ports. Is there a consistent quarterly snapshot of pkgs and ports, so that pkgs and ports from that snapshot should be able to be intermixed? If so, how does one use it? Finally, is there an easy way to purge obsolete files from /var/cache/pkg? I don't see anything in man pkg indicating how to do this. Thanks, Gary From owner-freebsd-questions@freebsd.org Thu Aug 27 06:47:41 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 84DB03C8E6A for ; Thu, 27 Aug 2020 06:47:41 +0000 (UTC) (envelope-from 4250.82.1d4c2000a2b27a3.55de4ff15bb3404860178b924d3b7113@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcYFR3r9Kz4GRJ for ; Thu, 27 Aug 2020 06:47:39 +0000 (UTC) (envelope-from 4250.82.1d4c2000a2b27a3.55de4ff15bb3404860178b924d3b7113@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1598510860; x=1601102860; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=SoX2zj3oiK+spzn8gMC8uu92261ujtrOiAHfnZCuW5s=; b=J3GEdM8MHwZ1BJHKu/pugVPZ2ySEb5k7DQ0Cj4F5tf0PLtZP15nzupx29uad41sSfXifkqyVNjLdz9U40tepnMyNOXeCk28CP9U9QshffJSrKTpvKc5ot08Lzd/oPXfDHqhUeZz/KozGTJnbFsk8T3nGvB1DrV2lBNEaYKkX8RM= X-Thread-Info: NDI1MC45Mi4xZDRjMjAwMGEyYjI3YTMuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-east-1.aws.in.socketlabs.com (r2.us-east-1.aws.in.socketlabs.com [142.0.191.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 27 Aug 2020 02:47:37 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 27 Aug 2020 02:47:36 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kBBh8-000G28-Pq; Thu, 27 Aug 2020 07:47:34 +0100 Date: Thu, 27 Aug 2020 07:47:34 +0100 From: Steve O'Hara-Smith To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Subject: Re: install, update, pkgs consistency Message-Id: <20200827074734.dc84d37f3710a80e5f638bb3@sohara.org> In-Reply-To: <8b959f78-5e7e-d019-5d97-8a60bcfe477a@dreamchaser.org> References: <8b959f78-5e7e-d019-5d97-8a60bcfe477a@dreamchaser.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BcYFR3r9Kz4GRJ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=J3GEdM8M; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c2000a2b27a3.55de4ff15bb3404860178b924d3b7113@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c2000a2b27a3.55de4ff15bb3404860178b924d3b7113@email-od.com X-Spamd-Result: default: False [-2.87 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.96)[-0.964]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; RWL_MAILSPIKE_VERYGOOD(0.00)[142.0.176.198:from]; NEURAL_HAM_LONG(-1.00)[-0.998]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; NEURAL_HAM_SHORT(-1.21)[-1.208]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c2000a2b27a3.55de4ff15bb3404860178b924d3b7113@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c2000a2b27a3.55de4ff15bb3404860178b924d3b7113@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 06:47:41 -0000 On Wed, 26 Aug 2020 22:31:30 -0600 Gary Aitken wrote: > I'm confused about the synchronization between a sys install, sys update, > and packages (as opposed to ports). > > It was my understanding that packages are built to be consistent with the > OS, so that once the OS version is installed, any "pkg install" is > more-or-less guaranteed to be consistent and compatible with the OS and > other packages being installed. true? Essentially yes - FreeBSD maintains ABI compatibility throughout the life of a major release (barring bugs and mistakes such as the DRM one between 12.0 and 12.1) so packages are built to the major release ABI. The ports tree from which the packages are built is continuously updated but quarterly snapshots are taken and used to make quarterly package updates. You can choose to follow the quarterly snapshots or live on the bleeding edge - by default the quarterly snapshots are what you get, controlled by /etc/pkg/FreeBSD.conf. > If I install a package shortly after installing the OS, then some months > later delete the package and install it again, will the same version be > installed (assuming I have not updated the system)? Probably not, you will get the version in the latest quarterly snapshot. > When the OS is upgraded, e.g. for security patches using freebsd-update, > does the package collection remain unchanged, or is it updated as well? It is updated independently of the OS at quarterly intervals for the snapshots and continuously for the latest. > If I install packages, then some months later update the system > (freebsd-update), could some of the previously installed packages > no longer function properly? Only if you cross a major version boundary or there's a screwup in maintaining ABI compatibility (those are very rare - I only recall one). > If I install packages, then some months later update the system, then > install more packages, could some of the new packages not function (or not > install) because of incompatibilities with previously installed packages? The install will also perform any necessary updates. > Why does /var/cache/pkg show multiple versions, some dated after the date > of the installed system, if pkgs are supposed to be tied to the original > sys install or update? Quarterly updates - 'nuff said ? -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Aug 27 11:50:32 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 41E363CEBF9 for ; Thu, 27 Aug 2020 11:50:32 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bcgyt5kgsz4W10 for ; Thu, 27 Aug 2020 11:50:30 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qv1-xf33.google.com with SMTP id o2so2441034qvk.6 for ; Thu, 27 Aug 2020 04:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=/MMwAQC+uElj2q2j17pKfJUZ87/zYTbSLmImw8Hub5k=; b=Y6DPn952nWbPJD1GN9MF2xp4KLG1GlqmowrXxfV8GqEs51oktlUypHFXPZsQ58gSMv zEXWxv29xpeWShj6xg3mGytyxLXKX0EomBmiv4bcTLkQO9Qocg/spSePiGqOHFMPcB1N 1xtgM65VxXZYToELKkkCllWu0fzj1QXg9bnRhBzCNV2rfHcDBVoZCmxKjwZ12C51qnm+ ++V00N9Vs9h/1HoEzd2nHSgcXiyJ0cyOdqC02ajyi/z0+jikN0E+m+GsxYYy0yFkPQ1q /85Lrv4VF1M+R9I5WLPnn4Ci3zXa5jcvWjNK6I5xNnyYRKpLdGRVm4VdERk/UPkvwtxP f9JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=/MMwAQC+uElj2q2j17pKfJUZ87/zYTbSLmImw8Hub5k=; b=i0W2inbF7CHxiIbmxgkMKb8U80CKLFhxaCk24wXVSQetquAdacRv44i6XQVWNUYKQE 8inw523yvEjvgWcLMik1LgA1j1E8Rem90L6c335rGKmV35dkfkOyq/ZGTT0oWPG3cxRV 0MSv6IRN0GavOYY4KD3nVDjS2hg8cq3HuW3f6TsdMJ28F0rrYlGQnC6ZbYtSSsebat71 dp71eS17DmjHzD3MWQzd/gk8w+6UoE0ACw61OLyCDQPvocYPfjm7pv6JhDKhcsjQfOSq 7LuV1JD6rFIANAHY5dztfyIMYnI6L0sMiiDPDDIuONIW5m5rMkxJUMgVSPYggEjTRv0n s95w== X-Gm-Message-State: AOAM530pw6Sp1n/UfDdZCqramGD+3nTIaMKRB64+bpvS44k/n4PmJvKk 1OYIQFWT60fjsxbZru6M785KgiVzobE= X-Google-Smtp-Source: ABdhPJxXaZbgqCgN6fU7fVYmK+adq0ea0XIha0ZZjUcy2slOn3V/zOl5ZeTlNxbqpJRF0wgZxCqAvg== X-Received: by 2002:ad4:5252:: with SMTP id s18mr18498341qvq.125.1598529028976; Thu, 27 Aug 2020 04:50:28 -0700 (PDT) Received: from [10.0.10.8] (cpe-65-25-51-0.neo.res.rr.com. [65.25.51.0]) by smtp.googlemail.com with ESMTPSA id p17sm1520348qkj.69.2020.08.27.04.50.27 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Aug 2020 04:50:28 -0700 (PDT) Message-ID: <5F479E04.1010605@gmail.com> Date: Thu, 27 Aug 2020 07:50:28 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Jail question: packages with relative symlinks References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> In-Reply-To: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bcgyt5kgsz4W10 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Y6DPn952; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::f33 as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-3.17 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.47)[-0.468]; RECEIVED_SPAMHAUS_PBL(0.00)[65.25.51.0:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.70)[-0.699]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f33:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 11:50:32 -0000 snip > > p.s. Lucas wrote some good books that cover jails: > > [1] https://mwl.io/nonfiction/os#af3e > > [2] https://mwl.io/nonfiction/os#fmjail The jail book is a waste of your money. Half of it is about a software tool that has nothing to do with native jails. The other half is a copy of stuff you can download from the internet. The biggest problem is none of the things he talks about in the book, did he test to see if they are true. I was fooled by the subject not by the content. It's not worth what you pay for it. It's a scam. From owner-freebsd-questions@freebsd.org Thu Aug 27 14:28:24 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 30DFB3B4239 for ; Thu, 27 Aug 2020 14:28:24 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BclT31WbGz3TFh for ; Thu, 27 Aug 2020 14:28:22 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 07RESKXK076152; Thu, 27 Aug 2020 08:28:20 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: install, update, pkgs consistency To: "Steve O'Hara-Smith" Cc: FreeBSD Mailing List References: <8b959f78-5e7e-d019-5d97-8a60bcfe477a@dreamchaser.org> <20200827074734.dc84d37f3710a80e5f638bb3@sohara.org> From: Gary Aitken Message-ID: <3a119771-f9c2-ed18-cd06-9726d6830ae5@dreamchaser.org> Date: Thu, 27 Aug 2020 08:26:55 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200827074734.dc84d37f3710a80e5f638bb3@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Thu, 27 Aug 2020 08:28:20 -0600 (MDT) X-Rspamd-Queue-Id: 4BclT31WbGz3TFh X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-1.90 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.87)[-0.872]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_SPAM_SHORT(0.21)[0.213]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.94)[-0.941]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 14:28:24 -0000 On 8/27/20 12:47 AM, Steve O'Hara-Smith wrote: > On Wed, 26 Aug 2020 22:31:30 -0600 > Gary Aitken wrote: > >> I'm confused about the synchronization between a sys install, sys update, >> and packages (as opposed to ports). >> >> It was my understanding that packages are built to be consistent with the >> OS, so that once the OS version is installed, any "pkg install" is >> more-or-less guaranteed to be consistent and compatible with the OS and >> other packages being installed. true? > > Essentially yes - FreeBSD maintains ABI compatibility throughout > the life of a major release (barring bugs and mistakes such as the DRM one > between 12.0 and 12.1) so packages are built to the major release ABI. > > The ports tree from which the packages are built is continuously > updated but quarterly snapshots are taken and used to make quarterly > package updates. You can choose to follow the quarterly snapshots or live > on the bleeding edge - by default the quarterly snapshots are what you get, > controlled by /etc/pkg/FreeBSD.conf. > >> If I install a package shortly after installing the OS, then some months >> later delete the package and install it again, will the same version be >> installed (assuming I have not updated the system)? > > Probably not, you will get the version in the latest quarterly > snapshot. > >> When the OS is upgraded, e.g. for security patches using freebsd-update, >> does the package collection remain unchanged, or is it updated as well? > > It is updated independently of the OS at quarterly intervals for > the snapshots and continuously for the latest. > >> If I install packages, then some months later update the system >> (freebsd-update), could some of the previously installed packages >> no longer function properly? > > Only if you cross a major version boundary or there's a screwup in > maintaining ABI compatibility (those are very rare - I only recall one). > >> If I install packages, then some months later update the system, then >> install more packages, could some of the new packages not function (or not >> install) because of incompatibilities with previously installed packages? > > The install will also perform any necessary updates. > >> Why does /var/cache/pkg show multiple versions, some dated after the date >> of the installed system, if pkgs are supposed to be tied to the original >> sys install or update? > > Quarterly updates - 'nuff said ? Thank you! Are there semi-definite dates for quarterly updates, or some way to determine when one was last made? Is there a way to force a ports tree to be from the last or current quarterly update? Gary From owner-freebsd-questions@freebsd.org Thu Aug 27 15:16:58 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F2A73B5EE1 for ; Thu, 27 Aug 2020 15:16:58 +0000 (UTC) (envelope-from 4250.82.1d4c2000a3b95c0.5dbfbb184fc5971b1ab7111152ab6d82@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcmY53crZz3XnT for ; Thu, 27 Aug 2020 15:16:57 +0000 (UTC) (envelope-from 4250.82.1d4c2000a3b95c0.5dbfbb184fc5971b1ab7111152ab6d82@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1598541418; x=1601133418; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=R97gyHqr/sZOaa5nCxwQ729YiL9p81/NRm0i87vQ1XU=; b=Sk87n3PoGNxkoPlQmUTA9V4kPZhpBnsS/qc8+44BSDMWktjqQc7nyGLt8msoUTG5LL/Q8i4z6KPkiQhmvHuopcotttcwg8JYOkwf/xYIUazjLExJQHOj6AJeNROo3QHUYlyt94gQgZJDvaIGGSjHhJPxlL/aMFTFK0Ue+glx7XE= X-Thread-Info: NDI1MC45Mi4xZDRjMjAwMGEzYjk1YzAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 27 Aug 2020 11:16:46 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 27 Aug 2020 11:16:45 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kBJdr-000LYO-O9; Thu, 27 Aug 2020 16:16:43 +0100 Date: Thu, 27 Aug 2020 16:16:43 +0100 From: Steve O'Hara-Smith To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Subject: Re: install, update, pkgs consistency Message-Id: <20200827161643.a0303c73c388784721d1af2a@sohara.org> In-Reply-To: <3a119771-f9c2-ed18-cd06-9726d6830ae5@dreamchaser.org> References: <8b959f78-5e7e-d019-5d97-8a60bcfe477a@dreamchaser.org> <20200827074734.dc84d37f3710a80e5f638bb3@sohara.org> <3a119771-f9c2-ed18-cd06-9726d6830ae5@dreamchaser.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BcmY53crZz3XnT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=Sk87n3Po; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c2000a3b95c0.5dbfbb184fc5971b1ab7111152ab6d82@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c2000a3b95c0.5dbfbb184fc5971b1ab7111152ab6d82@email-od.com X-Spamd-Result: default: False [-2.44 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.03)[-1.030]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; RWL_MAILSPIKE_VERYGOOD(0.00)[142.0.176.198:from]; NEURAL_HAM_LONG(-1.00)[-0.999]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; NEURAL_HAM_SHORT(-0.71)[-0.707]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c2000a3b95c0.5dbfbb184fc5971b1ab7111152ab6d82@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c2000a3b95c0.5dbfbb184fc5971b1ab7111152ab6d82@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 15:16:58 -0000 On Thu, 27 Aug 2020 08:26:55 -0600 Gary Aitken wrote: > Thank you! You're welcome. > Are there semi-definite dates for quarterly updates, or some way to > determine when one was last made? That I don't know - I think there's a definite date the build starts. > Is there a way to force a ports tree to be from the last or current > quarterly update? There are subversion tags, but I can't seem to locate the details. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/ From owner-freebsd-questions@freebsd.org Fri Aug 28 02:40:01 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D48943CAF70 for ; Fri, 28 Aug 2020 02:40:01 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bd3jD6xzJz3cZ6 for ; Fri, 28 Aug 2020 02:40:00 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 27 Aug 2020 19:39:49 -0700 From: David Christensen Subject: Re: Jail question: packages with relative symlinks To: freebsd-questions@freebsd.org References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> <5F479E04.1010605@gmail.com> Message-ID: Date: Thu, 27 Aug 2020 19:39:44 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <5F479E04.1010605@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bd3jD6xzJz3cZ6 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.36 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.80)[0.803]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.80)[0.800]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.85)[0.853]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 02:40:01 -0000 On 2020-08-27 04:50, Ernie Luzar wrote: > snip >> >> p.s. Lucas wrote some good books that cover jails: >> >> [1] https://mwl.io/nonfiction/os#af3e >> >> [2] https://mwl.io/nonfiction/os#fmjail > > > The jail book is a waste of your money. Half of it is about a software > tool that has nothing to do with native jails. The other half is a copy > of stuff you can download from the internet. The biggest problem is none > of the things he talks about in the book, did he test to see if they are > true. I was fooled by the subject not by the content. It's not worth > what you pay for it. It's a scam. When learning a non-trivial subject, RTFM and STFW can require a lot of effort -- especially the latter, as the WWW is full of incomplete, obsolete, and contradictory information. I am willing to pay a reasonable price for a printed book that contains current information, organizes it, and presents it in a rational order. Lucas writes such books, and I own eleven of them. I do not recall ever encountering an error when entering an example from a Lucas book. (But, I have not entered every command from every book.) When I wanted jails for my SOHO server, I read Lucas and choose the jail(8) option. My server is running 24x7 without issues. I believe I attempted ezjail for a second server, but ran into problems with the software not being unsupported on 12.1-RELEASE (?). I have not tried iocage. David From owner-freebsd-questions@freebsd.org Fri Aug 28 03:00:08 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 21DDD3CBA1F for ; Fri, 28 Aug 2020 03:00:08 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bd48R2mj2z3dXn for ; Fri, 28 Aug 2020 03:00:07 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.87.64]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id D47444E669; Thu, 27 Aug 2020 22:00:00 -0500 (CDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Jail question: packages with relative symlinks From: Valeri Galtsev In-Reply-To: Date: Thu, 27 Aug 2020 21:59:59 -0500 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <14E42F3C-F840-40D1-8887-57519E3D1AF4@kicp.uchicago.edu> References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> <5F479E04.1010605@gmail.com> To: David Christensen X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4Bd48R2mj2z3dXn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [0.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.14)[0.135]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-0.24)[-0.243]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.87.64:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.10)[0.104]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 03:00:08 -0000 > On Aug 27, 2020, at 9:39 PM, David Christensen = wrote: >=20 > On 2020-08-27 04:50, Ernie Luzar wrote: >> snip >>>=20 >>> p.s. Lucas wrote some good books that cover jails: >>>=20 >>> [1] https://mwl.io/nonfiction/os#af3e >>>=20 >>> [2] https://mwl.io/nonfiction/os#fmjail >> The jail book is a waste of your money. Half of it is about a = software tool that has nothing to do with native jails. The other half = is a copy of stuff you can download from the internet. The biggest = problem is none of the things he talks about in the book, did he test to = see if they are true. I was fooled by the subject not by the content. = It's not worth what you pay for it. It's a scam. >=20 > When learning a non-trivial subject, RTFM and STFW can require a lot = of effort -- especially the latter, as the WWW is full of incomplete, = obsolete, and contradictory information. >=20 >=20 > I am willing to pay a reasonable price for a printed book that = contains current information, organizes it, and presents it in a = rational order. Lucas writes such books, and I own eleven of them. >=20 >=20 > I do not recall ever encountering an error when entering an example = from a Lucas book. (But, I have not entered every command from every = book.) >=20 >=20 > When I wanted jails for my SOHO server, I read Lucas and choose the = jail(8) option. My server is running 24x7 without issues. >=20 When I said in my OP "I set up jails by the book" I meant FreeBSD = Handbook, not any of printed books. Thanks a lot, everyone who replied with your suggestions! Valeri >=20 > I believe I attempted ezjail for a second server, but ran into = problems with the software not being unsupported on 12.1-RELEASE (?). >=20 >=20 > I have not tried iocage. >=20 >=20 > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Fri Aug 28 04:19:09 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB1413CD209 for ; Fri, 28 Aug 2020 04:19:09 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bd5vc67t5z3yxG for ; Fri, 28 Aug 2020 04:19:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 27 Aug 2020 21:19:02 -0700 Subject: Re: Jail question: packages with relative symlinks To: freebsd-questions@freebsd.org References: <24d244da-43e4-9a5e-e940-3f183bc5a50e@holgerdanske.com> <5F479E04.1010605@gmail.com> <14E42F3C-F840-40D1-8887-57519E3D1AF4@kicp.uchicago.edu> From: David Christensen Message-ID: Date: Thu, 27 Aug 2020 21:19:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <14E42F3C-F840-40D1-8887-57519E3D1AF4@kicp.uchicago.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bd5vc67t5z3yxG X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.41 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.91)[0.908]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.78)[0.781]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.82)[0.823]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 04:19:09 -0000 On 2020-08-27 19:59, Valeri Galtsev wrote: > > >> On Aug 27, 2020, at 9:39 PM, David Christensen wrote: >> When I wanted jails for my SOHO server, I read Lucas and choose the jail(8) option. > When I said in my OP "I set up jails by the book" I meant FreeBSD Handbook, not any of printed books. Yes, I saw that. Unfortunately, I have found the FreeBSD Handbook to be a mixed blessing -- some subjects are current and others are out of date. Same comment for man pages. af3e and fmjail are both recent. If and when FreeBSD revises jails, I may have to find a new resource. David From owner-freebsd-questions@freebsd.org Fri Aug 28 05:40:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 372713CE6D0 for ; Fri, 28 Aug 2020 05:40:16 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (fournil.foucry.net [95.217.83.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bd7jC0TdBz43Bh for ; Fri, 28 Aug 2020 05:40:14 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (unknown [192.168.12.17]) by mail.foucry.net (Postfix) with ESMTP id EFE213400D for ; Fri, 28 Aug 2020 05:39:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at foucry.net Received: from mail.foucry.net ([192.168.12.17]) by mail.foucry.net (mail.foucry.net [192.168.12.17]) (amavisd-new, port 10024) with ESMTP id IZZpfNpAY8ap for ; Fri, 28 Aug 2020 05:39:46 +0000 (UTC) Received: by mail.foucry.net (Postfix, from userid 58) id 4B0C933A86; Thu, 27 Aug 2020 19:57:00 +0000 (UTC) Received: from mithril.localdomain (2a01cb0400bb09004aa472fffe9e65a1.ipv6.abo.wanadoo.fr [IPv6:2a01:cb04:bb:900:4aa4:72ff:fe9e:65a1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id E450D33A82; Thu, 27 Aug 2020 19:56:57 +0000 (UTC) Received: from mithril (localhost [IPv6:::1]) by mithril.localdomain (Postfix) with ESMTP id 2CE041225B; Thu, 27 Aug 2020 21:56:57 +0200 (CEST) Date: Thu, 27 Aug 2020 21:56:57 +0200 From: Jacques Foucry To: freebsd-questions@freebsd.org Cc: Pete Wright Subject: Re: xorg, libinput, edev and i3wm Message-ID: <20200827195657.GC88637@mithril> Mail-Followup-To: freebsd-questions@freebsd.org, Pete Wright References: <20200826065925.GB88637@mithril> <38e42ff0-2168-7e72-ccd5-f3ebc22c85cc@nomadlogic.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <38e42ff0-2168-7e72-ccd5-f3ebc22c85cc@nomadlogic.org> X-Rspamd-Queue-Id: 4Bd7jC0TdBz43Bh X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=foucry.net; spf=pass (mx1.freebsd.org: domain of jacques@foucry.net designates 95.217.83.231 as permitted sender) smtp.mailfrom=jacques@foucry.net X-Spamd-Result: default: False [-3.18 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.96)[-0.959]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_MEDIUM(-1.02)[-1.023]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.89)[-0.895]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,none]; MID_RHS_NOT_FQDN(0.50)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:95.217.0.0/16, country:DE]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 05:40:16 -0000 Le mercredi 26 août 2020 à 10:29:40 (-0700), Pete Wright à écrit: Hello Pete, > > > On 8/25/20 11:59 PM, Jacques Foucry wrote: > > Dear All, > > > > I need your experize. > > > > I run FreeBSD 12.1-RELEASE-p8 GENERIC, on a X280 Lenovo laptop and I can't > > make the touchepad work properlly. Some options works, others don't. > > Have you loaded acpi_ibm(4)?  I need to load this on my thinkpad to get > video brightness controls as well as other function keys to work.  the > man page is pretty thorough in setting this up if you haven't do so already. Yep, acpi_ibm is loaded with default values. I need to read several times the man to be sure to understand it. For exemple the first part about `devd` is quite obscur to me: ``` devd(8) Events Hotkey events received by devd(8) provide the following information: devd(8) Events Hotkey events received by devd(8) provide the following information: system "ACPI" subsystem "IBM" type The source of the event in the ACPI namespace. The value depends on the model. notify Event code (see below). Depending on the ThinkPad model, event codes may vary. On a ThinkPad T41p these are as follows: ``` How can find those events codes for my X208? -- Jacques Foucry From owner-freebsd-questions@freebsd.org Fri Aug 28 10:49:28 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3EFBC3D5017 for ; Fri, 28 Aug 2020 10:49:28 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdGYz455Fz4N9N for ; Fri, 28 Aug 2020 10:49:27 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qt1-x841.google.com with SMTP id d27so371092qtg.4 for ; Fri, 28 Aug 2020 03:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version; bh=rTuSwULgGxmIJh0fwk730srazlOQZMRocgL57YZRYts=; b=f9inPnE8NycQNZuNBb0r872yd7tsYPw4xWcMc+8E08bm6GGnuW/dR6M7AeGd2PitqX B/9eumI75FxpBaaVrXr8kgScJ4nfY9M2ZdMuizbhEQ5mqtoW0kTinICh+lCiirPaqoeF R04B8eAEtEWO8AfRj7g9fPRs+ZrrGS6dFwAx8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:mime-version; bh=rTuSwULgGxmIJh0fwk730srazlOQZMRocgL57YZRYts=; b=fBOye/r+z0N5I6BzzYUApNAUzNuR2qvj6RZEncunPM/zRufrwiVjr7EjBYtJhkpQQ3 5SUsJHPUVDw+1DYfdX1Ql5E+7cDnmhStl2TJIUovz85o4yxB+/9C0UR9fX15g9bk80OA m9kqFMUGbn8SxQ0HDtsj95wvD/9GkL5ANbWBnWzRMe4eesdV7imN0LFb9S9fkwa/+Y1W 4hYgvarcVCBbfcu9wXVSUBNhg49b6+z/S3U1oPRsh3UynmJU8YL8bE9Faz1zhNoPa3Z5 NThuIdXXxCiufFVxKmuZCEITYkS8wkVf6ibVdvh2C4iFuGyjdpCUVRA9d2zWnKoz2OBO b/jg== X-Gm-Message-State: AOAM531iqEITQAGdNKEUV4FxKyu3j36/eu0q8ae5NIK5Ffnx7/6jIg9Q AIkz13h6horSopn7q87Bdv/1gEdkL0HAMw== X-Google-Smtp-Source: ABdhPJy7fqU5wbFpwksZTKdN+We/L6Dgq8DoqXyS9RwsifAu81ow5sR5KCRSruvpSlbvv9PY2JP2Dg== X-Received: by 2002:ac8:71cb:: with SMTP id i11mr959569qtp.108.1598611408286; Fri, 28 Aug 2020 03:43:28 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-231-236.nc.res.rr.com. [174.109.231.236]) by smtp.gmail.com with ESMTPSA id k63sm400851qkf.33.2020.08.28.03.43.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 03:43:27 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by scorpio.seibercom.net (Postfix) with ESMTPS id 4BdGR20VhXz1G0g for ; Fri, 28 Aug 2020 06:43:26 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at scorpio.seibercom.net Date: Fri, 28 Aug 2020 06:43:19 -0400 From: Jerry To: "User Questions" Subject: Re: dual boot win10 and FreeBSD Message-ID: <20200828064319.0e081a27@scorpio.seibercom.net> In-Reply-To: References: Reply-To: "User Questions" Organization: seibercom NET X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd11.4) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/7tc4eli7=NubJg_KJj9k4fm"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4BdGYz455Fz4N9N X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=f9inPnE8; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::841 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [2.63 / 15.00]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[seibercom.net:+]; NEURAL_HAM_SHORT(-0.01)[-0.006]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[174.109.231.236:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.80)[-0.796]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.968]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::841:from]; RCVD_TLS_ALL(0.00)[]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 10:49:28 -0000 --Sig_/7tc4eli7=NubJg_KJj9k4fm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 26 Aug 2020 00:27:04 -0400, Aryeh Friedman stated: >I have a working FreeBSD machine (that needs to stay working wo/ any >reinstalls) and want to add Windows 10 on a second SSD to the setup. >What is the safest way to set this up for dual boot (starting with >installing Windows). A friend of mine said that he has use the follow method himself. This is totally untested by me. You want to make sure all other drives that are attached are unplugged. Then attach the drive you want to install windows on. Then install windows on it using the MCT from MS. Once that drive is up and running correctly. Then power off and reattach all other drives. Then when you boot up....use F12 to select boot drive. YMMV --=20 Jerry --Sig_/7tc4eli7=NubJg_KJj9k4fm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl9I38cACgkQOHMGOIfe xWRZuwgApl5e7VtI3vbY/Z6bUh/rzLjr+17/BfvRBUoZhNCykmQVyC5At7NkG4rK 4kFX3H8EOcg7KBWVol4qPwsHg8YlwY1R8/P9XIB4hiPg71sHMW6XgZLrFObOndKu iUf8lPaHlY/mX+x4w2+dI87K0W9WDFu1XSyjntdao0hLB7APyLwct0g/7gVTCSjG hTZh6iHR3iz92xsil/fxMwrkfkwYcpd4sroLDCLnwwOwzvVQu5TeVh6mtyTJz4w4 +1WyPnZ6SxDFinB3hdRybw4IL54ZQzKi1qtUi5O2Ux+n0pqjcAGLJtYAPX7AliBi DKVAl3zXcn4IHvEONF4vIWyd1jXb1Q== =5Dpa -----END PGP SIGNATURE----- --Sig_/7tc4eli7=NubJg_KJj9k4fm-- From owner-freebsd-questions@freebsd.org Fri Aug 28 20:40:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 058FD3C147A for ; Fri, 28 Aug 2020 20:40:16 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdWgg0WS0z4PFS for ; Fri, 28 Aug 2020 20:40:14 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1kBlAM-001hgA-EM; Fri, 28 Aug 2020 22:40:06 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.16.1/8.16.1) with ESMTP id 07SKb80f082360 for ; Fri, 28 Aug 2020 22:37:08 +0200 (CEST) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.16.1/8.16.1/Submit) id 07SKb8vS082359 for freebsd-questions@freebsd.org; Fri, 28 Aug 2020 22:37:08 +0200 (CEST) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Re: /bin/sh is what? Can I set tab autocompletion for that sh? Date: Fri, 28 Aug 2020 20:37:08 -0000 (UTC) Message-ID: References: <20200822094009.40c8eeae.freebsd@edvax.de> <20200826184336.e761b39a.freebsd@edvax.de> User-Agent: slrn/1.0.3 (FreeBSD) X-Rspamd-Queue-Id: 4BdWgg0WS0z4PFS X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of news@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=news@mips.inka.de X-Spamd-Result: default: False [2.74 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[news]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.57)[0.572]; NEURAL_SPAM_LONG(0.57)[0.565]; DMARC_NA(0.00)[inka.de]; NEURAL_HAM_SHORT(-0.60)[-0.600]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[naddy@mips.inka.de,news@mips.inka.de]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[naddy@mips.inka.de,news@mips.inka.de]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 20:40:16 -0000 On 2020-08-26, Polytropon wrote: >> `set -o emacs` or `set -E` >> >> will enable tab completion in /bin/sh, along with various other >> comman-line editing features. > > Wow, this really works (on more recent versions of FreeBSD)! > I would never have associated this with emacs-style line editing. It's also available in vi-style line editing. -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@freebsd.org Fri Aug 28 22:14:56 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4FF53C40B6 for ; Fri, 28 Aug 2020 22:14:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BdYmw3Ys6z4Wtf for ; Fri, 28 Aug 2020 22:14:56 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 301223C4300; Fri, 28 Aug 2020 22:14:52 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2EB7E3C3DB2 for ; Fri, 28 Aug 2020 22:14:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdYmp1Bnkz4WtM for ; Fri, 28 Aug 2020 22:14:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oo1-xc2a.google.com with SMTP id y30so112779ooj.3 for ; Fri, 28 Aug 2020 15:14:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/qQ+nUeXi/PRtVJEBi7YPiQKb8J0H300SWzFnS1sp0w=; b=iBTxrSko6gTioKmx7/+zNC/TuQBBW82Tbl5uLSx8uTNjR7WzOp2a3d9XqKL5zExJ/m 5oDAECWM0gCOaT4pt41Hx6S4Nl5y9017FxckwJoE6zIV5EX3x0xppYDdsXVP/rQ8XyDL Mlcgd4DU07VfOrbskhWwNUFJRPRu0sp9gYaGGGRwROaYGvYnQ1cnCiy29raHTLoLClV1 HqJ5ycdCp4D0iGW4UjXuPvC90MNxeYlJDbR29UMOIY+IiAjGFWrz2QH/qdhnwpQgzkwS XHRZ0RLTF9m1sEyisO3UraLdK0MYCftiLSqlL/G+A5y1JWCiOGc1u2xn6E26f1t7i9il eT5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/qQ+nUeXi/PRtVJEBi7YPiQKb8J0H300SWzFnS1sp0w=; b=XqjGzKKFZF6j7f4K705ScRLE3tjV+9GkBHALldUua5Ot1Kk6tnWVJbAekiqlxTCqqg nofofrKXhIwJyFTDlOm8MYsfuFXIcQPCwKCR5KrHEepCy8DWSAhX5OBh4iEK6Uh0vjqd d6wxacrbDSkJ6qrBRSJGJ9f5ejOoh4ZskSHodUlLL5fXfkM3BO3CDHKKLkpTc3XX4945 Ph5HxErlqbcXJh7alIP3V0jArLYc7OESk/G7P/17RWnAa3ISzo184HvtHehSyUT0l5Tc v+YCMd7+jL0Y+C40cWlc5la0LmA+hzF2Q9xROL7+KsebXFI9yrY5KNoXoNewaC0Zr6bb LjXg== X-Gm-Message-State: AOAM5323IE2HOice3W0whAVormQn1lgR7cT1voeGQUMfUnWOjilqhpbk rl2fiyYrWn0fLZBlixar/hySS5LdKGaF7dv885SCKqn/LUbT3w== X-Google-Smtp-Source: ABdhPJxo38CUlCvDTkatZkCfzigdJjTQ/GpMUO0R//+UXTgRFYF+7CsEbigW6cd6kCuj2Rt0MOgbpbY1WE5RB57SBG0= X-Received: by 2002:a4a:b80b:: with SMTP id g11mr526461oop.13.1598652887147; Fri, 28 Aug 2020 15:14:47 -0700 (PDT) MIME-Version: 1.0 From: Kevin Oberman Date: Fri, 28 Aug 2020 15:14:31 -0700 Message-ID: Subject: USB WiFi fob for FreeBSD To: questions@freebsd.org X-Rspamd-Queue-Id: 4BdYmp1Bnkz4WtM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iBTxrSko; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::c2a as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.23 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.925]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.963]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c2a:from]; NEURAL_HAM_SHORT(-0.64)[-0.641]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 22:14:57 -0000 I will shortly receive a new laptop with a network card that is currently not supported by FreeBSD. Work is in progress on a driver, but I will need to use the system very shortly after I receive it. So, I need a quick way to get it on-line and a USB fob looks like my best choice. Can someone recommend a cheap fob I can acquire quickly? My last attempt at this about a decade ago was not successful as the dongle I bought was a new revision with a different chip that was not supported. I hope for better luck this time. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-questions@freebsd.org Fri Aug 28 22:44:10 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34A023C44E7 for ; Fri, 28 Aug 2020 22:44:10 +0000 (UTC) (envelope-from SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BdZQf04KNz4YSR for ; Fri, 28 Aug 2020 22:44:10 +0000 (UTC) (envelope-from SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info) Received: by mailman.nyi.freebsd.org (Postfix) id 026813C48E8; Fri, 28 Aug 2020 22:44:10 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 022E53C45FB for ; Fri, 28 Aug 2020 22:44:10 +0000 (UTC) (envelope-from SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4BdZQc6lxxz4YNJ for ; Fri, 28 Aug 2020 22:44:08 +0000 (UTC) (envelope-from SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4BdZQV2LJgz2fjxT; Fri, 28 Aug 2020 15:44:02 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: USB WiFi fob for FreeBSD From: Doug Hardie In-Reply-To: Date: Fri, 28 Aug 2020 15:44:02 -0700 Cc: questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <59EAEA96-D3DC-4711-AA95-63C08C103E64@mail.sermon-archive.info> References: To: Kevin Oberman X-Mailer: Apple Mail (2.3445.104.15) X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4BdZQc6lxxz4YNJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [-1.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FORGED_SENDER(0.30)[bc979@lafn.org,SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; NEURAL_HAM_LONG(-0.88)[-0.882]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.51)[-0.514]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.80)[-0.798]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,SRS0=NZ8J=CG=mail.sermon-archive.info=doug@sermon-archive.info]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 22:44:10 -0000 > On 28 August 2020, at 15:14, Kevin Oberman = wrote: >=20 > I will shortly receive a new laptop with a network card that is = currently > not supported by FreeBSD. Work is in progress on a driver, but I will = need > to use the system very shortly after I receive it. So, I need a quick = way > to get it on-line and a USB fob looks like my best choice. >=20 > Can someone recommend a cheap fob I can acquire quickly? My last = attempt at > this about a decade ago was not successful as the dongle I bought was = a new > revision with a different chip that was not supported. I hope for = better > luck this time. I have two Insignia USB NICs: models NS-PU98505 (USB 2.0) and NS-PU98635 = (USB 3.0). Both of them work fine on FBSD 12.1. I don't have any older = systems around to test with. I used them for relatively light traffic = although I did flood the network for a couple minutes once and noticed = no issues. Both were found at BestBuy. I only needed USB 2.0, but they = only had one of those so I had to get the USB 3.0 also. Both came up = immediately on plug-in as ue devices. -- Doug From owner-freebsd-questions@freebsd.org Sat Aug 29 00:03:38 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B48943C68E9 for ; Sat, 29 Aug 2020 00:03:38 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdcBK4HLqz4dX9 for ; Sat, 29 Aug 2020 00:03:37 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.160] (cpe-23-243-161-111.socal.res.rr.com [23.243.161.111]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 3e8f2dbd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sat, 29 Aug 2020 00:03:30 +0000 (UTC) Subject: Re: USB WiFi fob for FreeBSD To: freebsd-questions@freebsd.org References: From: Pete Wright Message-ID: Date: Fri, 28 Aug 2020 17:03:24 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4BdcBK4HLqz4dX9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-1.01 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.43)[-0.430]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.12)[-0.121]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-0.16)[-0.162]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[23.243.161.111:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 00:03:38 -0000 On 8/28/20 3:14 PM, Kevin Oberman wrote: > I will shortly receive a new laptop with a network card that is currently > not supported by FreeBSD. Work is in progress on a driver, but I will need > to use the system very shortly after I receive it. So, I need a quick way > to get it on-line and a USB fob looks like my best choice. > > Can someone recommend a cheap fob I can acquire quickly? My last attempt at > this about a decade ago was not successful as the dongle I bought was a new > revision with a different chip that was not supported. I hope for better > luck this time. I keep one of these handy for just this scenario: https://smile.amazon.com/gp/product/B008IFXQFU/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 iirc it uses urtwn(4) -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Sat Aug 29 03:08:43 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0EFB3CB845 for ; Sat, 29 Aug 2020 03:08:43 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdhHt1RHHz3Zgw for ; Sat, 29 Aug 2020 03:08:41 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd34.google.com with SMTP id d190so96533iof.3 for ; Fri, 28 Aug 2020 20:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=fezzqF7S7Wws8iuFUN392ydbWsbDqD4u+V+lhTrXoNs=; b=mDFyKgcFUbDfA9ixeEf2pTKsf/XFEVAaRUjtSrlsnzLVw3/efngDQawikAtHdLR5gA i98cVXcl5amQw9MQ7M+w0WISnZazOhFnpEawAt2fpwtiGkgATsLowtqCXGyYB279vprQ Lq2g1/4I6G+TvJ9PQtfDoVFBa7mspli1J6jfJd/tavDFR3r28R4dfH5q1dgOptncFOOz FWiLJYQmHdkBb5seBYHlAnw/QXl2bKqD2AI9RCUpFa4dAjx2dMAr1SzURHdwz0rKKSsS Cv3WbFp/8pqCxytSYSK9GiHXu8xHN0KN1+4Jj54tU4lPWIacbwi7MgACbwLawS/72MdJ BVHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fezzqF7S7Wws8iuFUN392ydbWsbDqD4u+V+lhTrXoNs=; b=gmi3yRulSfCE1eucIKQBDOkeDOMeaP6pqh0i4njs8Sc7oaQ7wlRk4BaZ1pG6acLjmX e3kf/XoihpMYs6OCQElddvHeC+BscZx/ob++fcxef6SF/IQJFP60fkLflXsnOP2U3WJa 0Wng/We7BjF58IVzCHtd35oOuIBt7+25cRrrhy/zwr5FSXpGE6yUD1iS6bonhBRPTMHn LjfebYeY1lHz4xNh2T0uchtTh5vXw98mc58D1qoiGjfuzUG0V0Th98dUhO6b/gVkMert W9uF9xxcEwEt8h/NdmjEsfRxdbjo1nLaM+wHd8RvTgUwrayfcLy8ojbOHqLrd+g7rhCw 6JWQ== X-Gm-Message-State: AOAM530oXKlI5cUzH0lLj0Ij2z+dyo5/0QtP3IYyQ+1i6sVA/x+7ri9k 1eD4YJLLcyPt/26u4qQyfBO7Ks8nuIVXwSlzz7O/G55Dxi0= X-Google-Smtp-Source: ABdhPJxbDOhjMTU2qN8CEFjm1Clmcp3Zb7Gq6TUF8PcZseloRoaav5HQ2geGkvkTUi29PPkyM5Aljr55LkZHXJNbaFw= X-Received: by 2002:a05:6602:14ca:: with SMTP id b10mr1329467iow.83.1598670520747; Fri, 28 Aug 2020 20:08:40 -0700 (PDT) MIME-Version: 1.0 From: Aryeh Friedman Date: Fri, 28 Aug 2020 23:08:30 -0400 Message-ID: Subject: (very OT) Ideal partition schemes (history of partitioning) To: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BdhHt1RHHz3Zgw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mDFyKgcF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.38 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.003]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.97)[-0.970]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d34:from]; NEURAL_HAM_SHORT(-0.41)[-0.409]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 03:08:43 -0000 When installing another OS then FreeBSD (won't state which one to avoid flame wars) I noticed it's default partitioning scheme breaks the main (and only) drive on the system down into 50 GB chunks (in my case / and /home) by default (I over road to FreeBSD's default of one big partition for the whole drive [minus swap]). I was wondering what people think of different generalized partitioning schemes? (there is no right answer here but I might question your comments) Also why are partitioned need at all? (both currently and historically) -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Sat Aug 29 05:19:54 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F9D43CDB7C for ; Sat, 29 Aug 2020 05:19:54 +0000 (UTC) (envelope-from SRS0=I5nt=CH=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4BdlCF4tfZz3gq1 for ; Sat, 29 Aug 2020 05:19:53 +0000 (UTC) (envelope-from SRS0=I5nt=CH=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4BdlCD3KKgz2fjQV; Fri, 28 Aug 2020 22:19:52 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: (very OT) Ideal partition schemes (history of partitioning) From: Doug Hardie In-Reply-To: Date: Fri, 28 Aug 2020 22:19:52 -0700 Cc: FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Aryeh Friedman X-Mailer: Apple Mail (2.3445.104.15) X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4BdlCF4tfZz3gq1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=I5nt=CH=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=SRS0=I5nt=CH=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [-1.39 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FORGED_SENDER(0.30)[bc979@lafn.org,SRS0=I5nt=CH=mail.sermon-archive.info=doug@sermon-archive.info]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; NEURAL_HAM_LONG(-0.89)[-0.893]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.23)[-0.230]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.86)[-0.865]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,SRS0=I5nt=CH=mail.sermon-archive.info=doug@sermon-archive.info]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 05:19:54 -0000 > On 28 August 2020, at 20:08, Aryeh Friedman = wrote: >=20 > When installing another OS then FreeBSD (won't state which one to = avoid > flame wars) I noticed it's default partitioning scheme breaks the main = (and > only) drive on the system down into 50 GB chunks (in my case / and = /home) > by default (I over road to FreeBSD's default of one big partition for = the > whole drive [minus swap]). >=20 > I was wondering what people think of different generalized = partitioning > schemes? (there is no right answer here but I might question your = comments) >=20 > Also why are partitioned need at all? (both currently and = historically) I may not be the best to address this, but I have been running systems = since the late 60's. In the (not so good old days) the disk drives were = unreliable, the drivers were unreliable, and software was unreliable. = Disks had no partitions. So if any of the disk control tables got = corrupted, generally you had a worthless drive. It had to be completely = restored. I went so far as to dump a good disk setup to punched cards = (lots of them) so that when corruption occurred, I could easily, but not = quickly, restore the disk to a working state. As disks got bigger, someone came up with the partition concept. You = would put the stuff that the system needs to run in one "read only" = partition. In theory, it would not get corrupted by problems with other = partitions. Unix used the / partition to hold most of that. /var was = generally a separate partition because its contents were always = changing. Likewise with /tmp. User partitions were often setup so that = a rogue user would not corrupt other users. Often, if you had the = money, some of those partitions would be put on different drives. The problem with this approach showed up as system software increased in = size. For example, the first FBSD systems I use were setup for 3.5 and = 3.7. The / partition was doubled what the best practice said was = needed. Var and tmp were in separate partitions as was user data. = Somewhere around FBSD 5 or 6, I was no longer able to upgrade the = kernel. The kernel was larger than the / partition. These were = production system with no acceptable down time. I had to purchase four = new systems and repartition the drives with much larger partitions for = /, var, and tmp. Then everything had to be rebuilt, and the systems = swapped. There was still a lot of down time. Then OSX arrived and it used only one partition for everything. At = first I thought that was going to be a disaster, but it was not. UFS = was by that time quite stable. I have never encountered an issue with = it, although others have. Not long after that, I encountered the same = issue with FBSD. The / partition was now smaller than the most recent = kernel. I had to delete all the symbol files from the kernel to be able = to update a system. As a result, I bought more drives, and partitioned = them as a single partition which is now what I run on all my systems. = Often I will put archival information on a second drive, or a second = system. Interestingly enough, OSX has recently gone to multiple = partitions. In this situation Apple is trying to prevent anyone from = modifying their code. I do recall one situation, probably in the FBSD 4 era where syslog went = berserk and completely wrote over the entire var partition. As a side note, a friend of mine in college worked at IBM in San Jose on = OS360. His job was to take all of the example code in the assembler = reference manual, punch them up and run them to ensure that they = actually worked. There was only one 360 working so everything ran on = it. His jobs were the lowest priority, so he had to wait days sometimes = to get them run. Once, he was in the computer room watching them run = and every disk was actively writing at max speed. Since none of code = wrote anything anywhere, he was a bit concerned. So was the operator = and he quickly terminated the jobs. But the damage was done. All of = the single copy of the OS 360 source had been overwritten. As I recall, = both he and the rest of the OS team were terminated. OS 360 was already = years late at that point. I don't recall OS 360 supporting disk = partitioning. -- Doug From owner-freebsd-questions@freebsd.org Sat Aug 29 06:21:50 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 240643CEC0F for ; Sat, 29 Aug 2020 06:21:50 +0000 (UTC) (envelope-from 4250.82.1d4c2000a7885da.41f976022203be5622013cf811a50ebc@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdmZj15hpz40PZ for ; Sat, 29 Aug 2020 06:21:48 +0000 (UTC) (envelope-from 4250.82.1d4c2000a7885da.41f976022203be5622013cf811a50ebc@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1598682109; x=1601274109; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=Mr74UMmV1b1ThElL+TiZy5X197va+3pIygNN3pWjSSY=; b=idtcm81vEC0MDSWFvDStL6CujSzIhiL1mTUFRP3iOLLa8UeYMHbkpuy8Zar5ijqPk/0yZZduK+qaI+7lO6qlJi8XJ4bIub/CZqSQhPT/4Kl4/KKsUvQOakwLYMo6k2TFrCTX3hxq0Qm/nHNTuj0U4iArO7SyFGDdkCjJQv6Ca3M= X-Thread-Info: NDI1MC45Mi4xZDRjMjAwMGE3ODg1ZGEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-east-1.aws.in.socketlabs.com (r2.us-east-1.aws.in.socketlabs.com [142.0.191.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 29 Aug 2020 02:21:41 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 29 Aug 2020 02:21:41 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kBuF9-000LdW-AK for freebsd-questions@freebsd.org; Sat, 29 Aug 2020 07:21:39 +0100 Date: Sat, 29 Aug 2020 07:21:39 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: (very OT) Ideal partition schemes (history of partitioning) Message-Id: <20200829072139.627a0b3294f20b34ce0c35ff@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BdmZj15hpz40PZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=idtcm81v; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c2000a7885da.41f976022203be5622013cf811a50ebc@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c2000a7885da.41f976022203be5622013cf811a50ebc@email-od.com X-Spamd-Result: default: False [-1.87 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.971]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-0.23)[-0.229]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c2000a7885da.41f976022203be5622013cf811a50ebc@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c2000a7885da.41f976022203be5622013cf811a50ebc@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 06:21:50 -0000 On Fri, 28 Aug 2020 23:08:30 -0400 Aryeh Friedman wrote: > Also why are partitioned need at all? (both currently and historically) For a historical perspective I once saw a home made XENIX box with four 8" floppy drives labelled /, /etc, /usr and /tmp. Back when drives were small it was desirable to have more storage in the filesystem than available on a drive, being able to combine multiple filesystems into a single tree by mounting made it possible to do that seamlessly. Compare and contrast with drive letters as in CP/M, MS/PC-DOS and even still lurking in the latest Windows. A side benefit was that it made it possible to have different options (read only, block sizes, ...) on different mounts and so tune different parts of the tree for the different usage (for an extreme example /tmp is sometimes a memory based file system these days). It was also an enabler for seamless network filesystems from MICNET (which ran over UUCP) to NFS by way of AFS. Today of course a 10TB drive is a consumer item and for most purposes there is no need to split up the tree into multiple filesystems just to have enough space. One consideration though is to prevent a runaway writer from chewing up all the available disc space, having separated filesystems limits the scope to one section of the tree (which can still be a real PITA). Quotas is a more recent solution to the same problem, as is the spaced reserved for root processes in UFS mounts. Personally I tend to use ZFS for almost everything and mount /home (and a few other odds and ends) from my NAS which also runs a lot of jails. This results in a lot of filesystems (especially on the NAS) coming from a small number of pools. The way ZFS uses so many filesystems is mostly useful for the ability to have different filesystem level settings at the mount points. For a contrasting approach there is a commercial distributed filesystem (OneFS) where metadata of that kind (including replication policy) is settable by directory. I won't say too much about it because it pays my wages. As for disk partitioning that's just a way to pretend that one big disk is a set of smaller ones, which is of course useful for many reasons. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Aug 29 13:44:21 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC4333B0B2D for ; Sat, 29 Aug 2020 13:44:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdyPJ4Chsz4Tn4 for ; Sat, 29 Aug 2020 13:44:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.94.186]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1N94uf-1khj8w3Dmx-0167PJ; Sat, 29 Aug 2020 15:44:18 +0200 Date: Sat, 29 Aug 2020 15:44:17 +0200 From: Polytropon To: Aryeh Friedman Cc: FreeBSD Mailing List Subject: Re: (very OT) Ideal partition schemes (history of partitioning) Message-Id: <20200829154417.8dd5f83d.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:ioW97rixS7Q8gDiJlw/I2tUDPh5WT00r698C8RD2KHoi4aRn4fg Rc2onXwAPBhUS8dzZHrZJxppCI7Rbh1r500x0WqgRrnN+9/fGqR08fl59OPV+LNum+2xZ7v P7khxXBLg0rs8zOeZmTJOQcqqAg6Mssj5tyTFTDR+QTgjEVSKbkvhqVcVzk4FtBFjPEaem6 3ZUC5i4cVIome/pt/sMZQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:e2FASlhF1K8=:xp0m7M6372hSEGiL61poud 3LElqagBfhL+rrOc+AGoEp2Qe+GGRY7U6x/sbEUd0Fai7PgYyrV56m2ym8RCRK/6IhJgT7nmU F9ETLc0OFD4s7mYvahFDPAG8vm5Ij0RPpFr19VrJnWLEggttuXvZ7BWQ5UUJG9TLbiWFj5jKp YRXYw+YAd01EDYw0yKIQm5kTu5jXXw1xwUfFCcxUQkNeAuwQqUPfzalqbBplgzXv8XULnoiuZ Z//oj/FdcoR1szrcC9rA4y5uuy70T4ZA7Ruy5IZ0uBY6JfiVi4Mh/+aF44EAYXOxDz3TZbSqH rlXLdMiOOAymHwONQDgiuhkWIb8QtIWfKOO1Ad+CDQq6piQmgHaqPz5luvZcRoQerNWRXh+9f r0LnpfFDZgazZ9KkfXsZe4GXXvACuYzxldvwwWuLW0HwZfL+AZ7E8ueeayfzxD4uac81gtr9s 9WhtiwTEAdtsa/KXP+uhKVwsWS2eOcQCswTJBUNpL7+/0YPfw3rowfad2GJ4DXo/ZVf8ssEgs g7FoOGbXVCDmMjmxHFTN1icSr/icwvtiX0YwX2Da83Rb8HOTfE6xgBXr3WKXbb2W3yyx+Bcjv w6FeWo9zPT/psj7BqZxFwzkaP7AEUWZA+OouoxVXosKvGxih4LyBmblyS+Iqlc2TafgtOSdU1 MguVYFmOP9u4DsasN6et3YDj/hlKil3vfIWYELGNIRmefteP3mzhDc9cuf0KPUEV09gcUswY5 sZ5yubR3vzvnOu7eZrtnfxNiV3LINT6zF50UqoKOZkuKrxJQeDHJGN43gm29D8rzmpFTdE84v rhmyerGd6oIGoyQImgYZAAVtjmCWbOf/hAUzigOG62ymrRZDdtXRdIW0wdQp44TLGvrak5/ X-Rspamd-Queue-Id: 4BdyPJ4Chsz4Tn4 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.74) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.06 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[178.5.94.186:received]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.12)[0.124]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.62)[0.625]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.91)[0.915]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.74:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.74:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 13:44:21 -0000 On Fri, 28 Aug 2020 23:08:30 -0400, Aryeh Friedman wrote: > When installing another OS then FreeBSD (won't state which one to avoid > flame wars) I noticed it's default partitioning scheme breaks the main (and > only) drive on the system down into 50 GB chunks (in my case / and /home) > by default (I over road to FreeBSD's default of one big partition for the > whole drive [minus swap]). > > I was wondering what people think of different generalized partitioning > schemes? (there is no right answer here but I might question your comments) You are correct about the fact there is no "the correct way". What you should implement in your partitioning layout depends on what you want to achieve, and there usually are several ways (with advantages and disadvantages) to accomplish that. First of all, partitioning depends on your hardware: Is it UEFI only, UEFI / BIOS (legacy mode), or BIOS only? And will there be a non-FreeBSD system installed on the same disk or SSD, so you can multi-boot? What system will it be? What boot selection method will be used? Most multi-OS settings seem to work best with BIOS + MBR. Boot selection can either happen using a PF key at system startup, if it's more than one disk, or you have a separate software solution, like GRUB or FreeBSD's boot manager, if all systems are on one and the same disk. With MBR, you can have up to 4 "DOS primary partitions", i. e., slices. FreeBSD needs only one, other systems may need one or more. If 4 isn't enough, you need to remove one, and put an "DOS extended partition" in the free slot, which then can hold "logical volumes inside a DOS extended partition". This is typically called EBR. The limitations of MBR are no longer valid with GPT: Any new partition gets a new number, and if you want to have 20 partitions, that's no problem - it's natively possible. The problem could be systems not properly understanding GPT layout, and if I remember correctly, FreeBSD's boot manager does not support multiboot from GPT. On systems that do not have BIOS or "legacy mode", if I did understand everything correctly, MBR is not supported unless a EFI partition has been prepared beforehand. And in case of ... I won't name it to avoid trouble, even that won't work - you need to enable a Compatibility Support Module (if present!) and so on...; all this because you "should" use UEFI + GPT. It's actually quite complicated... ;-) You can avoid all this for FreeBSD-only systems by not using any partitioning at all - you just add labels (using the disklabel / bsdlabel command). Note that only letters 'a' to 'h' are possible (with exception of 'c'). To summarize, you have the following usable (!) options: a) BIOS + dedicated b) BIOS + MBR c) BIOS + GPT d) UEFI + GPT In case of MBR, FreeBSD gets one slice; in case of GPT, FreeBSD gets as many partitions as it needs. The partition types are also different for GPT and MBR, and depending on the desired layout, the partitions you need can change. Within a slide, you can create multiple partitions. The common approach today is to have one big / and some swap. The idea of "functional partitioning" typically suggests a layout like this: ------------ device in /dev ----------- dedicated MBR GPT /boot - - ada0p1 / ada0a ada0s1a ada0p2 swap ada0b ada0s1b ada0p3 /tmp ada0d ada0s1d ada0p4 /var ada0e ada0s1e ada0p5 /usr ada0f ada0s1f ada0p6 /opt ada0g ada0s1g ada0p7 /home ada0h ada0s1h ada0p8 This is just a very simplified example. Also remember that most other systems fail to understand dedicated partitioning. The idea of "partitions within a slice" comes from BSD coming from non-PC systems to the PC, where MBR was required for multi-boot interoperability (to a certain, often quite limited degree). With GPT, there are plenty of types, so this is no longer needed. > Also why are partitioned need at all? (both currently and historically) In ye olden tymes, storage was expensive. There were systems that booted from 8" floppy disks or small hard disks, but those could not contain the whole filesystem with all the programs. So for example, / was on a small but fast disk, this was enough to bring the system up into single-user mode. From there on, /usr, /tmp, /var and finally /home were mounted from bigger, but often smaller disks. For experiments, the disk packs (usually removable hard disks) could be exchanged, i. e., boot the system, but use an alternative /usr partition (disk) for testing. The idea was to have the data used most to be on the faster drives (often more expensive, sometimes also smaller), and the stuff not needed to be fast on slower drives (often bigger). At that time, a minicomputer system running a UNIX often had multiple disk deives with removable media, and they didn't have to be of the same kind (and parameters). In today's modern times, UFS partitions can still serve a purpose where ZFS cannot be used. Note that ZFS conveniently solves all those problems. :-) For example, you can separate filesystems such as /tmp from the rest of your system. Imagine a process writing to /tmp, writing and writing, on and on, and now you're out of disk space, the system gets in trouble, no log files can be written because there's no space in /var (as it is on / along with /tmp). With /tmp being a separate partition, only that one gets filled, but everything else still works. Also think about the partition-wise backup (dump and restore) which is very useful if you don't want to deal with separate files. And also mount options can be interesting, such as optimization for specific kinds of storage (noasync, noatime) or for security (noexec). For security reasons, you could also have partitions mounted only when needed and authorized (not a typical use case on a home PC, but possible). Using ZFS, you can apply even more options to optimize the use of partitions. And also consider encrypted partitions: Their mountpoint is empty, they only become available after being unlocked. Their location within the VFS hierarchy can also be significant (shared access or individual access). That was quite a hodgepodge of statements, but I'm sure you will be able to extract some useful information from it, and those can be the source of further questions. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Aug 29 17:15:47 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B6BF53B6B79 for ; Sat, 29 Aug 2020 17:15:47 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bf35G2D9yz3XnN for ; Sat, 29 Aug 2020 17:15:45 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id bc67fcab for ; Sat, 29 Aug 2020 19:15:43 +0200 (CEST) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id f65dbe61 for ; Sat, 29 Aug 2020 19:15:43 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id ab5c015b for ; Sat, 29 Aug 2020 19:15:43 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id f446cc0f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sat, 29 Aug 2020 19:15:42 +0200 (CEST) Date: Sat, 29 Aug 2020 13:15:36 -0400 From: ajtiM To: FreeBSD Questions Subject: too much recursion Message-ID: <20200829131536.6d883a1c@dismail.de> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Bf35G2D9yz3XnN X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.007]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[dismail.de:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.977]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[78.46.223.134:from]; DKIM_TRACE(0.00)[dismail.de:+]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; NEURAL_HAM_SHORT(-0.66)[-0.660]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 17:15:47 -0000 Hi! I have FreeBSD 12.1-RELEASE-p8 (amd65) and I pit in /etc/syctl.conf: kern.elf32.aslr.enable=3D1 kern.elf32.aslr.honor_sbrk=3D0 kern.elf32.aslr.pie_enable=3D1 kern.elf64.aslr.enable=3D1 kern.elf64.aslr.honor_sbrk=3D0 kern.elf64.aslr.pie_enable=3D1 Now Firefox doesn't start - too much recursion - core dump. If I put all *elf64 to default values it is okay. Is the "problem" Firefox or something on my system, please? Thank you. --=20 Ernst Lubitsch=E2=80=99s Ninotchka:=20 =E2=80=9C=E2=80=98Waiter! A cup of coffee without cream, please!=E2=80=99 = =E2=80=98I=E2=80=99m sorry, sir, we have no cream, only milk, so can it be a coffee without milk?=E2=80=99=E2= =80=9D=20 From owner-freebsd-questions@freebsd.org Sat Aug 29 18:14:34 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CBD93B84C5 for ; Sat, 29 Aug 2020 18:14:34 +0000 (UTC) (envelope-from doug@safeport.com) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bf4P55MQRz3bwS for ; Sat, 29 Aug 2020 18:14:33 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 0CB3B6EC98 for ; Sat, 29 Aug 2020 18:08:04 +0000 (UTC) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id 07TI82kF040443 for ; Sat, 29 Aug 2020 14:08:02 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id 07TI82U4040440 for ; Sat, 29 Aug 2020 14:08:02 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sat, 29 Aug 2020 14:08:02 -0400 (EDT) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: FreeBSD Mailing List Subject: Re: (very OT) Ideal partition schemes (history of partitioning) In-Reply-To: <20200829154417.8dd5f83d.freebsd@edvax.de> Message-ID: References: <20200829154417.8dd5f83d.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4Bf4P55MQRz3bwS X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of doug@safeport.com does not designate 204.107.128.30 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [5.59 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.45)[0.454]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[safeport.com]; TO_DN_ALL(0.00)[]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(0.71)[0.706]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-0.07)[-0.074]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 18:14:34 -0000 On Sat, 29 Aug 2020, Polytropon wrote: > On Fri, 28 Aug 2020 23:08:30 -0400, Aryeh Friedman wrote: >> When installing another OS then FreeBSD (won't state which one to avoid >> flame wars) I noticed it's default partitioning scheme breaks the main (and >> only) drive on the system down into 50 GB chunks (in my case / and /home) >> by default (I over road to FreeBSD's default of one big partition for the >> whole drive [minus swap]). >> >> I was wondering what people think of different generalized partitioning >> schemes? (there is no right answer here but I might question your comments) > > You are correct about the fact there is no "the correct way". > What you should implement in your partitioning layout depends > on what you want to achieve, and there usually are several > ways (with advantages and disadvantages) to accomplish that. > [cut] > That was quite a hodgepodge of statements, but I'm sure you > will be able to extract some useful information from it, and > those can be the source of further questions. :-) Wow Poly, Doug, Steve, this is a thread to save. I guess only guys named Doug have used punched cards. Anyone else used paper tape?? The most inventive use of punched cards in my past, was when an Alogol system arrived without a terminal (or card punch) my boss, with a pocket knife, "punched" the character set. Then until the terminal arrived, tested the system by programming one card at a time into the card reader. The tedium was minimized by copious amounts of beer. From owner-freebsd-questions@freebsd.org Sat Aug 29 18:24:47 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 966173B868F for ; Sat, 29 Aug 2020 18:24:47 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bf4ct3Bp2z3c81 for ; Sat, 29 Aug 2020 18:24:46 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.113] (unknown [172.58.84.245]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id ED7FE4E672 for ; Sat, 29 Aug 2020 13:24:39 -0500 (CDT) Subject: Re: (very OT) Ideal partition schemes (history of partitioning) To: freebsd-questions@freebsd.org References: <20200829154417.8dd5f83d.freebsd@edvax.de> From: Valeri Galtsev Message-ID: Date: Sat, 29 Aug 2020 13:24:38 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bf4ct3Bp2z3c81 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [1.12 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.79)[0.788]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.84.245:received]; NEURAL_HAM_SHORT(-0.69)[-0.685]; NEURAL_SPAM_LONG(0.92)[0.922]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 18:24:47 -0000 On 8/29/20 1:08 PM, doug@safeport.com wrote: > > > On Sat, 29 Aug 2020, Polytropon wrote: > >> On Fri, 28 Aug 2020 23:08:30 -0400, Aryeh Friedman wrote: >>> When installing another OS then FreeBSD (won't state which one to avoid >>> flame wars) I noticed it's default partitioning scheme breaks the >>> main (and >>> only) drive on the system down into 50 GB chunks (in my case / and >>> /home) >>> by default (I over road to FreeBSD's default of one big partition for >>> the >>> whole drive [minus swap]). >>> >>> I was wondering what people think of different generalized partitioning >>> schemes? (there is no right answer here but I might question your >>> comments) >> >> You are correct about the fact there is no "the correct way". >> What you should implement in your partitioning layout depends >> on what you want to achieve, and there usually are several >> ways (with advantages and disadvantages) to accomplish that. >> > [cut] >> That was quite a hodgepodge of statements, but I'm sure you >> will be able to extract some useful information from it, and >> those can be the source of further questions. :-) > > Wow Poly, Doug, Steve, this is a thread to save. I guess only guys named > Doug have used punched cards. Anyone else used paper tape?? The most > inventive use of punched cards in my past, was when an Alogol system > arrived without a terminal (or card punch) my boss, with a pocket knife, > "punched" the character set. Then until the terminal arrived, tested the > system by programming one card at a time into the card reader. The > tedium was minimized by copious amounts of beer. On a similar note: we had a group of ladies who were "typing" on punch card typing machines. No regular person (programmer) was allowed access to one. Then, after hours if you found bug and needed to make small change, you were "editing" punch cards using point tipped razor to cut new holes, and were plugging holes with those rectangular pieces punched out of cards, found near card duplicator. "Doctored" like that card, however, can damage card reader, so you put it through card duplicator (which is more robust device than card reader), compare duplicate to make sure it is what you need, and then you can leave your modified program to run during night. Otherwise you will have to wait till morning when card punch ladies come to work. Valeri > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Sat Aug 29 18:59:18 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3439F3B958A for ; Sat, 29 Aug 2020 18:59:18 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bf5Nj1SqXz3dLM for ; Sat, 29 Aug 2020 18:59:16 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-173-48-64-3.bstnma.fios.verizon.net [173.48.64.3]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4Bf5Ng3KJyz1f11 for ; Sat, 29 Aug 2020 14:59:15 -0400 (EDT) Subject: Re: Suggestion regarding fsck output enhancement To: freebsd-questions@freebsd.org References: <20200824104017.4c241ec0.freebsd@edvax.de> <12f154c3-078f-401d-6a48-dc2f700a4d1d@panix.com> <20200829021831.GA25998@neutralgood.org> From: Kurt Hackenberg Message-ID: <33f995b9-7799-c5d7-8b8d-5463b4048d68@panix.com> Date: Sat, 29 Aug 2020 14:59:13 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200829021831.GA25998@neutralgood.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bf5Nj1SqXz3dLM X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-2.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.84.1.89:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.49)[-0.489]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[166.84.1.89:from]; NEURAL_HAM_SHORT(-0.71)[-0.711]; DMARC_NA(0.00)[panix.com]; NEURAL_HAM_MEDIUM(-0.60)[-0.595]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[173.48.64.3:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 18:59:18 -0000 On 2020-08-28 22:18, Kevin P. Neal wrote: >> The trouble is, an inode does not point back to any of the directory >> entries that point to it. Far as I know, the only way to find names >> associated with an inode is to search the whole filesystem, looking for >> directory entries that contain that inode number. That could take a while. > > Well, it would require building an in-memory version of the filesystem's > metadata. Except that fsck already needs that (minus the filenames) in order > to do its job, right? How else would it know that, for example, an inode > is unreferenced. > > Poly, I think you should open a bug report/feature request on the official > FreeBSD bugtracker. If you haven't already. You might want to estimate the amount of memory needed to hold all the filenames in a large filesystem. What fsck does now probably needs just an array of reference counts, indexed by inode number. Each inode in use is pointed to by at least one directory entry, a filename that can be up to 255 characters long (though usually they're much shorter). In practice, extra hard links aren't used much for regular files, but each directory has two links plus another for each of its subdirectories. (The extra link names are short, though: "." and "..".) You could estimate, say, 1.1 filenames per inode, times maybe 32 characters each, times the default number of inodes allocated in a 1 TB filesystem, whatever that is. From owner-freebsd-questions@freebsd.org Sat Aug 29 19:10:31 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 13A1B3B94FD for ; Sat, 29 Aug 2020 19:10:31 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bf5df11Xkz3f3r for ; Sat, 29 Aug 2020 19:10:29 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Bf5dQ1fwJzFrF9; Sat, 29 Aug 2020 12:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1598728228; bh=e58427BIx/wE4XvfRM8sflYG/ks+jXHYaxnV431GQ/w=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=Ofw42A+opjVwrOr1HfY8+sBJDjuain+/nzBqpQSvaqamZY0yt5cH9Op8SJ+KSE7IP KzRyFFcNkx7x0sAMgEEePuprbjJC/ICESRtfmKWa+uUVZ78vi0IZyKVCZBnad6+B2k Lk44wguJsjdTztJkXQXojlZUTrIOfbvvBGQK6YRw= X-Riseup-User-ID: 3141CF10F147C2DF527D88038B8CFFCFEF9110837861DC03D9DD6D0C87FAE1AF Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4Bf5dP2MB8zJrDb; Sat, 29 Aug 2020 12:10:17 -0700 (PDT) Message-ID: Subject: Re: (very OT) Ideal partition schemes (history of partitioning) From: Ralf Mardorf To: freebsd-questions@freebsd.org Cc: Gene Heskett Date: Sat, 29 Aug 2020 21:10:16 +0200 In-Reply-To: References: <20200829154417.8dd5f83d.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bf5df11Xkz3f3r X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=Ofw42A+o; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-5.07 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.97)[-0.973]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[riseup.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-1.03)[-1.026]; NEURAL_HAM_MEDIUM(-0.98)[-0.975]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 19:10:31 -0000 On Sat, 2020-08-29 at 13:24 -0500, Valeri Galtsev wrote: > On 8/29/20 1:08 PM, doug@safeport.com wrote: > > Wow Poly, Doug, Steve, this is a thread to save. I guess only guys named > > Doug have used punched cards. Anyone else used paper tape?? The most > > inventive use of punched cards in my past, was when an Alogol system > > arrived without a terminal (or card punch) my boss, with a pocket knife, > > "punched" the character set. Then until the terminal arrived, tested the > > system by programming one card at a time into the card reader. The > > tedium was minimized by copious amounts of beer. > > On a similar note: we had a group of ladies who were "typing" on punch > card typing machines. No regular person (programmer) was allowed access > to one. Then, after hours if you found bug and needed to make small > change, you were "editing" punch cards using point tipped razor to cut > new holes, and were plugging holes with those rectangular pieces punched > out of cards, found near card duplicator. "Doctored" like that card, > however, can damage card reader, so you put it through card duplicator > (which is more robust device than card reader), compare duplicate to > make sure it is what you need, and then you can leave your modified > program to run during night. Otherwise you will have to wait till > morning when card punch ladies come to work. Forwarding to a pen pal who was involved in electronics already before the transistor was invented. What? How aged are you folks? I'm from 1966 and when I started with computers, I already used 5 ¼ floppy disks. Am I a youngster? I'm used to analog audio and video engineering, analog photography and computers with 5 ¼ floppy disks. I just started programming assembly without a macro assembler, but after a relatively short time even a macro assembler was available. "Card reader" nowadays is for something else. I used a hole puncher to write on both sides of a single sided 5 ¼ floppy disk, but have never seen a punch card in reality. From owner-freebsd-questions@freebsd.org Sat Aug 29 19:28:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C30073BA195 for ; Sat, 29 Aug 2020 19:28:03 +0000 (UTC) (envelope-from 4250.82.1d4c2000a870aab.38f96be46ec68bf9869e3a70cf24914a@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bf61t6MhLz3gGl for ; Sat, 29 Aug 2020 19:28:02 +0000 (UTC) (envelope-from 4250.82.1d4c2000a870aab.38f96be46ec68bf9869e3a70cf24914a@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1598729283; x=1601321283; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=rii37tWCh8xSEAZ/8jzLaluxetO8Gr2tyuA2lVJ/zcM=; b=FM2is1R5opChyDceJwo83SolLXBLLl5s/m5DQOgOEdsKSjeeDrdya56X1GCYivAEJcgdqAomGelKku40On1hfrj5Zph8+EQbmjaU9fEt7CUpeS3lEMY5vGYHgTftX+Cg3riuao+55MaMP8RaoMK77MXbSaVi35kJij7/aOAUWQU= X-Thread-Info: NDI1MC45Mi4xZDRjMjAwMGE4NzBhYWIuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.h.in.socketlabs.com (r2.h.in.socketlabs.com [142.0.180.12]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 29 Aug 2020 15:27:56 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 29 Aug 2020 15:27:55 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kC6W2-0002m2-00 for freebsd-questions@freebsd.org; Sat, 29 Aug 2020 20:27:54 +0100 Date: Sat, 29 Aug 2020 20:27:53 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: (very OT) Ideal partition schemes (history of partitioning) Message-Id: <20200829202753.443f19ae4b9bce24b9161871@sohara.org> In-Reply-To: References: <20200829154417.8dd5f83d.freebsd@edvax.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bf61t6MhLz3gGl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=FM2is1R5; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c2000a870aab.38f96be46ec68bf9869e3a70cf24914a@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c2000a870aab.38f96be46ec68bf9869e3a70cf24914a@email-od.com X-Spamd-Result: default: False [-1.98 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.971]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-0.35)[-0.346]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c2000a870aab.38f96be46ec68bf9869e3a70cf24914a@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c2000a870aab.38f96be46ec68bf9869e3a70cf24914a@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 19:28:03 -0000 On Sat, 29 Aug 2020 21:10:16 +0200 Ralf Mardorf wrote: > Forwarding to a pen pal who was involved in electronics already before > the transistor was invented. > > What? How aged are you folks? I'm from 1966 and when I started with > computers, I already used 5 ¼ floppy disks. I'm from 59, I used punched cards and paper tape on an IBM-1130 for my start in computing, then went on to teletypes and a DG Eclipse before encountering one of the first TRS-80s in the UK (I said "Nice keyboard where's the computer"). Then I went to college and met an IBM-370. I didn't meet floppies until after college when I worked on the Torch - if anyone remembers it CPN was my idea and Dave Oliver made it good. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Aug 29 19:52:33 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 24EC93BA6D3 for ; Sat, 29 Aug 2020 19:52:33 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bf6Z83vN3z3yYf for ; Sat, 29 Aug 2020 19:52:32 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Bf6Z66ck0zFghG for ; Sat, 29 Aug 2020 12:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1598730750; bh=jcjHbWU8McPKW9V5K9ZZPTkK9gfkSa5Gdu90y7/b5pE=; h=Date:From:To:Subject:In-Reply-To:References:From; b=k2DHQdGiZv20KYf4hIZnO4CLiyPPH6CANFAZ9Q1GmkbTCi7QjXrbP1mBjeJ4wJj+4 RwrulhlPeQc38JHEacu4bEdMgPb+/j8rLNeymq8yLCvW7BDZkaEVDdJqHBZXfL25K3 Ly2sQvAiG53G/R69O2snckkjW14qf9o8kb04/eoA= X-Riseup-User-ID: D5BFBAD78C7E6E1AEED14C8AAC7A68A3C67BA23F6878D372D74F6FE7FBFA85E7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 4Bf6Z61XQVz8tqm for ; Sat, 29 Aug 2020 12:52:30 -0700 (PDT) Date: Sat, 29 Aug 2020 21:52:28 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: (very OT) Ideal partition schemes (history of partitioning) Message-ID: <20200829215228.4f9cada3@archlinux> In-Reply-To: <20200829202753.443f19ae4b9bce24b9161871@sohara.org> References: <20200829154417.8dd5f83d.freebsd@edvax.de> <20200829202753.443f19ae4b9bce24b9161871@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bf6Z83vN3z3yYf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=k2DHQdGi; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-4.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-0.95)[-0.950]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-1.05)[-1.054]; NEURAL_HAM_LONG(-0.97)[-0.968]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 19:52:33 -0000 On Sat, 29 Aug 2020 20:27:53 +0100, Steve O'Hara-Smith wrote: >TRS-80s in the UK (I said "Nice keyboard where's the computer") That was actually one of the first computers I've seen and touched in reality. A spoiled friend of a spoiled friend owned one. Probably after it was discontinued, but with a cassette tape. To me it was way more than a keyboard, it was an inspiration, an amazing "thingy". From owner-freebsd-questions@freebsd.org Sat Aug 29 20:01:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DA6D3BACED for ; Sat, 29 Aug 2020 20:01:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bf6mk1nrcz3ynk for ; Sat, 29 Aug 2020 20:01:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.94.186]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MvJs9-1kTv4g1Y13-00rL4C; Sat, 29 Aug 2020 22:01:35 +0200 Date: Sat, 29 Aug 2020 22:01:34 +0200 From: Polytropon To: Ralf Mardorf Cc: freebsd-questions@freebsd.org, Gene Heskett Subject: Re: (very OT) Ideal partition schemes (history of partitioning) Message-Id: <20200829220134.5515d01e.freebsd@edvax.de> In-Reply-To: References: <20200829154417.8dd5f83d.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Nz2bij+2WynYFc0/FmQl1WoTFUr99u5sqFC93a5ktcp4sVz2a98 k1aJxTFFZSy1VNZxbF3UW1DlKxFejWbbZKWnf0NpYLSnLvip+zqbahd1HWn3WRQ8nxxjD5K dxkjHQivVeQW5CxVUmaAGcOO2uLg87K5/8ADi+jVUtLV789Z3NoNGY3QwptMQPg6olJwoip 74j7BqcDEhqCUXew/ppFQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:CN+doATZ4R0=:vpuHqQx2G+LBku6lHcmjwu LRtRT+z8iaTdmHeSWE/R4SC7K7+akRU++CQwhycDQYlGVTBoK2+jdX36e3piqfWWBqlLcckoG nGoT7hulqN5GDRLsSKqQkC0erotC/XjCE9bRpufmtdxL9aLpVxxHJo0SzNrsdP7JbUH2wBHl4 77XGQXMQ5g78GBJXsoJ948v+evWHQvK6kwHfTCwR358YK6DQvXIyTjI7GflpgictfHHeN64vh TTtn1njaBK19gEFDSxL9mgkiqJvL05EoNlUFgDFrQOl24M8AC3KskJKFD+Tuy2ywZv8zr8FNp lsatmnESO+0xl8B1UQUZhlTi97Bw5/zvbVVMyJXpYspSl6miOOItME63HIxevckJil3/0S6cX DeIUvH5i1OKeJ459DVu0H1DSozuK0WRz7u+YIY9gw/CDA76T48Cne/oWiIcwb9jMWdRbLxmO9 Dluljx+rvZUs71MM9uROmDfMl4PGRIH1QWNRQXFB7BakCIZTR6NtdSlDhBzVkkRGBTuBxZ9zh grKs8oiubobq26v6/NhUuNujKwJnAMDkEFqf9WU2AGxwuO2Rno6nzvT/o8nhJtLeAoVJiR6vE 1qvlyGe3vT3Kl6T+sDxRAI/BxMS4Bxz17qga9Swr6TBRajVXRzPK4HW6i29SL8E5XAWZsXQ/b P/1sGgEsRQopfz51BFKv9srlv9LnJZc7NeW/kH6g47dYkevsozIIMnfLoGr7C5dp0YYcW0znJ o9h599R8BaurhieJzRlhycqlL9FU7jlF0QmStRzKD9gqkW5s0nUpaflXR8eq4PTS6QKXIwNGI xKjVOuMEY/PxnkWuI6l59MzXDlZ3l54WEv3h2g00VulPRkVS6szxP4Hw8Z+xFgjQ5XOMI+P X-Rspamd-Queue-Id: 4Bf6mk1nrcz3ynk X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.34 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-0.35)[-0.345]; RECEIVED_SPAMHAUS_PBL(0.00)[178.5.94.186:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.48)[0.479]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.81)[0.810]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.134:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.134:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 20:01:44 -0000 On Sat, 29 Aug 2020 21:10:16 +0200, Ralf Mardorf wrote: > "Card reader" nowadays is for something else. In specific settings, where programmers are writing programs for today's mainframe systems, you even encounter youngsters picking up terminology from their elderly counterparts; they say things like "My job card isn't working!" or "There is something wrong with the data cards." or even "The object deck cannot be found." They also "print" files, "load" "tapes", "punch" objects, and re-IPL. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Aug 29 22:32:37 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 66A223BFE1E for ; Sat, 29 Aug 2020 22:32:37 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfB6r1H85z4CST for ; Sat, 29 Aug 2020 22:32:35 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 07TMWRNN086933 for ; Sat, 29 Aug 2020 16:32:28 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: chromium startup failure To: FreeBSD Mailing List Message-ID: Date: Sat, 29 Aug 2020 16:31:04 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sat, 29 Aug 2020 16:32:28 -0600 (MDT) X-Rspamd-Queue-Id: 4BfB6r1H85z4CST X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-2.55 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.90)[-0.898]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.46)[-0.462]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.89)[-0.893]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 22:32:37 -0000 I may need to run chromium to manage some gcloud boxes. I was having trouble getting the ssh session to open properly from firefox with noscript, although I've resolved that for now. But just in case, I'd like to get chromium working. FreeBSD 11.3-RELEASE-p6 #0: Tue Jan 28 09:55:39 UTC 2020 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 An older version of chromium seemed to run fine, but since reinstalling all packages a few days ago, it starts but can't connect: $ chrome [7362:562126848:0828/213439.205744:ERROR:browser_dm_token_storage_linux.cc(100)] Error: /etc/machine-id contains 0 characters (32 were expected). [7362:598023168:0828/213439.243376:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7362:598023168:0828/213439.243502:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7362:598023168:0828/213439.267648:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7362:598023168:0828/213439.267774:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7362:632281088:0828/213439.747456:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.518" (uid=1001 pid=7362 comm="") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.UPower" (uid=0 pid=807 comm="") [7362:632281088:0828/213439.747852:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.518" (uid=1001 pid=7362 comm="") interface="org.freedesktop.UPower" member="GetDisplayDevice" error name="(unset)" requested_reply="0" destination="org.freedesktop.UPower" (uid=0 pid=807 comm="") [7362:632281088:0828/213439.748102:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.518" (uid=1001 pid=7362 comm="") interface="org.freedesktop.UPower" member="EnumerateDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.UPower" (uid=0 pid=807 comm="") [7364:562126848:0828/213439.950737:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization $ pkg info | grep chrom chromium-84.0.4147.135 Google web browser based on WebKit There is a machine-id file in /var/lib/dbus, but as nearly as I can tell from various posts that is not the problem. I suspect it is the failed to parse server address that's the issue. I don't know squat about dbus, but the following packages are installed: $ pkg info | grep dbus dbus-1.12.20 Message bus system for inter-application communication dbus-glib-0.110 GLib bindings for the D-BUS messaging system py37-dbus-1.2.16 Python bindings for the D-BUS messaging system py37-qt5-dbussupport-5.13.1_1 Qt event loop support for dbus-python pydbus-common-1.2.16 Common files for the Python bindings for the D-BUS messaging system qt5-dbus-5.14.2 Qt D-Bus inter-process communication module and the following processes are running: $ ps ax | grep dbus 214 - Is 0:00.27 /usr/local/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session 217 - S 0:00.60 /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork 604 - Is 0:00.76 /usr/local/bin/dbus-daemon --system 213 v4 I 0:00.00 /usr/local/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session 9945 8 S+ 0:00.00 grep dbus Is anyone else seeing this and have a solution? Thanks, Gary From owner-freebsd-questions@freebsd.org Sat Aug 29 23:26:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 681C53C0F9F for ; Sat, 29 Aug 2020 23:26:35 +0000 (UTC) (envelope-from bob@proulx.com) Received: from havoc.proulx.com (havoc.proulx.com [96.88.95.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfCK61rQxz4FK9 for ; Sat, 29 Aug 2020 23:26:33 +0000 (UTC) (envelope-from bob@proulx.com) Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id 7C20A47 for ; Sat, 29 Aug 2020 17:26:27 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1598743587; bh=usuGPPzpDYpXk54orev93eeXTLwXlFJiWGno2+NoO3U=; h=Date:From:To:Subject:References:In-Reply-To:From; b=QWSnnEMaGY51qp+LrJmwPh2a50DSPbo0/zCI/Tcx9dGTBAusK8D9xAf6QJ3O99Ugu 2Sl1ELnBtbTdAr2nT6dJvd/GVhl/gFrNuCkF5ulWMxH5+YlKzdYbJCQ7dwzYpgmwLB ab9zfa89LDqdDMEYLkdCAAOY79t+cVJwQ9kOceweuri3npZ/36Oc/pzjKdBdQNFgmQ Itc+Ln8MqS7YL7uWvTZndje11ITB8O4aG45rx0EGIMN8QE923R5vEjKpoTrOk8aSPs 7jT8Mv1/gCxr4XNQE/ZZX1LNhYCEaCBO2Q4tbKRhpz2FoP7qh0kvHUYui9Oof0FZKF tDKRyLyLXEF/Q== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 430FB21152 for ; Sat, 29 Aug 2020 17:26:27 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 3B38A2DC9A; Sat, 29 Aug 2020 17:26:27 -0600 (MDT) Date: Sat, 29 Aug 2020 17:26:27 -0600 From: Bob Proulx To: freebsd-questions@freebsd.org Subject: Re: diff is a little diff -- erent Message-ID: <20200829171622180444664@bob.proulx.com> References: <20200826094948.333c67b0.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4BfCK61rQxz4FK9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proulx.com header.s=dkim2048 header.b=QWSnnEMa; dmarc=none; spf=pass (mx1.freebsd.org: domain of bob@proulx.com designates 96.88.95.61 as permitted sender) smtp.mailfrom=bob@proulx.com X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.976]; R_DKIM_ALLOW(-0.20)[proulx.com:s=dkim2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.960]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[proulx.com]; DKIM_TRACE(0.00)[proulx.com:+]; NEURAL_HAM_SHORT(-0.86)[-0.858]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 23:26:35 -0000 Mehmet Erol Sanliturk wrote: > The trouble is the following : > > A company is making investment to develop a software . > Assume It is based on FreeBSD . If that company uses FreeBSD , by the > effect of GPL parts , the company should also > supply sources of its own proprietary software . Except that is not a requirement of the GPL. > This will destroy the competitive advantage of the company and waste > the investment on the software which is not an acceptable situation > . Trouble caused by GPL is about such cases . Except that is not a requirement of the GPL. This has been discussed many times so I don't think I will detail the arguments again. But I feel compelled to say something here or people will read it and believe that it is true. You may ship your closed source proprietary program on a GPL licensed Linux kernel and mostly GPL licensed userland of commands without providing source for your propriety licensed program. No problem. Bob