You can set that option in your /etc/fstab
it will be something like:
/dev/#### /mnt ext2 user,ro,noauto 0 0
where:
#### is your block device.PARPORT
/mnt the mountpoint
ext2 is the filesystem(can also be another filesystem of course
user indicates all memebers of group user can mount it
ro stands for read-only
noauto means no automatic mount on startup
1st "0" means no dump
2nd "0" means no fschk
type "man fstab" for details.
bye,
azarja
Greg Fundyler wrote:
> Hi. When I do a normal mount on a read-only cartridge in my Shark drive,
> it mounts as writable. While mounted, my computer delays for a while.
> And when I browse the disk, it gives errors and locks the drive. I can't
> eject or unmount. But when I use the -r switch, it works correctly. Is
> there a way to make it automatically mount it read-only when necessary,
> so I won't have problems like this. My floppy drive does that. When I
> mount a read-only floppy, it gives the following message:
>
> mount: block device /dev/fd0 is write-protected, mounting read-only
>
> ... and works correctly. Is this a bug in PARIDE, or is it just not
> implemented yet?
>
> Unrelated question, completely off-topic: What makes 'Red Hat 7.0 Beta'
> a beta? Does it use the 2.4 test kernel? If not, then it isn't really a
> beta. Most programs installed in 6.2 by default are beta, does that make
> 'Red Hat 6.2' a beta?
>
> Thanks.
>
> - Greg
>
> -- To unsubscribe, send mail to: linux-parport-request@torque.net --
> -- with the single word "unsubscribe" in the body of the message. --
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Wed Sep 06 2000 - 03:20:40 EDT