Recent Journal Comments
Below are the most recent comments to the journal entries on tummy.com's website. This page is also available as an RSS feed, simply feed this URL to your RSS new reader.
Date: Yesterday, 10:21
In Reply To: hotplug, udev and hal, oh my! by Kevin Fenzi
Subject: Re: hotplug, udev and hal, oh my!
Author:
Kevin Fenzi
> I guess this is a enhacemnt of your script and it might even be pretty cool to do. > Probably using python or something similar. > But what if the pictures not just get downloaded to my HD > but also uploaded to my website. > >I currently have a Gallery web-app. Is this possible?Possibly. I use the 'digikam' application to do that. It has a gallery export.
>Subject: ipod touch >I presume that udev was already set up to recognise the camera in >this case and you'd set up something in mtab to map a path to the camera device? > >If I want to do something similar with an ipod touch, > i think what I need to do is first set up udev to recognise > the ipod and create a /dev/ipod link. Then, set up a mapping > that will mount /media/ipod to /dev/ipod and have an ipod > hotplug script perform the mounting/unmounting. > >Does that sound about right?It would be on a system using hotplug... see below tho.
>Following your description i wanted to trigger a particular reaction > when i insert a memory stick. > >However, i have no directory /etc/hotplug on my fedora 8 machine, > even though 'locate hotplug' shows lots of kernel modules like for > instance /lib/modules/2.6.25.11-60.fc8/kernel/drivers/pci/hotplug/acpiphp.ko > >Do i have to do some sort of installation or configuration to get it running?This article is from 2004, when Fedora still used hotplug. ;) So, it's out of date and no longer usefull for modern installs. Pretty much every now is done with udev itself. See articles like: http://ubuntuforums.org/showthread.php?t=502864 for more info. kevin
(go to entry which this is a comment to)
Date: Thursday September 04, at 03:48
In Reply To: hotplug, udev and hal, oh my! by Kevin Fenzi
Subject: Fedora problem
Author:
jody
Hi
Following your description i wanted to
trigger a particular reaction when i insert a memory stick.
However, i have no directory /etc/hotplug on my fedora 8 machine,
even though 'locate hotplug' shows lots of
kernel modules like for instance
/lib/modules/2.6.25.11-60.fc8/kernel/drivers/pci/hotplug/acpiphp.ko
Do i have to do some sort of installation or configuration to get it running?
Thank You
Jody
(go to entry which this is a comment to)
Jody
(go to entry which this is a comment to)
Date: Monday August 25, at 23:32
In Reply To: hotplug, udev and hal, oh my! by Kevin Fenzi
Subject: ipod touch
Author:
dominic
I presume that udev was already set up to recognise the camera in this case and you'd set up something in mtab to map a path to the camera device?
If I want to do something similar with an ipod touch, i think what I need to do is first set up udev to recognise the ipod and create a /dev/ipod link. Then, set up a mapping that will mount /media/ipod to /dev/ipod and have an ipod hotplug script perform the mounting/unmounting.
Does that sound about right?
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Sunday August 17, at 20:17
In Reply To: A month of ZFS under Linux by Sean Reifschneider
Subject: I am typing it 15 times...
Author:
Sean Reifschneider
I am typing my passphrase 15 times. It's not like I'm rebooting very frequently, so it's not a big deal... However, the cryptsetup command can take the key via the --key-file option. Obviously, if you are saving the key on your disc, you'd better make sure that disc is encrypted. So, you could reasonably have the key-file saved to your encrypted root, and use that to automate the boot process. I just haven't felt the need yet.
Sean
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Sunday August 17, at 13:19
In Reply To: A month of ZFS under Linux by Sean Reifschneider
Subject: Encrypted ZFS?
Author:
Larry Hastings
I'm following in your footsteps and installing my machine using the Ubuntu alternate installer so I can have an encrypted root partition. But how did you create your encrypted ZFS RAIDZ2? If I use the Ubuntu alternate installer to create all the ZFS partitions as encrypted partitions, I have to type in a password for each one. It boggles my mind to consider having to type in fifteen passwords each time I reboot.
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Thursday August 14, at 14:54
In Reply To: A month of ZFS under Linux by Sean Reifschneider
Subject: Open Solaris versus Linux ZFS stability.
Author:
Sean Reifschneider
It's really hard to say about the reliability of ZFS under OpenSolaris
versus Linux. I have much more experience with it under Nexenta, the
OpenSolaris distro I use, than under Linux. But I wouldn't really call the
OpenSolaris side stable. I've had a lot of problems with it. It's
certainly not been as stable as ext3 under Linux, for example.
On the other hand, while my storage server has been really stable
under Linux+FUSE+ZFS, the other server I was trying to set up totally fell
over and lost all the data on the ZFS. That's never happened under
OpenSolaris.
So, I don't have a lot of data, but it seems like the average case is
better under Linux, but the worst case is much worse.
Sean
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Thursday August 14, at 14:12
In Reply To: A month of ZFS under Linux by Sean Reifschneider
Subject: ZFS on OpenSolaris versus Linux
Author:
Steve Webb
Hey. So, I'm venturing into ZFS for the first time now and I've settled on using ZFS on OpenSolaris instead of using it on top of Linux purely for the warm/fuzzy feeling that running a Sun-made FS on OpenSolaris would be more stable than the Linux version of it.
So-far, it's nice and easy to administer and I'm testing it to see if the performance is same/better/worse than ReiserFS on Linux for the "lots of small files" case. I'll chime-in when I have more benchmark info.
Q: Any comments on stability of ZFS on linux versus OpenSolaris Sean?
- Steve
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Tuesday August 12, at 12:18
In Reply To: My Desktop Habits by Sean Reifschneider
Subject: vimperator
Author:
Sean Reifschneider
I have been playing around with vimperator for a few days. I'm still finding it is getting in the way a lot, the biggest thing is that opening a new tab doesn't put the focus in the URL bar (which I have chosen to show), so I have to open a new tab and then do Control-V Control-L to get there. I thought about trying to set up a macro, but didn't seem to work.
It's an interesting idea, but I'm still not sure if it makes my common use of Firefox any better.
Plus, the other down-side is that if I switch to other browsers, which I sometimes do, they are now even further from the set of commands I'm using.
Sean
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Tuesday August 12, at 07:41
In Reply To: My Desktop Habits by Sean Reifschneider
Subject: Vimperator
Author:
Thouters
I was wondering if you have discovered the Vimperator Firefox addon.
It brings Vim goodness to Firefox, It's well worth to take a look at.
Happy hacking,
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Monday August 11, at 11:21
In Reply To: A month of ZFS under Linux by Sean Reifschneider
Subject: I'd like to hear more
Author:
Steve Webb
I'm looking at running a ZFS filesystem based on a large number of drives all software-raided using ZFS on top and would like to hear more about your ZFS experiences.
- Steve
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Monday August 11, at 11:17
In Reply To: "Book" mode editing of code in vim. by Sean Reifschneider
Subject: Now I'm confused
Author:
Steve Webb
I'm a huge VIM user and I love using different windows, but this is just tweaking with my head. I don't like that scrolling/searching for something in one window also scrolls the other windows, but I can see what you're talking about about having more lines visible at the same time.
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Wednesday August 06, at 12:10
In Reply To: SATA Port Multipliers Under Linux by Sean Reifschneider
Subject: SATA RAID
Author:
Sean Reifschneider
There are SATA RAID cards that are on par with what you'd get in the SCSI world. They are what you would consider "hardware RAID" (though, like most SCSI RAID cards, they are mostly a general-purpose CPU with a bunch of vendor provided software on them).
The card I'm talking about here is not such a card. My intended use was with ZFS, which implements better RAID than any hardware RAID solution, so I intentionally avoided any hardware RAID in this situation.
The hardware I am using has mostly been fine. The only issue I've had so far was that we had a brief power outage one day, and when that happened it seems that the SATA port multiplier freaked out and I lost access to a couple of the drives. A power-cycle resolved that, and another brief power outage did not impact it, so it must have been some sort of issue that made it past the UPS and into the controller.
Sean
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Wednesday August 06, at 08:59
In Reply To: SATA Port Multipliers Under Linux by Sean Reifschneider
Subject: reply-question
Author:
Leslie
hi..
ive not played with sata raid yet but have alot of scsi experience.
are the sata cards a software raid? or hardware? do you have to use the linux software raid or is it done invisibly through the hardware?
and how has your experience been with the hardware so far?
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Monday July 07, at 14:03
In Reply To: Putting it all together: The Ultimate Storage Box by Sean Reifschneider
Subject: There is now.
Author:
Sean Reifschneider
I've posted a picture of it at the top of the article now. It looks pretty much what you'd expect it to look like, given the pictures of the individual components. :-)
Sean
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Monday July 07, at 08:33
In Reply To: Putting it all together: The Ultimate Storage Box by Sean Reifschneider
Subject: Picture?
Author:
Steve Webb
Date: Sunday July 06, at 19:12
In Reply To: Impressions of Fedora 9 by Kevin Fenzi
Subject: dual displays and sessions
Author:
hugh
I like having dual displays and found that the current proprietary NVidia drivers don't work well for Fedora 9 (the system would lock up when starting to use the system after the screen saver had activated). After doing a lot of push-ups with the proprietary drivers I googled some more and found that I could get dual displays working with the 'nv' driver that came with F9! The place that started me on the road to getting things working was here:
http://fedoraforum.org/forum/showthread.php?t=192585
There are lots of discussions about laptop displays (which I didn't follow because my setup is for a desktop).
Regarding the problem with sessions, I too like using FVWM and so was disappointed that the old solution using .Xclients is no longer supported. Some googling let me to learn about the need to install the
xorg-x11-xinit-session
package which I learned about here:
http://docs.fedoraproject.org/release-notes/f9/en_US/sn-Desktop.html
The only nit with this is that I have to remember to select the 'User script' session whenever I log in. If there's a better solution I'd love to learn about it.
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Sunday July 06, at 14:39
In Reply To: ZFS Under Linux: A User Report by Sean Reifschneider
Subject: Answers about the configuration...
Author:
Sean Reifschneider
The system is running 64-bit, primarily so that I could run virtualization in 64-bit if I decide I want to but also so that I could run the SMP F@H client on it (which requires 64-bit).
As far as the Silicon Image 3114 chipset, I initially started with those but had problems. That chipset only works with the non-RAID version of those boards, but all the boards I found had the RAID bit set. This may have been fixed since, but getting it working under OpenSolaris at the time required re-flashing the BIOS on the board, which I had no luck at. This is one of the benefits of running ZFS under Linux that I mentioned: Much more hardware support. If you want to have the option of running under OpenSolaris, you'll want to pick another board. My current system is not capable of running directly under OpenSolaris I'd expect.
As far as details about the setup, I plan to write up more on this soon. However, one of the cards I'm using is the one I wrote about a few days ago. Another is the Supermicro 8-port SATA PCI-X card. And finally I'm using 4 ports on the motherboard.
Sean
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Sunday July 06, at 09:17
In Reply To: ZFS Under Linux: A User Report by Sean Reifschneider
Subject: Hardware?
Author:
Ken Roberts
Hi Sean,
Thanks for such an informative post. I have long been interested in ZFS+Linux, and really appreciate a post from someone who has worked with it in production.
I may be building a big fileserver soon-- would you mind sharing details about your hardware (case, mobo, and sata cards)?
Thank you.
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Sunday July 06, at 06:52
In Reply To: ZFS Under Linux: A User Report by Sean Reifschneider
Subject: 32 bit or 64 bit?
Author:
doug
Just wondering whether your set-up is 32bit or 64bit? I've heard ZFS is less buggy in 64bit
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Sunday July 06, at 04:49
In Reply To: ZFS Under Linux: A User Report by Sean Reifschneider
Subject: Just in time!
Author:
Larry Hastings
Just last night I started ordering the parts for my new 10TB RAID. I was planning on going with OpenSolaris--solely so I could use ZFS RAIDZ2. I've been keeping an eye on ZFS-for-FUSE but didn't get the impression it was production ready. If I can run Linux, that's just fabulous news.
The Sun HCL listed a SATA card with a SI 3114 chipset; do those not work in your experience? 'Cause those are a dime a dozen.
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Saturday July 05, at 16:54
In Reply To: ZFS Under Linux: A User Report by Sean Reifschneider
Subject: Very promising
Author:
Daniel Webb
Wow, this sounds very promising. Normally I wouldn't even consider being an early adopter of a filesystem, but in this case, ZFS is so much better than other filesystems with respect to integrity/robustness that I am very tempted.
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Saturday July 05, at 09:32
In Reply To: Why I Like ZFS. by Sean Reifschneider
Subject: How?
Author:
Daniel Webb
Are you using the FUSE version of ZFS on Linux or are you using Solaris?
I have been pining for ZFS since I first heard about it. I did some research for a while into what would be required to make truly robust backups for current filesystems, and it is not pretty. ZFS does nearly everything the right way, but I'm very hesistant to use a beta-release of something as important as a filesystem!
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Saturday June 28, at 15:26
In Reply To: Hiding crypto file-systems. by Sean Reifschneider
Subject: Sounds like StegFS
Author:
Daniel Webb
StegFS sounds like what you are looking for. It is the only thing I have heard of for Linux that would work against a determined adversary. Too bad it is abandoned and doesn't work for modern kernels.
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Thursday June 26, at 03:26
In Reply To: Hiding crypto file-systems. by Sean Reifschneider
Subject: Truecrypt does not support hidden volumes on Linux/MacOS.
Author:
Sean Reifschneider
Note that TrueCrypt only supports "hidden volumes" on Windows, not on Linux or MacOS. Though support for this is listed as something they would like to do. Also note that TrueCrypt doesn't support encrypted boot partitions except on Windows, and even there it doesn't support "hidden volumes" on the boot partition.
Also note that, from what I can tell of TrueCrypt, the hidden volume support is fairly limited. First of all, you can only create a hidden volume in the contiguous free area at the end of the disc. So you have to make sure that the volume you are creating the hidden volume in has all the data moved to the front, and that just screams "hey, there's a hidden volume in here". Also, it sounds like there is no provision for mounting and aging the outer volume (because that would potentially create files in the hidden volume), so anyone looking at it would see that, hey, this was formatted and confidential looking files placed on it, but hasn't been mounted in 8 months. But I see the system is booted every day...
You're also limited in the file-system types you can put on the outer volume, of course. It needs to be something that can be defragmented to all be at the front of the disc. ext3 with it's cylinder groups and lack of defrag would severely limit the size of the contiguous free space at the end of the disc.
The concern I have about partial encryption on a system is that it may result in information being leaked. For example, information stored in a database, or if updatedb runs and is not configured to ignore the encrypted partitions, an attacker now has a list of the file names and locations. "What is this "HowToCheatTheIRS" file?" "Oh, it's a joke my buddy sent me." "Uh huh. And why did you put it on your encrypted partition?"
I ran with just my /home partition encrypted for a while, and tried to put things like the updatedb and my PostgreSQL databases (which store confidential company information) on it, but it was just too hard to say for sure that nothing was getting leaked. That's why I went to a "everything but /boot is encrypted" model.
So, yes, TrueCrypt is cool and has some limited features along these lines, you don't get the same benefits as combining the crypto with the file-system. And while neither my mechanism nor TrueCrypt hidden volumes are available on Linux yet, it seems likely that TrueCrypt will be available before mine is. :-)
Note that there are several other crypto systems available that also support similar "hidden volumes". See the Wikipedia article on Steganography for links to more options.
Sean
(go to entry which this is a comment to)
(go to entry which this is a comment to)
Date: Wednesday June 25, at 19:26
In Reply To: Hiding crypto file-systems. by Sean Reifschneider
Subject: try truecrypt
Author:
Steve Webb
try truecrypt. Can do a hidden partition inside your first partition, so if asked for your passwd, it'll just open up your first partition and there's 'plausible denyability' as to the existance of the second. truecrypt is available for all platforms and is free.
(go to entry which this is a comment to)
(go to entry which this is a comment to)