LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2015, 09:47 AM   #1
anandg111
Member
 
Registered: Jan 2012
Posts: 56

Rep: Reputation: Disabled
How to mount a partition in read-only mode.


How to mount a partition in read-only mode. What will be the fstab entry?
 
Old 08-06-2015, 10:26 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,609

Rep: Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702Reputation: 702
Code:
man mount
       ro     Mount the filesystem read-only.
 
Old 08-06-2015, 10:37 AM   #3
auge
Member
 
Registered: May 2002
Location: Germany
Distribution: CentOS, Fedora, LFS
Posts: 35

Rep: Reputation: Disabled
Quote:
# Device Mountpoint FStype Options Dump Pass#
/dev/ad4s2b none swap sw 0 0
/dev/ad4s2a / ufs rw 1 1
/dev/ad4s2d /static ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
^^^ enough example?
 
1 members found this post helpful.
Old 08-06-2015, 12:52 PM   #4
anandg111
Member
 
Registered: Jan 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
thanks @auge
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why does my usb drive mount read only mode unix1adm Ubuntu 10 11-30-2013 04:35 PM
[SOLVED] partition in Read only mode amartlk Linux - Newbie 6 12-17-2011 05:12 AM
How to mount NTFS in read/write mode in SuSE Enterprise 11 kushanxp Linux - Newbie 12 12-17-2009 10:56 PM
How to mount NTFS in read/write mode in SuSE Enterprise 11 kushanxp Linux - Enterprise 1 12-17-2009 04:56 AM
Can't mount NTFS in read-write mode Tyco Linux - Hardware 4 06-08-2003 12:52 PM


All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration