Re: /etc/fstab - mutiple filesystem types?


Subject: Re: /etc/fstab - mutiple filesystem types?
bryan@ak.net
Date: Sat Apr 06 2002 - 20:24:53 AKST


Mac Mason wrote in <1018156179.801.1.camel@switchblade>:
>
>
> Is it possible to tell /etc/fstab to have more than one filesystem type
> for a device?
> This is for my dvd-rom drive, which gets as much use as a cd-rom as a
> dvd-rom. I can tell it iso9660, for cds - easy enough. udf, for dvds,
> just fine. "auto" makes mounting really bizzare - takes at least two
> tries.
> Can I specify both kinds, perhaps seperated by commas?

This can indeed be done. I've been using this trick ever since
Ramon Gandia (I believe) posted it on this list. The trick is
to use two entries with different mount points. For example:

/dev/hdc /mnt/cdrom iso9660
/dev/hdc /mnt/dvd udf

Then you may "mount /mnt/cdrom" or "mount /mnt/dvd" depending on
which you want. You're right that 'auto' makes things weird.
It's generally not used for removable media. Although if you want
the system to try to mount a cd on bootup, you could make that
one 'auto' and the other 'noauto'.

--
Bryan Medsker
bryan@ak.net

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Sat Apr 06 2002 - 20:28:07 AKST