Home
entries friends calendar user info Daniel J. Doughty
Friends

Advertisement

darkmatterhari
[info]linux
[info]darkmatterhari
Add to Memories
Tell a Friend
I'm trying to set up a union filesystem to serve up a boot image for PXE thin clients. So far I've been completely unsuccessful in anything more that beating my head against my desk.

I'll be running it on Debian (lenny) and for now I'm just working with the union idea in a test VM. The PXE and NFS stuff will come after I prove that this can reasonably work.

I'm working with unionfs-fuse but I'm also open to funionfs. I looked at aufs but I think it's more complexity than we need. I'm pretty sure I've got the basic idea here but it doesn't seem to be working so I could be wrong in my understanding.

Can anyone tell me what I'm doing wrong? )

Update: Okay, I've got the union working but the copy-on-write/editing part is still screwed up. I think I was getting confused between unionfs-fuse, funionfs, and unionfs as I was struggling to find documentation for any. I rolled back my vm to the base Debian image, installed unionfs-fuse through apt-get, and am now here:
Updated issue )

Current Mood: frustrated

simbab
[info]linux
[info]simbab
Add to Memories
Tell a Friend
I have a Qt application I need to run on Mac OS X. It's going to be a "portable" application, as in, download the .app bundle inside a ZIP file and run it. No installs, no admin privileges assumed. Due to the way Mac OS X works, it is possible to take a regular, dynamically-linked executable that is linked to Qt and put the .dylib binaries (libQtCore.4.dylib, etc.) inside the bundle and the linker will find them.

This is pretty expensive in terms of application size, however, considering I am download the app from my home server which only has a 1Mbps uplink. If I split the Universal binaries into separate bundles and compress them in ZIP files, a single (i386 or ppc) download weighs in at about 6MB. This is not bad, but I wondered if I could go one better by using static linking to include Qt.

My question is this—is static linking intelligent enough to jettison functions of Qt that I don't touch at all, thus potentially further reducing the size of the resultant binary? I tried static linking on Linux and came up with a binary that was about 6MB, or around 3MB compressed using gzip or ZIP.

I can also configure out things I don't need (e.g. WebKit, SQL support, Qt3 compatibility) since I have to self-compile Qt anyway to get statically-linkable binaries on Mac OS X.

Thoughts?

Current Location: Liverpool, NY
Current Mood: curious

[info]ru_mysql
[info]jdevelop
Add to Memories
Tell a Friend
Привет!

С недавних пор случилась такая вот проблема с MySQL

log )После рекавери все продолжает работать некоторое время, потом опять падает. В чем может быть проблема и как её чинить? Гуглением нашел пачку багов в mysql 2003-х годов давности. Версия у меня 5.0.84-r1 на Gentoo, 64-бит.
budhaboy
[info]linux
[info]budhaboy
Add to Memories
Tell a Friend
Is there an easy way to track people who access files on an NFS share? I'd like to know who's accessed a file, and when. I'm hoping there's a way to get an http style usage log.
bad_machination
[info]linux
[info]bad_machination
Add to Memories
Tell a Friend
Suppose I have a bunch of a particular kind of file with scrambled names (ABCD.jpg CDBA.jpg BBCA.jpg, etc) all from www.website.com/foo/

Suppose then I would like to wget replacements for all of the files.
Who knows why? Maybe they're growing mold. Not the important part of the scenario.

Is it possible to make a bash script using grep to get the file names and insert them into a wget command? I am not very familiar with bash or grep, so assuming this scenario is possible how might one do it?

Thanks.
-bmach
budhaboy
[info]linux
[info]budhaboy
Add to Memories
Tell a Friend
I've got a box running Hardy Heron I've been using as a file server. It's been acting a little flaky lately, and today for some peculiar reason when it reboots the machine seems to just die. I can log in remotely, the shares still work, I just can't access the box locally.

When it does boot, just before the orange line gets to the end (on the splash screen) there's a peculiar system beep (i.e. not through the audio port), then nothing.

I've tried restarting in recovery mode, and there don't appear to be any obvious problems... until you get to the login screen, and the video gets wonky and it appears to hang.

I've tried booting from the live CD, but the options on what to repair aren't obvious... I strongly suspect a boot drive is failing, but what do I know?

I'd like to keep all the configurations as I've got a rather large OS RAID I'd hate to reconfigure, as well as the server settings. Is there an easy way to back up the relevant boot drive settings remotely, replace the boot drive, and install a more recent version of ubuntu (while still retaining the settings)?
zenten
[info]linux
[info]zenten
Add to Memories
Tell a Friend
So I just updated my Ubuntu install to 9.10 and sound seems to not work in any of my video players (yes, I checked the sound levels both in the programs and with the alsa mixer). I tried installing ubuntu-restricted-extras but all that did was turn all my videos blue.

I tried also opening several mp3s in each of those programs and the sound does not play as well. However madplay can play those mp3s just fine. I also tried with a .ogg, the video players won't play it either.

When I view the mp3 in totem with visualizations on it does seem to be basing them on the music, instead of just sitting there flat like it does with dead air.

I tried running each program from the command line, but I didn't get any sound related errors. I can post the output if anyone thinks it would be useful.

Any ideas? I tried searching through the forums for something related, but nothing popped up.

EDIT: The issue was pulseaudio. Rather than trying to figure out what was wrong with it I just bypassed it and use ALSA now. Since I don't use any of the advanced stuff that pulseaudio does that should meet my needs.
profile
danieljdoughty
Name: danieljdoughty
calendar
Back June 2007
12
3456789
10111213141516
17181920212223
24252627282930
page summary
tags

Advertisement

Customize