Re: What's happening to my asciidoc?

2013-09-08 Thread David Demelier
On 06.09.2013 22:52, Warren Block wrote:
 On Fri, 6 Sep 2013, David Demelier wrote:
 
 2013/9/6 Warren Block wbl...@wonkity.com:

 asciidoc \
   -a data-uri \
   -a icons \
   -a iconsdir=/usr/local/etc/asciidoc/images/icons \
   -d article \
   -a stylesheet=~/docs/stylesheets/wb-html.css \
   -a toc \
   -a revdate=2013-09-05 \
   -a year=2013 \
   -a max-width=80em \
   pxe.txt

 That stylesheet is just my changes to the default, which change the link
 visited color from pink to red and add rounded corners to listing
 blocks.

 Did you touch the asciidoc configuration ? For me it seems to work
 *only* if I use html5 backend, otherwise it produces this:
 http://www.demelierdavid.fr/article.html.
 
 Not that I recall, and pkg-info -g asciidoc-8.6.8_1 does not show anything.

I've found the problem but can't fix it. The xhtml11.conf is the copy of
wordpress.conf.

I've sent a PR: ports/181869

Note that this only happen when I use pkgng + poudriere.

Regards,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Let People Find You in Google!

2013-09-08 Thread Graham Todd
 Isn't this pure SPAM?  

Why yes it is. Would you prefer it mixed with non-spam to make it more
palatable?

Now, Now, I never expected to see sarcasm on this list:-)

As far as I remember, this post wasn't the only incidence of SPAM that
day, and so I'd have to agree with you.  Until the Mods find a way to
filter most spam (the list will perhaps forgive the odd oversight),
people will call for more and more draconian measures that will not be
really effective.

One way is to make the list a members list where the members have to
agree to a Code of Conduct or the Mods COULD bar them from
participating, but it not the only way  Lets have a non-heated
debate about ways to reduce SPAM on the list in order to get some
consensus, then put any proposal to all the existing list members.

In other words, lets have some democracy when dealing with these thorny
issues.

++ Graham Todd
Email created using gNewSense Linux 3.0 and hardened with
Liberté Linux 2012.3.
Free Software, as free in free speech and freedom


signature.asc
Description: PGP signature


Re: Spam control (was: Let People Find You in Google!)

2013-09-08 Thread Graham Todd
There has indeed been a higher spam:ham ratio on this list of late, 
however making it subscriber-only won't help. The crims need only
spoof the address of someone subscribed to the list to bypass that,
and I suspect a few spammers have registered using false addresses
anyway (leading to a bounce to anyone posting).

Piping it through Spamassassin as it arrives at mx1.freebsd.org, 
although this isn't so effective against people using freemail
accounts. Closing down irresponsibly run freemail operators would be a
big help, but it's not going to happen.

If anyone wants to discuss this OFF LIST, I'm up for it.

Regards, Frank.

Count me in!

++ Graham Todd
Email created using gNewSense Linux 3.0 and hardened with
Liberté Linux 2012.3.
Free Software, as free in free speech and freedom


signature.asc
Description: PGP signature


ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list

I'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:

# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu6   /usr/libexec/getty std.115200 cons25  on secure


But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list


I'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:

# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu6   /usr/libexec/getty std.115200 cons25  on secure


But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ufs recovery

2013-09-08 Thread Laszlo Danielisz
Hi,

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 between 
those two hard drives, because one of the hard drives were not present anymore 
and rsync had the --delete parameter I end up deleting the whole directory, of 
course with precious informations. 

I have ufs on the hdd, after the accident I've turned off the computer to 
avoid any writings on the disk.
Do you have any idea how can I recover the lost directory? 

Thank you!
Laci
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ufs recovery

2013-09-08 Thread Frank Leonhardt

On 08/09/2013 09:46, Laszlo Danielisz wrote:

Hi,

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 between 
those two hard drives, because one of the hard drives were not present anymore 
and rsync had the --delete parameter I end up deleting the whole directory, of 
course with precious informations.

I have ufs on the hdd, after the accident I've turned off the computer to 
avoid any writings on the disk.
Do you have any idea how can I recover the lost directory?

Thank you!
Laci



Hi Laci,

I'm sorry to have to tell you that recovering UFS is not easy. It's not 
like MS-DOS or NFTS at all in that respect. When you delete from UFS it 
removes 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.


I don't know of any public domain utilities that will do what you need. 
EnCase can do something with UFS, and a utility called Raise Data 
Recovery will get stuff from damaged disks. This isn't the same as 
getting back deleted files.


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 formats 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. This is no joke if you've lost a lot of files, 
but worth it if you have one or two vital ones amongst them.


Sorry I can't be of any more comfort. As I'm sure someone will chip in, 
there are things you can do before the event.


Regards, Frank.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fw: ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list

I'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:

#Serial terminlas
#The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu6  /usr/libexec/getty  std.115200 cons25 on secure


But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ufs recovery

2013-09-08 Thread Laszlo Danielisz
Hi Frank,

Thank you very much for the information!
Meanwhile I've found this software: http://www.ufsexplorer.com/, I'm going to 
give a try.


Regards,
Laci

Sent from my mobile. 

On 2013.09.08., at 11:07, Frank Leonhardt freebsd-...@fjl.co.uk wrote:

 On 08/09/2013 09:46, Laszlo Danielisz wrote:
 Hi,
 
 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 between 
 those two hard drives, because one of the hard drives were not present 
 anymore and rsync had the --delete parameter I end up deleting the whole 
 directory, of course with precious informations.
 
 I have ufs on the hdd, after the accident I've turned off the computer to 
 avoid any writings on the disk.
 Do you have any idea how can I recover the lost directory?
 
 Thank you!
 Laci
 
 Hi Laci,
 
 I'm sorry to have to tell you that recovering UFS is not easy. It's not like 
 MS-DOS or NFTS at all in that respect. When you delete from UFS it removes 
 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.
 
 I don't know of any public domain utilities that will do what you need. 
 EnCase can do something with UFS, and a utility called Raise Data Recovery 
 will get stuff from damaged disks. This isn't the same as getting back 
 deleted files.
 
 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 
 formats 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. This is no joke if you've lost a lot of files, but worth it if you have 
 one or two vital ones amongst them.
 
 Sorry I can't be of any more comfort. As I'm sure someone will chip in, there 
 are things you can do before the event.
 
 Regards, Frank.
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ufs recovery

2013-09-08 Thread Frank Leonhardt

On 08/09/2013 10:39, Laszlo Danielisz wrote:
On 2013.09.08., at 11:07, Frank Leonhardt freebsd-...@fjl.co.uk 
mailto:freebsd-...@fjl.co.uk wrote:



On 08/09/2013 09:46, Laszlo Danielisz wrote:

Hi,

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 
between those two hard drives, because one of the hard drives were 
not present anymore and rsync had the --delete parameter I end up 
deleting the whole directory, of course with precious informations.


I have ufs on the hdd, after the accident I've turned off the 
computer to avoid any writings on the disk.

Do you have any idea how can I recover the lost directory?

Thank you!
Laci



Hi Laci,

I'm sorry to have to tell you that recovering UFS is not easy. It's 
not like MS-DOS or NFTS at all in that respect. When you delete from 
UFS it removes 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.


I don't know of any public domain utilities that will do what you 
need. EnCase can do something with UFS, and a utility called Raise 
Data Recovery will get stuff from damaged disks. This isn't the same 
as getting back deleted files.


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 formats 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. This is no joke if you've lost a lot 
of files, but worth it if you have one or two vital ones amongst them.


Sorry I can't be of any more comfort. As I'm sure someone will chip 
in, there are things you can do before the event.


Regards, Frank.



Hi Frank,

Thank you very much for the information!
Meanwhile I've found this software: http://www.ufsexplorer.com/, I'm 
going to give a try.



Regards,
Laci



That's the company that produces the Raise Data Recovery product I 
mentioned. However, I believe it's better for recovering data from a 
broken FS in the case of UFS2, not for undeleteing a whole 
directory/disk full of deliberately deleted files. I just checked, and 
it has a try-before-buy feature so you have nothing to lose. Good luck, 
and please keep us informed!


FWIW I use Pandora for jobs similar to this, although it doesn't 
specifically support UFS. Piriform's Recuva also has its uses. But where 
UFS is involved I've failed to find a magic solution - just recovery 
from a backup unless it's one or two odd files. About the only thing you 
have going for you with UFS is the directory retains the file name after 
deletion if you haven't created any new files over it. But the inode 
(where it is on the disk) is another matter.


Regards, Frank.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: ufs recovery

2013-09-08 Thread Graeme Dargie
Assuming the disk has not been written to, then making a full DD image of the 
drive is your 1st step, then make a copy of that DD image and store it 
somewhere safe in case something goes wrong with the one you are working on. 
You can try Foremost which can recover data even deleted stuff from a DD image, 
there was another package that works on the command line but I cannot recall 
the name of it just now. Your success rate will depend on the type of data you 
are trying to recover, from experience foremost works better on certain types 
of files. 


Regards
Graeme Dargie
-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Laszlo Danielisz
Sent: 08 September 2013 09:47
To: FreeBSD Questions
Subject: ufs recovery

Hi,

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 between 
those two hard drives, because one of the hard drives were not present anymore 
and rsync had the --delete parameter I end up deleting the whole directory, of 
course with precious informations. 

I have ufs on the hdd, after the accident I've turned off the computer to 
avoid any writings on the disk.
Do you have any idea how can I recover the lost directory? 

Thank you!
Laci
___
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ttys file question

2013-09-08 Thread Jack Mc Lauren
Hi list

I'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:

ttyu6    std.115200 cons25  on secure

But I can not connect to my server with this configuration. But if I change 
ttyu6 to cuau6, everything works fine! I don't understand the difference, would 
you please explain the reason for me?

Thanks in advance 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ufs recovery

2013-09-08 Thread Laszlo Danielisz
Thanks Graeme, 

Also my vga card is broken, probably tomorrow I'm getting a new one and I can 
give a try. 




On 2013 September 8 Sunday at 6:16 PM, Graeme Dargie wrote:

 Assuming the disk has not been written to, then making a full DD image of the 
 drive is your 1st step, then make a copy of that DD image and store it 
 somewhere safe in case something goes wrong with the one you are working on. 
 You can try Foremost which can recover data even deleted stuff from a DD 
 image, there was another package that works on the command line but I cannot 
 recall the name of it just now. Your success rate will depend on the type of 
 data you are trying to recover, from experience foremost works better on 
 certain types of files. 
 
 
 Regards
 Graeme Dargie
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Laszlo Danielisz
 Sent: 08 September 2013 09:47
 To: FreeBSD Questions
 Subject: ufs recovery
 
 Hi,
 
 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 between 
 those two hard drives, because one of the hard drives were not present 
 anymore and rsync had the --delete parameter I end up deleting the whole 
 directory, of course with precious informations. 
 
 I have ufs on the hdd, after the accident I've turned off the computer to 
 avoid any writings on the disk.
 Do you have any idea how can I recover the lost directory? 
 
 Thank you!
 Laci
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 
 (mailto:freebsd-questions-unsubscr...@freebsd.org)
 ___
 freebsd-questions@freebsd.org (mailto:freebsd-questions@freebsd.org) mailing 
 list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 
 (mailto:freebsd-questions-unsubscr...@freebsd.org)
 
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ttys file question

2013-09-08 Thread Steve O'Hara-Smith
On Sun, 8 Sep 2013 09:40:44 -0700 (PDT)
Jack Mc Lauren jack.mclau...@yahoo.com wrote:

 But I can not connect to my server with this configuration. But if I
 change ttyu6 to cuau6, everything works fine! I don't understand the
 difference, would you please explain the reason for me?

In short the tty devices are for outgoing connections, the cua
devices are for incoming connections.

For more detail see sio(4), after all the detail about multi-port
serial cards and their master ports comes a couple of paragraphs describing
the devices associated with each serial port in detail.

-- 
Steve O'Hara-Smith st...@sohara.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ttys file question

2013-09-08 Thread jb
Jack Mc Lauren jack.mclauren at yahoo.com writes:

 
 Hi list
 
 I'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:
 
 ttyu6    std.115200 cons25  on secure
 
 But I can not connect to my server with this configuration. But if I
change ttyu6 to cuau6, everything works
 fine! I don't understand the difference, would you please explain the
reason for me?
 
 Thanks in advance 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialcomms.html
26.3. Terminals
26.4. Dial-in Service 
26.5. Dial-out Service

jb





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: ufs recovery

2013-09-08 Thread Polytropon
On Sun, 8 Sep 2013 11:39:08 +0200, Laszlo Danielisz wrote:
 Hi Frank,
 
 Thank you very much for the information!
 Meanwhile I've found this software: http://www.ufsexplorer.com/, I'm going to 
 give a try.

That program was on my famous list of recovery tools for
futile attempts. :-)

I may say that I have the same problem (of unclear origin).
Files have been removed, but the assumption that the data
could still be somewhere is alive. In such situations, you
would usually have two choices:

1. money

Get as much money as you can. You'll need it. Several 1000
euro / dollar / local currency will buy you service at a
company specialized in recovery. There is no guarantee they
will be successful.

2. time

You invest time in learning how UFS works. There are many
excellent articles (especially the authoritative one by
M. K. McKusick). You try out different tools (with different
scope). If you are lucky, you get your data back. (I was
lucky once, got my data back!)

There are _many_ good tools around. Most of them are free,
so you don't need to invest massive amounts of money in a
repeating trial  error process.



Allow me to repeat my list (which gets a little bit modified
each time I post it to this list):

OS tools:

fetch -rR device
recoverdisk

Ports collection:

ddrescue
dd_rescue   - use this to create images to work with
magicrescue
testdisk- restores content
recoverjpeg
foremost
photorec
ffs2recov
scan_ffs
tsk - The Sleuth Kit
fls
dls
ils
autopsy

There are some commercial tools worth mentioning: UFS Explorer
can be run in wine. It probably won't restore your data, but it
can be used to determine if there is something to restore. Also
consider R-Studio and R-Studio Emergency (live CD). Those
offer free versions that can be used for testing.

Finally, I'd like to mention The Sleuth Kit. It's one of the
most powerful toolsets, also used in forensics and investigation.

As I said, I ran into a similar problem (files deleted). Maybe
you can find this discussion thread in the archives and gain
some more inspiration from it. A massive data loss (meanwhile
cured!) brought me to this list, so I continue to spread my
experience about recovery when needed. :-)



Good luck!



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ufs recovery

2013-09-08 Thread Roland Smith
On Sun, Sep 08, 2013 at 10:46:35AM +0200, Laszlo Danielisz wrote:
 Hi,
 
 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 between those two hard drives, because one of the
 hard drives were not present anymore and rsync had the --delete parameter I
 end up deleting the whole directory, of course with precious informations.

Ouch. I have a similar procedure going. But I put it in a shell-script that
mounts the destination _and_ checks if the destination is properly mounted 
_before_
starting the rsync. I would suggest you do something similar in the future.

Just to be clear, was the information deleted from _both_ harddisks?

 I have ufs on the hdd, after the accident I've turned off the computer to
 avoid any writings on the disk.  Do you have any idea how can I recover the
 lost directory?

Do you perhaps have a snapshot of the filesystem in question available? If so,
you can mount that and restore the files from it. See e.g.:
http://www.freebsd.org/doc/handbook/snapshots.html

If all else fails, have a look at sysutils/sleuthkit. Restoring deleted files
on UFS is very difficult, but you can find some pointers here:

http://wiki.sleuthkit.org/index.php?title=FS_Analysis#Manual_Deleted_File_Recovery

It helps if you know what kind of data is contained in the deleted file.

To prevent this from happening again, make regular backups e.g. to an external
harddisk that you use for that purpose alone.


Roland
-- 
R.F.Smith   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp56wP0pv4BG.pgp
Description: PGP signature