Re: Which disk comes first?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2003-06-04 at 19:59, Jeffrey W Comer wrote:
> I guess I should have written that the file systems on the other end of the 
> firewire and USB are both vfat, so the label= method will not work.  (Unless 
> one can label vfat or use some other identifier in a FAT file system?)

Now I'm no expert on this, but I think that the label is written into
the partition table, as opposed to the partition itself, so I think it
is file system independent, but I may be wrong about that.

> I played around with updfstab and could not get anything to happen there.  The 
> format of the updfstab.conf file is pretty simple.  (Actually it should be in 
> /etc/updfstab.conf.default).  On a hunch, I coded the following stanza -
> 
> device fireext {
>     partition 1
>     match   hd "sda5"
>     symlink true
> }
> 
> And in /etc/fstab I had - 
> 
> /mnt/fireext /u0 vfat rw,umask=0000,auto,kudzu

I think the "match" line might be wrong there - I think it is looking
for the Vendor/Model identifier strings. It would be nice if someone who
actually knew how this worked could fill us in a bit! (BTW, I think that
/etc/updfstab.conf.default is for stuff supplied with the RPM package,
and /etc/updfstab.conf is for reading in that file and adding your own
local recipes.)

> As to your question regarding hot-disconnecting Firewire devices, the only 
> answer I can give is that I don't do it.  I always power down into suspend or 
> off before removing the card, a PCMCIA card.  In any case, I don't think 
> updfstab will run when you hot-connect the device; you may have to run it by 
> hand.

Yeah, I've never tried it either 'cos I'm too chicken unless someone
tells me the proper way to do it, but I'd like to be able to. I know I
can plug and unplug my USB mouse as often as I feel like it, and the
system recognises what's going on.

> And funny you should ask about kernel 18.9.  I just up2date'd it today and ran 
> into some problems with an NTFS file system - yea, I am kind of a nut when it 
> comes to file systems and disks! - so I backed off temporarily and am running 
> 13.9.  I did notice once or twice that the system locked up writing large 
> amounts of data (>10GB) to the Firewire, but it hasn't happened since.  

Well 18.9 won't even recognise my FireWire disk, so you seem to be
having at least a little more luck with it than I am.

> I am thinking now I will just have to cook up something to run in the rc 
> scripts that will test for and mount filesystems at /u0 and /u1.  I sure 
> would like something a bit more elegant though.  

I'm convinced that some combo of kudzu/updfstab/hotplug are the way to
go with this kind of thing - I just wish someone at Red Hat would give
us some guidance and then we could come up with the actual solutions,
send them back to the developers and they could include them in the next
release. I have posted a bug about updfstab/kudzu not automatically
setting up FireWire drives, lets hope we get some response:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=92000

Best, Darren

-- 
=====================================================================
D. D. Brierton            darren@xxxxxxxxxxx          www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
=====================================================================




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux