Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2013 02:21:08 -0700 (PDT)
From:      Jack Mc Lauren <jack.mclauren@yahoo.com>
To:        FreeBSD Global Users Mailing List <freebsd-questions@freebsd.org>
Subject:   Fw: ttys file question
Message-ID:  <1378632068.83931.YahooMailNeo@web160105.mail.bf1.yahoo.com>
In-Reply-To: <1378629512.73101.YahooMailNeo@web160101.mail.bf1.yahoo.com>
References:  <1378628779.65714.YahooMailNeo@web160101.mail.bf1.yahoo.com> <1378629512.73101.YahooMailNeo@web160101.mail.bf1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <owner-freebsd-questions@FreeBSD.ORG>
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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <laszlo_danielisz@yahoo.com>
Subject: Re: ufs recovery
Date: Sun, 8 Sep 2013 11:39:08 +0200
To: Frank Leonhardt <freebsd-doc@fjl.co.uk>
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" <freebsd-questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=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 <freebsd-doc@fjl.co.uk> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1378632068.83931.YahooMailNeo>