Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-22 Thread Tony Nelson
On 18-09-22 00:44:17, Ranjan Maitra wrote: ... Is this the right thing to do? Probably. I expect the affected files to contain NULs, which you could search for. Then you'd know that you have the correct files and where the damage is. -- __

Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-22 Thread Roger Heflin
If you have the original disk and can mount the filesystem then do this: create a script like this and call it say /dir/testcatfile: cat $1 > /dev/null RC=$? if [ ${RC} != 0 ] ; then echo "$1 is corrupt" fi chmod +x /dir/testcatfile Then do this: find /tmp -type f -exec /dir/testcatfile {} \;

Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-22 Thread Ranjan Maitra
We do have the original disk. Just making sure before we do this: does it matter that it is an xfs system? Many thanks, Ranjan On Sat, 22 Sep 2018 14:09:02 -0500 Roger Heflin wrote: > If you have the original disk and can mount the filesystem then do this: > > create a script like this and ca

has anyone used the ausdom 335 camera

2018-09-22 Thread Howard Howell
Hi, guys, Looking for an inexpensive webcam. Found this on Amazon: Ausdom 335 1080P camera: https://www.amazon.com/dp/B07D7SDQZL/ref=sspa_dk_detail_2?psc=1 Anyone used this on Fedora? ___ users mailing list -- users@lists.fedoraproject.org To

Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-22 Thread Roger Heflin
The find trick works on all filesystems, it only relies on the scsi layer returning the io error back to the cat command. On Sat, Sep 22, 2018 at 3:11 PM Ranjan Maitra wrote: > > We do have the original disk. Just making sure before we do this: does it > matter that it is an xfs system? > > Many

Re: has anyone used the ausdom 335 camera

2018-09-22 Thread Ed Greshko
On 9/23/18 5:30 AM, Howard Howell wrote: > Looking for an inexpensive webcam. Found this on Amazon: > Ausdom 335 1080P camera: > https://www.amazon.com/dp/B07D7SDQZL/ref=sspa_dk_detail_2?psc=1 > > Anyone used this on Fedora? I'm not.  But someone has a video on their AW615 and it is working

Re: has anyone used the ausdom 335 camera

2018-09-22 Thread Roger Heflin
A logitech 920 is $50 on amazon. Not sure I would mess with another brand for a few dollars savings. The 920's I have used worked well with fedora and were really clear. On Sat, Sep 22, 2018 at 4:31 PM Howard Howell wrote: > > Hi, guys, > Looking for an inexpensive webcam. Found this on

offtopic questions??

2018-09-22 Thread bruce
Hi list. I'm working on a project, and although it has nothing to do with fedora.. I'd lik eot know if it might be ok to post questions here. With no one around me physically/in my current area, and I can't find any targeted site/message group, thought I'd ask here... My project involves crawling

Re: offtopic questions??

2018-09-22 Thread Ed Greshko
On 9/23/18 6:21 AM, bruce wrote: > I'm working on a project, and although it has nothing to do with > fedora.. I'd lik eot know if it might be ok to post questions here. > With no one around me physically/in my current area, and I can't find > any targeted site/message group, thought I'd ask here..

Re: offtopic questions??

2018-09-22 Thread bruce
Hi Ed.. Thanks for the reply. My questions would probably be how to speed up something, or how to possibly redo/re-architect part of the crawl process. As an example, I have a situation where I use cheap cloud vms (digitalocean) to perform the fetches. The fetches are basic "curl" with the requi

Re: OT: finding damaged files on an XFS filesystem (Was Re: OT: fastest way to copy one drive to another)

2018-09-22 Thread Cameron Simpson
On 22Sep2018 14:09, Roger Heflin wrote: If you have the original disk and can mount the filesystem then do this: create a script like this and call it say /dir/testcatfile: cat $1 > /dev/null RC=$? if [ ${RC} != 0 ] ; then echo "$1 is corrupt" fi Just a shell remark: because the shell consid

Re: offtopic questions??

2018-09-22 Thread Cameron Simpson
On 22Sep2018 19:10, bruce wrote: My questions would probably be how to speed up something, or how to possibly redo/re-architect part of the crawl process. Well, it is technically not Fedora specific, but this place seems the most active shell-related list I'm on. So "how do I improve this web

Re: has anyone used the ausdom 335 camera

2018-09-22 Thread Howard Howell
On Sun, 2018-09-23 at 06:14 +0800, Ed Greshko wrote: > On 9/23/18 5:30 AM, Howard Howell wrote: > > Looking for an inexpensive webcam. Found this on Amazon: > > Ausdom 335 1080P camera: > > https://www.amazon.com/dp/B07D7SDQZL/ref=sspa_dk_detail_2?psc=1 > > > > Anyone used this on Fedora? >