For those who enter this thread late, I'm continuing to learn Linux in
general, and the nuances of Fedora Core 3 (planning to upgrade to
Fedora 7 real soon now)...

>The fstab entry for my CDROM reads:
> 
> /dev/hdc /media/cdrom auto
> pamconsole,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
> 
> So, [in order to mount the zip100 drive] I copied and pasted the
line, then modified to it read:
> 
> /dev/sda4 /media/zip100 <remainder unchanged>

***CORRECTION*** remove the 'managed' parameter from the copied CDROM
spec!!!  Explanation below.
 
> My ZIP drive is jumpered to read as device 4.  After creating
> /media/zip100, I mounted it from a term window. 

*CAUTION* the solution I've arrived at doesn't seem to be a complete
one.  I ran into a problem where my specified mountpoint kept GETTING
DELETED every time I ejected the volume.

With a little digging, I found I running afoul of fstab-sync, a daemon
that modifies fstab in response to Hardware Abstract Level events. 
fstab-sync SANITIZES fstab of anything that it inserts, or THINKS it
inserts.  According to the man on fstab-sync, the 'managed' parameter
of fscontext= is a flag specifically for the daemon, and shouldn't be
added manually.  Removing that parameter solved the "disappearing
mountpoint" problem.

So now, I can boot up and log in with no disk in the zipdrive, it will
automount when I insert a disk volume (either msdos or ext2 format).

I still get an error message when I Eject the volume from the GUI, the
system complains that it can't find /dev/sda4.   Well, naturally, it
just unmounted it!  The eject button works once the volume is
unmounted.  In fact, if I press the button immediately before I issue
the Eject command, it DOES eject, as soon as it unmounts.   Not
pretty, but I can live with that.




To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to