DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 28th March 2009
diw's Avatar
diw diw is offline
Port Guard
 
Join Date: Jul 2008
Posts: 45
Thanked 2 Times in 2 Posts
Default Embedded.

Hiya.

I have a bunch of questions about OpenBSD on embedded.
At the moment one specific question.

I am using CF and am interested in getting the card read only for obvious reasons.
Apparently it's as simple as editing my fstab. :]

Here is my fstab:
Code:
# cat /etc/fstab
/dev/wd0a / ffs ro 1 1
swap /tmp mfs rw,nosuid,-P=/tmplate,-s=65536 0 0
As far as I understand that's all I need to do.
Not being familiar with this I rebooted to test. :]
I tried this:
Code:
# mount -v
/dev/wd0a on / type ffs (rw, local, ctime=Thu Aug 14 17:39:12 2008)
mfs:12843 on /tmp type mfs (rw, asynchronous, local, nosuid, ctime=Thu Aug 14 17
:39:09 2008, size=65536 512-blocks)
As you can see it looks read write.
To be sure I tried to make a file in /.
Sure enough it works.
Any thoughts?

Best wishes.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A name for an embedded FreeBSD-based OS nimnod Off-Topic 15 16th March 2009 03:06 PM


All times are GMT. The time now is 12:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick