'fstab' tip

phule

Registered
The latest edition of the Linux Journal Weekly News <see "Free
Newsletter" link featured on the main page of
http://linuxjournal.com/> has the following tip. I don't know if this
applies to MacOS X PB or not.


Tech Tip of the Week

You can spare yourself unnecessary "fscks" by mounting your /usr
partition as read-only. Mounting a partition read/write counts toward
the mount count for fsck but mounting it read-only doesn't. Also, if
for some reason your system gets shut down improperly, any partitions
mounted read-only won't get fscked when you reboot.

To do this, just edit /etc/fstab and put "ro" in the options field in
the line for /usr, like this:

/dev/hda7 /usr ext2 ro 0 2

The options you can use here are the same as in the -o option to the
mount command. See man mount.

So what happens when you need to install software on /usr? Just do

mount -o remount,rw /usr

to remount /usr as read/write without unmounting it. To make /usr
read-only again when you're done,

mount -o remount,ro /usr

Another useful option to put in /etc/fstab is "noatime", which
prevents access times from being updated when files on that partition
are read. Webmasters of busy servers use noatime on the partition
where their document root lives to get better performance.

 
Generally speaking any Linux tips do not apply. In OS X the fstab is merely for display. It's not a configuration file.
 
Originally posted by strobe

Generally speaking any Linux tips do not apply. In OS X the fstab is merely for display. It's not a configuration file.

Thanks for setting me straight on any Linux tips. I don't have a copy of MacOS PB to "play with" as I refuse to pay for Beta software. And the MSRP for MacOS X when it's finally released is rediculously expensive too. I think Apple is structuring its' MacOS prices after the way Mickey-Soft does Winblows. Both Linux and *BSD are looking better all the time.
 
I think Apple is structuring its' MacOS prices after the way Mickey-Soft does Winblows. Both Linux and *BSD are looking better all the time.

You're joking, aren't you? Windows (Blow) Me is $109... for upgrade pricing. $209 from scratch. You could argue that everybody is upgrading, or at least a high enough percentage that the average price is better than $130, but then you could also argue that ME is a piece of crap not worthy of being mentioned in the same sentence as OS X, and you should actually compare pricing with Win2K, at $219/$319 (or $149 if you're upgrading from NT 3.5 or 4.0).

Perhaps I speak too swiftly, though--if you mean that they are taking the business model of MS (charge for things) instead of that of the GNU Project (don't charge for things), you are inarguably correct...
 
Let's not forget what they charge for tech support.

I was expecting OS X to cost a lot more.
 
Back
Top