Yes. I once managed to trash my/home partition. (Ironically, I was upgrading from ext2 to ext3 and I ran mke2fs -j instead of tune2fs -j!)
To recover the files, all I did was..
1) Use dd to make a copy of the partition
2) Consult/etc/magic for the headers of the file types I wanted.
3) Used a binary grep utitlity to find the starting point of those files
3) Used dd to grab an arbitary sized chunk of the partition
4) Found out that after exactly 48k of each file there was a 4k block of junk
5) used dd to assemble a new file with the 4k of junk missing
6) Found what end tag each file type used and remove the junk after it (with dd of course). Alternatively, I could have opened and resaved the file in whatever app that could handle it, and that would have trimmed the junk as well.
It took about 2 hours total to figure out how to do it, despite having no previous experience with filesystem debugging/etc
Of course, I wasn't using RAID, but I would bet that your chances of recovering ext2/3 stuff are much much higher than reiser, whatever the underlying hardware.
...so I don't know what it can do, but you could take a look at xwgui.
This is an arrange the photos and print them out type of software, but it lets you do other things besides, and it has some assistents for specific tasks, that I presume you can add to.
Unfortunately, it uses the XForms widget set, so it looks pretty ugly. Also I had to mess about with my fontpath to put my 75dpi before everything else in order to see some of the dialog boxes properly.
I would love to see this app ported to qt or gtk, and a few other features added.
Is this so wise?
on
Pain-free mice
·
· Score: 4, Insightful
I think one of the reasons we feel pain is so that we don't do stupid things...
Be very close to fire.
Touch very sharp things.
Drink/spill other people's pints, or look at their women
So if we now have painkillers that kill all pain, there are going to be a lot of mutillated people in future generations!
While you are waiting for the other chap to get back to you, why don't you tell me how to, in IIS, do this...
Take a back up of your working configuration.
Then make the change you want, but leave the old version in place, but commented out.
Also, add a text comment in the configuration file, explaining the change you made, who made it, when and why.
I'm not going to give you any artificial restrictions, so you can click as much as you like. But if you want to install extra software on the server, then make sure it is approved by Change Management.
For bonus points, explain how you would do this sitting on a beach with just your Nokia communicator for company.
Couldn't find it in the Economist, it was one of those articles they have in a little box possibly related to another article.
I did manage to dig up this though, written in 1999 by one of the Authors (Ernst Fehr) of today's story. It seems related to what I was talking about, but either a) it isn't, b) the Economist developed it further, or c) I remembered badly.
This "game" sounds like a development of one which I read in The Economist a few years ago.
In that, the idea was a group of people had 10 beans , of which some were added to the pot and the rest were kept by the participant. At the end, the he pot was shared amongst all, and the goal was to maximise the indivuduals holding (with no concept of punishment).
This was carried out at a university (where else?) and it found that while students of most disciplines did the same thing, kept five and shared five, (only) students of economics kept 9 and shared 1. The summary of The Economist wondered whether this was cause or effect of studying economics.
I wonder if people like Linus Torvalds, Alan Cox, ESR et al would keep 1 and share 9, and whether Bill Gates and co would behave more like economists.
Now unless the Unix in this story means "Big Expensive Unix on non-IA-32 Architectures" it shouldn't be too tricky to get it working. Plus, you have the source code.
Of course, the irony is that the House of Lords isn't yet democratically elected. And once it is, there is far less chance of upsets like this happening.
What kind of machine is it at the client's site? If it is W2K you could use rdesktop. This is apparently a fairly chatty protocol (compared with Citrix at least) but it is probably more CPU efficient.
However, as another poster said, I think the KVM is the way to go, for the same reasons.
In the UK (and Europe) you want to look at Jobserve. Lots of/All agencies advertise their jobs there, and after the first contact things are done through them (such as suggesting other positions).
It's where I found my current job, and where most people I know who have used the net to find work found theirs.
Related to that is an advert in the UK for a PC with "Intel's fastest ever Pentium IV processor" - nice and specific that, but they go on to say how this wonderful new chip means "Faster Internet". WTF? How is a P4 going to speed up the internet? Maybe if you had a crappy winmodem a pentium 100 would be faster than a 486, but nowadays?
The only advert which pisses me off more are those which tell you can "Own it now DVD" - which I think I will complain about, on the grounds that if I owned the film I would be able to do what I liked with it, including giving a copy to all my friends.
Then its a shame that you weren't paying attention when this was written.
Yup, either Ekrout is an alias of Bowie J. Poag (as another poster pointed out) or he is shamefully plagarising, and so the mods for once have done their job, although I'm sure some one else will mod me done for pointing this out.
If you're curious, check out these previous articles from Slashdot. They report of a Spanish user group, who benchmarked JFS, XFS, Reiser, ext2 and Fat32. The only one missing was ext3, and I for one would like to see them revisit these tests, as they seemed to do it well:
Out of curiosity, when was this test done? I ask because it seems odd to have used kernel 2.4.2 (which came out, what, in February?) and also to not have benchmarked ext3. Especially as this is the filesystem which has had almost no performance tests done (or at least, linked form/.) so far, unlike the others.
It's a shame that there isn't a url to see more/find the methodology used, etc.
Do you realise that you are the only other person I have seen who has made the MSX -> MSX Box connection, in all the X Box articles I 've seen? Amazing.
I have a Sparc at home with an uptime of 180 days, and counting. My workstation here at work was up for 120 days until a power outage, the same reason for the last reboot. The longest a box I admin was up was 670 days, until that had to be powered off because of work in the datacentre. So yes, if you are impressed by 9 weeks then your standards have been set too low.
Rox is great. So refreshing to use a filemanager that doesn't have its own HTML renderer. As a result (probably of more things than just that, I suppose) Rox flies.
WARNING!!!!! I have just learned that the new Microsoft Media
Player EULA includes a clause that says they can *automatically*
modify the software on your system, without any confirmation from
you required! In other words, they can disable your software, or
force an upgrade so that FreeMe won't work, just because they feel
like it. Be careful out there!
If you had read the article, you would see that first they discuss why they are having a 1.0 release, and then go on to say how it has lots of things to do with freezing APIs and providing a solid basis for future changes.
Moderators, please don't mod the parent up. This karma whore has enough already.
I have 2.4.19 on my SS20 (60mhz cpu). It took ~150 minutes to compile, but once done, it works a treat.
Yes. I once managed to trash my /home partition. (Ironically, I was upgrading from ext2 to ext3 and I ran mke2fs -j instead of tune2fs -j!)
/etc/magic for the headers of the file types I wanted.
To recover the files, all I did was..
1) Use dd to make a copy of the partition
2) Consult
3) Used a binary grep utitlity to find the starting point of those files
3) Used dd to grab an arbitary sized chunk of the partition
4) Found out that after exactly 48k of each file there was a 4k block of junk
5) used dd to assemble a new file with the 4k of junk missing
6) Found what end tag each file type used and remove the junk after it (with dd of course). Alternatively, I could have opened and resaved the file in whatever app that could handle it, and that would have trimmed the junk as well.
It took about 2 hours total to figure out how to do it, despite having no previous experience with filesystem debugging/etc
Of course, I wasn't using RAID, but I would bet that your chances of recovering ext2/3 stuff are much much higher than reiser, whatever the underlying hardware.
...so I don't know what it can do, but you could take a look at xwgui.
This is an arrange the photos and print them out type of software, but it lets you do other things besides, and it has some assistents for specific tasks, that I presume you can add to.
Unfortunately, it uses the XForms widget set, so it looks pretty ugly. Also I had to mess about with my fontpath to put my 75dpi before everything else in order to see some of the dialog boxes properly.
I would love to see this app ported to qt or gtk, and a few other features added.
I think one of the reasons we feel pain is so that we don't do stupid things...
Be very close to fire.
Touch very sharp things.
Drink/spill other people's pints, or look at their women
So if we now have painkillers that kill all pain, there are going to be a lot of mutillated people in future generations!
While you are waiting for the other chap to get back to you, why don't you tell me how to, in IIS, do this...
Take a back up of your working configuration.
Then make the change you want, but leave the old version in place, but commented out.
Also, add a text comment in the configuration file, explaining the change you made, who made it, when and why.
I'm not going to give you any artificial restrictions, so you can click as much as you like. But if you want to install extra software on the server, then make sure it is approved by Change Management.
For bonus points, explain how you would do this sitting on a beach with just your Nokia communicator for company.
Couldn't find it in the Economist, it was one of those articles they have in a little box possibly related to another article.
I did manage to dig up this though, written in 1999 by one of the Authors (Ernst Fehr) of today's story. It seems related to what I was talking about, but either a) it isn't, b) the Economist developed it further, or c) I remembered badly.
This "game" sounds like a development of one which I read in The Economist a few years ago.
In that, the idea was a group of people had 10 beans , of which some were added to the pot and the rest were kept by the participant. At the end, the he pot was shared amongst all, and the goal was to maximise the indivuduals holding (with no concept of punishment).
This was carried out at a university (where else?) and it found that while students of most disciplines did the same thing, kept five and shared five, (only) students of economics kept 9 and shared 1. The summary of The Economist wondered whether this was cause or effect of studying economics.
I wonder if people like Linus Torvalds, Alan Cox, ESR et al would keep 1 and share 9, and whether Bill Gates and co would behave more like economists.
Haven't you come across this which gives you a /dev/random (and /dev/urandom) - even on 2.5.1?
It is a shame that there isn't a website where you can enter search words and find what you are looking for.
Now unless the Unix in this story means "Big Expensive Unix on non-IA-32 Architectures" it shouldn't be too tricky to get it working. Plus, you have the source code.
Check here.
If anything, that would make it submarine. Which is probably where life started here on earth too.
Of course, the irony is that the House of Lords isn't yet democratically elected. And once it is, there is far less chance of upsets like this happening.
What kind of machine is it at the client's site? If it is W2K you could use rdesktop. This is apparently a fairly chatty protocol (compared with Citrix at least) but it is probably more CPU efficient.
However, as another poster said, I think the KVM is the way to go, for the same reasons.
In the UK (and Europe) you want to look at Jobserve. Lots of/All agencies advertise their jobs there, and after the first contact things are done through them (such as suggesting other positions).
It's where I found my current job, and where most people I know who have used the net to find work found theirs.
Related to that is an advert in the UK for a PC with "Intel's fastest ever Pentium IV processor" - nice and specific that, but they go on to say how this wonderful new chip means "Faster Internet". WTF? How is a P4 going to speed up the internet? Maybe if you had a crappy winmodem a pentium 100 would be faster than a 486, but nowadays?
The only advert which pisses me off more are those which tell you can "Own it now DVD" - which I think I will complain about, on the grounds that if I owned the film I would be able to do what I liked with it, including giving a copy to all my friends.
Thanks for listening
Then its a shame that you weren't paying attention when this was written.
Yup, either Ekrout is an alias of Bowie J. Poag (as another poster pointed out) or he is shamefully plagarising, and so the mods for once have done their job, although I'm sure some one else will mod me done for pointing this out.
If you're curious, check out these previous articles from Slashdot. They report of a Spanish user group, who benchmarked JFS, XFS, Reiser, ext2 and Fat32. The only one missing was ext3, and I for one would like to see them revisit these tests, as they seemed to do it well:
The first attempt
The second
(PS, your post should really have been modded as redundant, but who cares as Slashdot is owned by VA Linux - the home of redundancies)
Out of curiosity, when was this test done? I ask because it seems odd to have used kernel 2.4.2 (which came out, what, in February?) and also to not have benchmarked ext3. Especially as this is the filesystem which has had almost no performance tests done (or at least, linked form /.) so far, unlike the others.
It's a shame that there isn't a url to see more/find the methodology used, etc.
Do you realise that you are the only other person I have seen who has made the MSX -> MSX Box connection, in all the X Box articles I 've seen? Amazing.
The edge of time. Wonderful game, download it now.
I have a Sparc at home with an uptime of 180 days, and counting. My workstation here at work was up for 120 days until a power outage, the same reason for the last reboot. The longest a box I admin was up was 670 days, until that had to be powered off because of work in the datacentre. So yes, if you are impressed by 9 weeks then your standards have been set too low.
Rox is great. So refreshing to use a filemanager that doesn't have its own HTML renderer. As a result (probably of more things than just that, I suppose) Rox flies.
There is of course a fourth possibility, that this is really, really OLD NEWS!. Note the date on that article, August 10, 2000!!!!!
Honestly, loading up slashdot is like looking through a time warp. News for afghan cow herds, stuff that happened yonks ago and no longer matters!
It will work for a while but for how long?
If you had read the article, you would see that first they discuss why they are having a 1.0 release, and then go on to say how it has lots of things to do with freezing APIs and providing a solid basis for future changes.
Moderators, please don't mod the parent up. This karma whore has enough already.