From owner-freebsd-questions@freebsd.org Wed Aug 19 16:50: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 886873C42BA for ; Wed, 19 Aug 2020 16:50:54 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR06-DB8-obe.outbound.protection.outlook.com (mail-db8eur06olkn20802.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0f::802]) (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 4BWv192jL3z4Gfw for ; Wed, 19 Aug 2020 16:50:53 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LQLIYxggI+eBUTH0f7Y0aBd8bmlV7Xx51ym24PMlUgB26hrF71LG47cbDf9lENPcWjbYHV4TaPnBtPn2dyVP+MjxOj5A7oLmUMt3we7+gUfWXzzc3DVqSUcjggwpiWD/sBy2RNnGyTotuYMUSrWmdwTKsB6CilRGjx4O8S7zDq6wOtKR8e+8F59XzUqZP+rsRO29+uAr6nb9kBOtIRz0LVWXISrBhHwOkLVH90QhPhC01j30Z2C2jzNB+G8QnZxKX3cz2UXtlvC1GPJmN9B/h1iNprrGkIcqIOnDexam7HwaSR2eu3vkLmtvZ1gNeUXGiDhGNICTDTaegpS1esAzkg== 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=lL9EV8MvtkTJ97fTCZVnOuZBcE2uE+ioW8e/PEbLzOA=; b=lql2lR+D9mXLqPJvZ42jCDLd4mnx+tpWlA7bkWVrdHWX0siql6NUMqnk0XFPfgSlkVFaqEXeVNSNYkw/RYQQITlF7ESMyuDgFm39/n2zbcHlI96YJmSM5lZG5f/Z5kRGZDhNXgDtzYqqf9d9KgsGrzKg5ZAqfPtxzUbN+Rw1ZQfZX+WBl8D6LsEixHJfOzINv+/mcrBRTiY91bfy81pSD3/cK6UEITkJvZZ7qpmN6nd+su+dU7romi4vn0d4MVybARBcRo8MJECPYwgLu0BaWrQaTGxsMXkDnjbsuU36GvzCnf3GYGzHa6jD6uhths9tiGvuNIhwOSVu9AK/Q7KIaw== 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=lL9EV8MvtkTJ97fTCZVnOuZBcE2uE+ioW8e/PEbLzOA=; b=FHenAD5cnFVqlOd9jiXQtA6di6QcYXTq0/jYnrUzeCma401HisU3DsQGhbjTxCWqfMi5SFXonRCPq9XNDEOkGbodr+PQBc8Fet9V8o2MjlrTRIClvyF/ZGd44UTdEwMEDAJnQgwCrWCx764mtW8cezlLCwXXEkKDsUWDSOsrl4/TZvW+tugH2MzafTgAIvqF/2+1bHzmpR7dUKCwHoCMVjzQf2u26L8SQZ7rxc/eKuoL+CGdh+NRrbcGvOZeMjxsF04K3oYeybLfa7nuGp3jwIYF5931eyUGFKwy7OlsJAvljI4lZq9TpEbc8Cbw8EhfjyPxSLGX39T7FQTW1Fwpvg== Received: from DB8EUR06FT052.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::4e) by DB8EUR06HT185.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24; Wed, 19 Aug 2020 16:35:57 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:fc35::4b) by DB8EUR06FT052.mail.protection.outlook.com (2a01:111:e400:fc35::482) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24 via Frontend Transport; Wed, 19 Aug 2020 16:35:57 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:4350EF65F7028F0412A72E6129E68859784EC98B837D2E746EFA5A63BF4407DB; UpperCasedChecksum:C3C8EE887B108C16370ED90383026F0746393342C9CFC041AB3D0D4A02ED845B; SizeAsReceived:9024; 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%7]) with mapi id 15.20.3283.028; Wed, 19 Aug 2020 16:35:57 +0000 Subject: Re: Correct way to disconnect/eject an USB hard disk ? To: freebsd@dreamchaser.org, Polytropon , Christoph Kukulies Cc: Ruben via freebsd-questions References: <20200819142952.3686baa8.freebsd@edvax.de> From: Manish Jain Message-ID: Date: Wed, 19 Aug 2020 22:06:04 +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: 8bit X-ClientProxiedBy: BM1PR01CA0145.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::15) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <950e6ab1-f29d-0bdc-53d7-df8b6a6ef91e@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (45.127.44.42) by BM1PR01CA0145.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24 via Frontend Transport; Wed, 19 Aug 2020 16:35:56 +0000 X-Microsoft-Original-Message-ID: <950e6ab1-f29d-0bdc-53d7-df8b6a6ef91e@hotmail.com> X-TMN: [/EYDbryP5kjbd5OBoO/Rn3+QRhf8w+XU] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1317fa9a-32b9-4a75-e92a-08d8445df324 X-MS-TrafficTypeDiagnostic: DB8EUR06HT185: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2idg6Wsd9Uw31teQGO4D0w3pY20Cp7Pfd6II0cwRPRIjUS0adDZUbUn6oZ1x5KfsIs20r+z7RH6121f2lrGYlr+0kaFt8MXcYbHBuzhR0rB/We+fU89tdG32X1pPUIk2fur6ZMQOBmcbnPQsEKk6+RW09M4FIOQj75Vyty03r9KG89rIPmTs3QSH/KHEszaUUL+4NLTensMvfUiNzNVHrQ== X-MS-Exchange-AntiSpam-MessageData: PTAVZqVHeZWwbemhAU7Cr4h6ktLICcKgxPEXPISyg8e1w4BGK/rYIZBgtNQItUS/9zqfaqNiiF+TJadQNPxD02qZKO0hm5hOAufPBTZulDe16btDGZMD4nsuzJ8iPQMrf06uT4UjcywMMgM6TCjY4g== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1317fa9a-32b9-4a75-e92a-08d8445df324 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2020 16:35:57.7881 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT052.eop-eur06.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: DB8EUR06HT185 X-Rspamd-Queue-Id: 4BWv192jL3z4Gfw X-Spamd-Bar: +++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=FHenAD5c; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 2a01:111:f400:fe0f::802 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [9.13 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2a01:111:f400::/48:c]; FREEMAIL_FROM(0.00)[hotmail.com]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[45.127.44.42:received]; 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)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[45.127.44.42:received]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_SPAM_SHORT(0.63)[0.633]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; BAD_REP_POLICIES(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; 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, 19 Aug 2020 16:50:54 -0000 On 2020-08-19 21:12, Gary Aitken wrote: > Can you explain why I have seen umount commands return, and then the > USB device "activity" light keeps blinking?  I have on occasion waited > for a while and it keeps blinking, and eventually I just unplugged it. No idea, Gary. But umount only returns when pending I/O has been flushed to the device. If the device's activity LED still keeps blinking, there are two explanations I can think of : 1) The LED sensor is either faulty or is simply signalling availability of power (in case there is no separate power LED). 2) The device has some internal flash storage intermediate to its main storage area. While umount could return when data has been sent into the flash buffer, the device still has to internally reallocate the data to main storage (as might be the case with SSHD: solid state hybrid disk). In such case, it would be prudent to wait for the LED to stop blinking before unplugging the device. But if the LED keeps blinking forever, I would think there is some fault with the LED itself. Poly, your comments ? Regards, Manish Jain