From owner-freebsd-questions@FreeBSD.ORG Sun Sep 8 09:21:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5FDE4EBA for ; Sun, 8 Sep 2013 09:21:17 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm26-vm0.bullet.mail.bf1.yahoo.com (nm26-vm0.bullet.mail.bf1.yahoo.com [98.139.213.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0EA5623CE for ; Sun, 8 Sep 2013 09:21:16 +0000 (UTC) Received: from [98.139.215.140] by nm26.bullet.mail.bf1.yahoo.com with NNFMP; 08 Sep 2013 09:21:09 -0000 Received: from [98.139.212.209] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 08 Sep 2013 09:21:09 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 08 Sep 2013 09:21:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 634474.54650.bm@omp1018.mail.bf1.yahoo.com Received: (qmail 87820 invoked by uid 60001); 8 Sep 2013 09:21:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1378632069; bh=CvtuHLDoHKgedwRh5m5FFe/MovQPGZJiBb4u8WYFK0g=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LXlkOT97Lg1K+1/o/N25c7XfJ9UA2+xIA1ScYIJq+6PaP8UmBLlsT/+Eb3tXRn9t1dWSFtgbv2FJz4tQxSILp+zwoO7H6YxpninCLGfhW05IDdTIcP6c6gGBeFqgGZKKB1Z6kcuit55xVH2UX3jCuqUOqWKNT4Wun9t0tq+CEc0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=HTymz6h880+ohPeCs8WpNhNqiPA5q6mxou2xBnU4zlEx7vnX5MNReYJ5Au0Smco0H888SFJVJv/WOZb/A5TzPs4E2BUED71NqBbqKjPDA3GSfrM1yHTvj7NPW1EpiGSOfz0o1DLWiU59S5D7ft3Y4cEOH4eQhQcvkAPDuYBOvSM=; X-YMail-OSG: v8HDAaQVM1k.fzIbkg0vfOJ0mKGKGtlxT5MyWEjTTJ4lyGz YR61JIqwp5Vquk2iqeipWYmdanm_AdVg8Uaa59Jku6DiiTGKFiXVGJoyQxnI C.U3UBzG3iPwe7XmBM7iEiXyVrqwlMQPZRUuI8OP7nKOVr0MTkiSvSQ3a3Rn zW6OeEtb6iBC56u.qJYgQc74egYTWoEZqrO676ZJZZYa1sLGELAUXMY3wTde ptxyJ_z9hZW891uUcVgxFykTVbhPJWSpCwvjgz2Crm7Ek.6M_JKjwf_jUUPu QfqgOUSQBpFM0B5dLBFyW0a3a3p7glk_5lfaslT0rizRDcV244DEe8wNtQDC W__ku.LFyE_kqUrpGf_z0DEt2n6cAar4rw1bIBUNftRJ2638C6kmKUcD76IQ kfZZ_ycLSnqi4WrEGhIrfzvhIGJLXpq2hJ8lS1ZIh1fkmpn1FHFntUZGk6_K 2J_8haDt5Z0zeWkl.5AaR6Bed7kcdlD3TKByC5wFVkQBATPXKjaA0Sy9VcqA OpSPb4oN6LC73_r7M Received: from [89.165.120.140] by web160105.mail.bf1.yahoo.com via HTTP; Sun, 08 Sep 2013 02:21:08 PDT X-Rocket-MIMEInfo: 002.001, SGkgbGlzdAoKSSdtIHRyeWluZyB0byBjb25uZWN0IHRvIG15IHNlcnZlciB2aWEgYSBzZXJpYWwgcG9ydCB3aGljaCBpcyBuYW1lZCB0dHl1NiB1bmRlciBGcmVlQlNELiBJbiBvcmRlciB0byBkbyB0aGF0LCBJJ3ZlIGRlY2lkZWQgdG8gY2hhbmdlIC9ldGMvdHR5cyBmaWxlIGxpa2UgdGhpczoKCiNTZXJpYWwgdGVybWlubGFzCiNUaGUgJ2RpYWx1cCcga2V5d29yZCBpZGVudGlmaWVzIGRpYWxpbiBsaW5lcyB0byBsb2dpbiwgZmluZ2VyZCBldGMuCnR0eXU2IMKgIi91c3IvbGliZXhlYy9nZXR0eSDCoHN0ZC4BMAEBAQE- X-Mailer: YahooMailWebService/0.8.156.576 References: <1378628779.65714.YahooMailNeo@web160101.mail.bf1.yahoo.com> <1378629512.73101.YahooMailNeo@web160101.mail.bf1.yahoo.com> Message-ID: <1378632068.83931.YahooMailNeo@web160105.mail.bf1.yahoo.com> Date: Sun, 8 Sep 2013 02:21:08 -0700 (PDT) From: Jack Mc Lauren Subject: Fw: ttys file question To: FreeBSD Global Users Mailing List In-Reply-To: <1378629512.73101.YahooMailNeo@web160101.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 09:21:17 -0000 Hi list=0A=0AI'm trying to connect to my server via a serial port which is = named ttyu6 under FreeBSD. In order to do that, I've decided to change /etc= /ttys file like this:=0A=0A#Serial terminlas=0A#The 'dialup' keyword identi= fies dialin lines to login, fingerd etc.=0Attyu6 =A0"/usr/libexec/getty =A0= std.115200" cons25 on secure=0A=0A=0ABut I can not connect to my server wit= h this configuration. But if I change ttyu6 to cuau6, everything works fine= ! I don't understand the difference, would you please explain the reason fo= r me?=0A=0AThanks in advance=A0=0A_________________________________________= ______=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.= org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail to "= freebsd-questions-unsubscribe@freebsd.org"=0A______________________________= _________________=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lis= ts.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send an= y mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Sep 8 09:39:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D6B23B6 for ; Sun, 8 Sep 2013 09:39:15 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from nm2-vm1.bullet.mail.ird.yahoo.com (nm2-vm1.bullet.mail.ird.yahoo.com [77.238.189.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1B60B245C for ; Sun, 8 Sep 2013 09:39:14 +0000 (UTC) Received: from [77.238.189.237] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 08 Sep 2013 09:39:13 -0000 Received: from [46.228.39.65] by tm18.bullet.mail.ird.yahoo.com with NNFMP; 08 Sep 2013 09:39:13 -0000 Received: from [127.0.0.1] by smtp102.mail.ir2.yahoo.com with NNFMP; 08 Sep 2013 09:39:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1378633153; bh=K7+RPB4gCn9Kx9oqYChAf16o13C7O0nWMzuROBcxCrs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:References:Mime-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=hGispBAvE9+q49FrMM3OEMjg61/tHFmsRHrLg/cYr/FH2mjYNnhpQnnB50sj/Jdhtj8SqEzRU1qrR3lKkaqbL5zf9ZOK+rQeQuZiRp/FdVIWWrALoz8l5NTbIDon+z4ACaGFd/fFozoTPNbkGTaHYhqS4KI2bwfq9e8Bq+tyaXI= X-Yahoo-Newman-Id: 114223.7970.bm@smtp102.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 8IyLG2oVM1mlQ3_0z9bAGH4p8NXjHQ.C10csi8PKCDE02dP sQ3C6ytPbMIWwzyAiGlTG9X6xf0eMVcAFvRz17EF.QSR1SZDnvCwJ04J_qW5 gRK9G86UvSMe8PijZR_BTeV.eaGmL.lOYdrk2GyuUcz55sN1VKE0p4Qv63oK Lj814UK733cM.N0ggpCYyDV8hr7q0zRCSvwHrUU4ceZ6gVyHl_QNS_nueFAP e24zKmD1eZrh6QbdtPqZJ5ZUV0lo6yDcR_gWHWqnHGE0XHN7MQlzuEAEC54K bMPtXlg5UZtoIr3_OM4fC9tiRUl6hoSChpKA57g4PXlR641B22IvOBS.z0fw 2ZU02Tui89mYV2DSLT9_1brJt0DGdw0UFpt1GUQN_kqvb4q8Ofb6viKnLKGJ iNa46adgF1IiYzyTlX44lXd4d.gIcBE4wIUWj14UvYgHfa_08yAq2Fh8TccL Km8kqs2.pcQVofyT5TPJhMKXTp5UDmoz9U9QhZ67Sgc_rC7xvWr7pQUzvifq tniAzdvMhVOz2NkEZAm6uDuFhjkUdIyaOnG4Nw.HKxOx082YL8z16TmQOuc2 9okHkKfrguCm0HWAA X-Yahoo-SMTP: QwgFOT2swBC9RbEk7L61j8D8oTJpwuBOkZBcLzY- X-Rocket-Received: from [192.168.1.10] (laszlo_danielisz@80.98.102.209 with ) by smtp102.mail.ir2.yahoo.com with SMTP; 08 Sep 2013 09:39:13 +0000 UTC References: <58B8F61A39614B629030FE4BE8DDF33B@yahoo.com> <522C3E5B.3070005@fjl.co.uk> Mime-Version: 1.0 (1.0) In-Reply-To: <522C3E5B.3070005@fjl.co.uk> Message-Id: <22241A2D-878A-42F5-9DB1-3767B15041CD@yahoo.com> X-Mailer: iPhone Mail (10B329) From: Laszlo Danielisz Subject: Re: ufs recovery Date: Sun, 8 Sep 2013 11:39:08 +0200 To: Frank Leonhardt Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 09:39:15 -0000 Hi Frank, Thank you very much for the information! Meanwhile I've found this software: http://www.ufsexplorer.com/, I'm going t= o give a try. Regards, Laci Sent from my mobile.=20 On 2013.09.08., at 11:07, Frank Leonhardt wrote: > On 08/09/2013 09:46, Laszlo Danielisz wrote: >> Hi, >>=20 >> By mistake I forgot to edit my crontab on my FreeBSD 8.3 after I took out= one of the hard drives. >> I had a little rsync script which I used to synchronise a directory betwe= en those two hard drives, because one of the hard drives were not present an= ymore and rsync had the --delete parameter I end up deleting the whole direc= tory, of course with precious informations. >>=20 >> I have ufs on the hdd, after the "accident" I've turned off the computer t= o avoid any writings on the disk. >> Do you have any idea how can I recover the lost directory? >>=20 >> Thank you! >> Laci >=20 > Hi Laci, >=20 > I'm sorry to have to tell you that recovering UFS is not easy. It's not li= ke MS-DOS or NFTS at all in that respect. When you delete from UFS it remove= s inode data and adds the space released to the free block list. It's a one-= way process; there is no journalling and no way to undo any of it. >=20 > I don't know of any public domain utilities that will do what you need. En= Case can do something with UFS, and a utility called "Raise Data Recovery" w= ill get stuff from damaged disks. This isn't the same as getting back delete= d files. >=20 > The only option I've ever found to work is to scan the disk's free blocks (= all of them in your case) with a utility that recognises specific file forma= ts and pieces the file together using the contents it reads from each block,= using "best guess" and manual choice to decide which the next block is. Thi= s is no joke if you've lost a lot of files, but worth it if you have one or t= wo vital ones amongst them. >=20 > Sorry I can't be of any more comfort. As I'm sure someone will chip in, th= ere are things you can do before the event. >=20 > Regards, Frank. >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g"