On Mon, 2005-05-30 at 09:36 -0700, Mark Knecht wrote:
> On 5/30/05, Ow Mun Heng <[EMAIL PROTECTED]> wrote:
> > On Sun, 2005-05-29 at 17:39 -0700, Mark Knecht wrote:
> 
> > >
> > > This is, unfortunately, a very bad idea for removable media. What was
> > > sdb2 today will become sdc2 tomorrow and the suggestion you make will
> > > not work.
> > 
> > 
> > Actually, isn't it a simple thing such that one can write udev rules
> > such that that disk will always be referred as TVstorage no matter if
> > it's sda/sdb/sdc/etc?? It can use for example, the DISK's or partitions
> > ID/Number etc.
> 
> Well, simple for you maybe. Not so simple for me. ;-)

Well. It's simple to talk right :-) (which is what I'm doing)

> > 
> > Ps : Is /dev/sdb2 a removable disk? if so, perhaps gnome-volume-manager
> > can help (along with gamin/inotify/hal/dbus)
> 
> Yes, sdb is an external 1394 hard drive. Practically it's not going to
> be removed since it's being used for MythTV data storage. However when
> I add another 1394 drive it may be recognized as sdb or sdc so
> mounting my device name (/dev/sdX#) doesn't work. I also have to deal
> with the case where maybe the drive gets turned off and then power
> applied after the machine is up and booted.

I guess here would be where writing udev rules would be good.

Perhaps you can also try reading DSD's udev rules writing guide? (I
didn't have a use for it (yet) so I'm only going the simple path) :-)

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 11:26:42 up 13:28, 8 users, load average: 0.28, 0.45, 0.30 


-- 
gentoo-user@gentoo.org mailing list

Reply via email to