From nobody Sat Apr 16 17:40:58 2022 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B79E85D576E; Sat, 16 Apr 2022 17:41:11 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KggTz4jVwz4jsQ; Sat, 16 Apr 2022 17:41:11 +0000 (UTC) (envelope-from kevans@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650130871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XsCroXMuIiJZlntanAJGYBKpRDzhh0TGHnbcy7sIVXk=; b=Vd+rZJ5HmDy0zKvNk9MlsIs3wcNuRRjhlZatY/hqtOXsa4+g+VqB2ZwlQ4X5EAU2OFubDW cdhixDlZF/FOwGbubqUMKNBhhXgVG+8kKR1mDuQ8eKS2nVtzwuU2lIGiddAriuNwfkbQBk xAA05z30hadyQZBRiVVOst/XoCVm2ivXfq6ynQe/Cv2T0qzotD8dnsBfP9vcyKnxYVa7+A Rmp2ncoh57tgXnTr1h94/EXzc0k1u6IDBFU70AM4Dx4Ay+9/B+vnQznm0TW/xYYZSRIuuF kvhDj/uFpKQ+/4mLcAwhvkwIMdTV0s9ksce2+JZUQ5UfnpCdDl2RLj6MSmKM4A== Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 7C27C5152; Sat, 16 Apr 2022 17:41:11 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f51.google.com with SMTP id u19so18489582lff.4; Sat, 16 Apr 2022 10:41:11 -0700 (PDT) X-Gm-Message-State: AOAM5318J1CwuVqYezxIK/ywSmGAuq6VQFG2WBdhdu98c1fzKwUn0QUC da0b09loeDySToAQ8QWFm70G9XY9ymcrlKMA8ao= X-Google-Smtp-Source: ABdhPJw4h4aRK5P+vgpLgLODNpyuGR1vob7Rvw1C8LcfLsGVYOqA6vmaOHMCfXLW4B+NiziF7g0GA83wQC49KQlOL9I= X-Received: by 2002:a19:7b17:0:b0:46e:cb82:fe24 with SMTP id w23-20020a197b17000000b0046ecb82fe24mr2934276lfc.194.1650130869930; Sat, 16 Apr 2022 10:41:09 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: <202204161625.23GGPn6j049380@fire.js.berklix.net> In-Reply-To: From: Kyle Evans Date: Sat, 16 Apr 2022 12:40:58 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: recover deleted file To: Sami Halabi Cc: "Julian H. Stacey" , freebsd-fs , FreeBSD Current , Kirk McKusick Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650130871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XsCroXMuIiJZlntanAJGYBKpRDzhh0TGHnbcy7sIVXk=; b=a5NtZba45eDyk3fsefuqgIt28a2rwH2SSdBqNVzGSUJaKTbfAvWqEDN3Wmoy44Sg0kdVOP CYrYmTqwrzrRLDVJE4xmCzNfJ1pCHpdLM7xToyTYC/B6WGx8HVZoDYOU1ShWwAnNBNG3MT /CDDJGhnxHpks8nUo8fFPNvALCre4lOx+Ojr1X050KxK8PftCS1MEH852o92Qkjd61r+5L XVozASUBBWStwzeZS60E3Ef+pG1aYZ2CAuZTlfEW3ZUyyAks9p44G5Xs4to78LLXPjtyFI vB4MdsPWKKCHm3qdQvuxcxhkHwWXyUT+Ym7Luqzq1r5b9ljNBCZOxtCt+kQDtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650130871; a=rsa-sha256; cv=none; b=fE7Lfq84ht5SbC4a56Uakc6QAVlBdotiO4McihYfrsghxbY0W/7y20OvELrjNVhGPqER7X OxQRLz3pzEbd+YHFktVj1K0tnxlRN20PATMqSPFRUkSxUlu8rPOHSxTnvEEHjhc4TKPF33 8oUVJDjpKzKewAP9H/XrRsG0Eg0e+TLEafetz9kxvttw6w3crR1uR5Aizypcub6liBO7Ap S3bkA9HUUcXhbAb4TySdT5YbY13JgZvXVKPBR5SdB2lUwaJoVc8a37iUFuy/Tz1Ev62zGh HQHwRd/aj9aZcJey0FeJzxFaLgPwURzngrC9i7ii1SNFGBHTZaVUONi1NEjGEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Sat, Apr 16, 2022 at 12:36 PM Sami Halabi wrote: > > Hi, > thanks for your response. > > Would someone from the foundation step in and put it in GSOC ideas? > > kirk@ - would it be possible for you to do it ? :) > Anyone with wiki access is able to add ideas, any student eligible for GSoC is able to propose ideas (regardless of whether we've pitched the ideas on our wiki or not). Thanks, Kyle Evans > > On Sat, Apr 16, 2022 at 7:26 PM Julian H. Stacey wrote: >> >> > okay... >> > all seems very time consuming operations!! >> >> Yes >> >> > There should be an os "undelete" as happens in NTFS for example.. which is >> > very fast and can be done also with extra tools without a hassle. >> >> A WIBNI (Wouldnt It Be Nice If) for Unix FS's for as long as I can remember >> (decades) but no one's ever done it. >> >> Ways to get it done: >> Get it listed as a Google Summer Of Code project for FreeBSD, Or >> >> Get your employer to help pay for it, eg chip in with other BSD >> user companies to pay some money to FreeBSD Foundation, & get >> them to pay for it to be developed. >> >> Or hire are an individual freelance BSD Consultant to do it, >> There's a global index here http://berklix.com/consultants/ >> >> & a mail list that's moderated jobs@freebsd >> >> Some author(s) of BSD FFS are on list fs@, Kirk is one name springs >> to mind ? Some freelancers on fs@ I recall. >> >> IMO Would be a fun job if funded :-) >> >> > >> > for now I got backup from last day .. caused me a lot of troubles, not say >> > legal ones, but I passed the point to hold the machine down. >> > >> > any advice? >> > >> > Maybe UFS developer would do a rework so latest deleted inodes would put in >> > a "recycle bin" (maybe with a sysctl or whatever) for say one day (or any >> > other configurable sysctl) and allow to recover quickly or "force delete / >> > empty recycle bin" , rather than delete and give back space immediately for >> > use and destroy possibility to restore. >> > >> > my 2 cents. >> > >> > Sami >> >> Cheers, >> -- >> Julian Stacey http://berklix.com/jhs/ http://StolenVotes.UK >> Kill / remove Putin to stop him killing & provoking world war. > > > > -- > Sami Halabi > Information Systems Engineer > NMS Projects Expert, FreeBSD SysAdmin Expert > Asterisk Expert